CVE-2024-26993
fs: sysfs: Fix reference leak in sysfs_break_active_protection()
Reported by linux · Published May 1, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf | Amazon Linux | 4.14.348-265.562.amzn2 |
| kernel-tools-devel | Amazon Linux | 6.1.90-99.173.amzn2023, 4.14.348-265.562.amzn2 |
| kernel-libbpf-devel | Amazon Linux | 6.1.90-99.173.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.90-99.173.amzn2023 |
| python3-perf | Amazon Linux | 6.1.90-99.173.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2afc9166f79b8f6da5f347f48515215ceee4ae37, 2afc9166f79b8f6da5f347f48515215ceee4ae37, 2afc9166f79b8f6da5f347f48515215ceee4ae37 |
| Linux | Linux | 4.19, 0, 4.19.313 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| linux | linux_kernel | 4.14.68, 4.9.125, 4.18.6 |
| Linux | Linux | 4.18.6, 8a5e02a0f46ea33ed19e48e096a8e8d28e73d10a, 807d1d299a04e9ad9a9dac55419c1137a105254b |
| amazon:2023 | perf | 0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-livepatch-6.1.90-99.173 | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2 | kernel-livepatch-4.14.348-265.562 | 0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
…and 10 more
Timeline
- May 1, 2024 EPSS Score (30 in total, the first dated here)
- May 1, 2024 CVE Published
- Oct 4, 2024 Coalition ESS Score (12 in total, the first dated here)
- Jan 15, 2026 Security Advisory (319 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (281 in total, the first dated here)
- Oct 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26993
vulnetix vdb fixes CVE-2024-26993
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26993/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html url
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/ url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/ url
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html url
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html url