CVE-2024-26993
Last modified
CVE-2024-26993 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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). EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.16.62, < 3.17 | — |
| Linux | Linux Kernel | >= 3.18.121, < 3.19 | — |
| Linux | Linux Kernel | >= 4.4.154, < 4.5 | — |
| Linux | Linux Kernel | >= 4.9.125, < 4.10 | — |
| Linux | Linux Kernel | >= 4.14.68, < 4.15 | — |
| Linux | Linux Kernel | >= 4.18.6, < 4.19 | — |
| Linux | Linux Kernel | >= 4.19, < 5.15.157 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.88 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.29 | — |
| Linux | Linux Kernel | >= 6.7, < 6.8.8 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
References
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-26993?
How severe is CVE-2024-26993?
How do I fix CVE-2024-26993?
Are you affected by CVE-2024-26993?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
