1. Accueil
  2. Vulnérabilités
  3. CVE-2024-26993

CVE-2024-26993

fs: sysfs: Fix reference leak in sysfs_break_active_protection()

Publiée le 1 mai 2024 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 27/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: fs: sysfs: Fix reference leak in sysfs_break_active_protection() The sysfs_break_active_protection() routine has an obvious reference leak in its error path. If the call to kernfs_find_and_get() fails then kn will be NULL, so the companion sysfs_unbreak_active_protection() routine won't get called (and would only cause an access violation by trying to dereference kn->parent if it was called). As a result, the reference to kobj acquired at the start of the function will never be released. Fix the leak by adding an explicit kobject_put() call when kn is NULL.

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

Produits et versions affectés

Linux (18 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 3.16.62 (inclus) à 3.17 (exclu) — CNA (éditeur ou attributeur)
Linux de 3.18.121 (inclus) à 3.19 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.4.154 (inclus) à 4.5 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.9.125 (inclus) à 4.10 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.14.68 (inclus) à 4.15 (exclu) — CNA (éditeur ou attributeur)
Linux de 4.18.6 (inclus) à 4.19 (exclu) — CNA (éditeur ou attributeur)
Linux 4.19 — CNA (éditeur ou attributeur)
Linux kernel de 3.16.62 (inclus) à 3.17 (exclu) — NVD
Linux kernel de 3.18.121 (inclus) à 3.19 (exclu) — NVD
Linux kernel de 4.4.154 (inclus) à 4.5 (exclu) — NVD
Linux kernel de 4.9.125 (inclus) à 4.10 (exclu) — NVD
Linux kernel de 4.14.68 (inclus) à 4.15 (exclu) — NVD
Linux kernel de 4.18.6 (inclus) à 4.19 (exclu) — NVD
Linux kernel de 4.19 (inclus) à 5.15.157 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.1.88 (exclu) — NVD
Linux kernel de 6.2 (inclus) à 6.6.29 (exclu) — NVD
Linux kernel de 6.7 (inclus) à 6.8.8 (exclu) — NVD
Linux kernel 6.9 — 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)

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-Other · Non classé

Comment sont obtenues et calculées ces données