Aller au contenu
Non notée

CVE-2024-26993 In the Linux kernel, the following vulnerability has been resolved: fs: sysfs: Fix reference leak in…

Description

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.

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.9 premières → < 6.9 6.9
Linux 6.8 premières → < 6.8.8 6.8.8
Linux 6.6 premières → < 6.6.29 6.6.29
Linux 6.1 premières → < 6.1.88 6.1.88
Linux 5.15 premières → < 5.15.157 5.15.157
Linux 5.10 premières → < 5.10.216 5.10.216
Linux 5.4 premières → < 5.4.275 5.4.275
Linux 4.19 4.19.313
RUGGEDCOM RST2428P 3.1 premières → < 3.1 3.1
Afficher les 3 autres branches
Produit Versions touchées Corrigé en
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions non publiées
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 premières → < 3.1 3.1
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE