VDB

CVE-2024-26993

CVE-2024-26993 PUBLISHED

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.

PackageEcosystemFixed in
perfAmazon Linux4.14.348-265.562.amzn2
kernel-tools-develAmazon Linux6.1.90-99.173.amzn2023, 4.14.348-265.562.amzn2
kernel-libbpf-develAmazon Linux6.1.90-99.173.amzn2023
kernel-develAmazon Linux6.1.90-99.173.amzn2023
python3-perfAmazon Linux6.1.90-99.173.amzn2023

Affected products

VendorProductVersions
LinuxLinux2afc9166f79b8f6da5f347f48515215ceee4ae37, 2afc9166f79b8f6da5f347f48515215ceee4ae37, 2afc9166f79b8f6da5f347f48515215ceee4ae37
LinuxLinux4.19, 0, 4.19.313
amazon:2perf0
amazon:2kernel-tools-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023python3-perf0
linuxlinux_kernel4.14.68, 4.9.125, 4.18.6
LinuxLinux4.18.6, 8a5e02a0f46ea33ed19e48e096a8e8d28e73d10a, 807d1d299a04e9ad9a9dac55419c1137a105254b
amazon:2023perf0
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
amazon:2023kernel-headers0
amazon:2023kernel-livepatch-6.1.90-99.1730
amazon:2kernel-headers0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-tools0
amazon:2kernel-livepatch-4.14.348-265.5620
SiemensRUGGEDCOM RST2428P0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›