1. Accueil
  2. Vulnérabilités
  3. CVE-2026-46196

CVE-2026-46196

tracepoint: balance regfunc() on func_add() failure in tracepoint_add_func()

Publiée le 28 mai 2026 · modifiée le 6 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 23/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: tracepoint: balance regfunc() on func_add() failure in tracepoint_add_func() When a tracepoint goes through the 0 -> 1 transition, tracepoint_add_func() invokes the subsystem's ext->regfunc() before attempting to install the new probe via func_add(). If func_add() then fails (for example, when allocate_probes() cannot allocate a new probe array under memory pressure and returns -ENOMEM), the function returns the error without calling the matching ext->unregfunc(), leaving the side effects of regfunc() behind with no installed probe to justify them. For syscall tracepoints this is particularly unpleasant: syscall_regfunc() bumps sys_tracepoint_refcount and sets SYSCALL_TRACEPOINT on every task. After a leaked failure, the refcount is stuck at a non-zero value with no consumer, and every task continues paying the syscall trace entry/exit overhead until reboot. Other subsystems providing regfunc()/unregfunc() pairs exhibit similarly scoped persistent state. Mirror the existing 1 -> 0 cleanup and call ext->unregfunc() in the func_add() error path, gated on the same condition used there so the unwind is symmetric with the registration.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (5 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 4.10 — CNA (éditeur ou attributeur)
Linux kernel de 4.10 (inclus) à 6.6.140 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.12.88 (exclu) — NVD
Linux kernel de 6.13 (inclus) à 6.18.30 (exclu) — NVD
Linux kernel de 6.19 (inclus) à 7.0.7 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1298)
  4. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
  5. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1335)
  6. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1372)
  7. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
  8. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
  9. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données