VDB

CVE-2024-43871

CVE-2024-43871 PUBLISHED

devres: Fix memory leakage caused by driver API devm_free_percpu()

Reported by linux · Published August 21, 2024

In the Linux kernel, the following vulnerability has been resolved: devres: Fix memory leakage caused by driver API devm_free_percpu() It will cause memory leakage when use driver API devm_free_percpu() to free memory allocated by devm_alloc_percpu(), fixed by using devres_release() instead of devres_destroy() within devm_free_percpu().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux4.14.353-270.569.amzn2
kernel-headersAmazon Linux4.14.353-270.569.amzn2
kernel-libbpf-staticAmazon Linux6.1.106-116.188.amzn2023
kernel-livepatch-4.14.353-270.569Amazon Linux1.0-0.amzn2
python-perfAmazon Linux4.14.353-270.569.amzn2
kernel-libbpfAmazon Linux6.1.106-116.188.amzn2023
perfAmazon Linux4.14.353-270.569.amzn2
linux_kernellinux6.10.3, 6.6.44, 6.1.103, 5.15.165, 5.10.224, 5.4.282, 4.19.320
LinuxLinuxbd50a974097bb82d52a458bd3ee39fb723129a0c, b67552d7c61f52f1271031adfa7834545ae99701, b044588a16a978cd891cb3d665dd7ae06850d5bf, 95065edb8ebb27771d5f1e898eef6ab43dc6c87c

Affected products

VendorProductVersions
LinuxLinuxff86aae3b4112b85d2231c23bccbc49589df1c06, ff86aae3b4112b85d2231c23bccbc49589df1c06, ff86aae3b4112b85d2231c23bccbc49589df1c06
LinuxLinux4.10, 0, 4.19.320
amazon:2kernel0
amazon:2kernel-headers0
amazon:2023kernel-libbpf-static0
amazon:2kernel-livepatch-4.14.353-270.5690
amazon:2python-perf0
amazon:2023kernel-libbpf0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
amazon:2perf0
LinuxLinux*, *, *
amazon:2023kernel-headers0
linuxlinux_kernel4.10, 4.10, 4.10
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 family0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023bpftool0
amazon:2023kernel0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2kernel-tools-devel0
amazon:2kernel-devel0

…and 13 more

Timeline

  • Aug 20, 2024 CVE Published
  • Aug 21, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 5, 2026 Security Advisory (197 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (130 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-43871
vulnetix vdb fixes CVE-2024-43871

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-43871/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 ›