CVE-2024-26993

MEDIUM

Linux Kernel 3.16.62-3.17 - Reference Leak in sysfs_break_active_protection

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0027
EPSS Percentile 18.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (39)
linux/Kernel 4.19.0 - 4.19.313linux
linux/Kernel 4.20.0 - 5.4.275linux
linux/Kernel 5.11.0 - 5.15.157linux
linux/Kernel 5.16.0 - 6.1.88linux
linux/Kernel 5.5.0 - 5.10.216linux
linux/Kernel 6.2.0 - 6.6.29linux
linux/Kernel 6.7.0 - 6.8.8linux
Linux/Linux < 4.19
Linux/Linux 2afc9166f79b8f6da5f347f48515215ceee4ae37 - 43f00210cb257bcb0387e8caeb4b46375d67f30c
Linux/Linux 2afc9166f79b8f6da5f347f48515215ceee4ae37 - 57baab0f376bec8f54b0fe6beb8f77a57c228063
... and 29 more
Published May 01, 2024
Tracked Since Feb 18, 2026