CVE-2024-43871
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 4.14.353-270.569.amzn2 |
| kernel-headers | Amazon Linux | 4.14.353-270.569.amzn2 |
| kernel-libbpf-static | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-livepatch-4.14.353-270.569 | Amazon Linux | 1.0-0.amzn2 |
| python-perf | Amazon Linux | 4.14.353-270.569.amzn2 |
| kernel-libbpf | Amazon Linux | 6.1.106-116.188.amzn2023 |
| perf | Amazon Linux | 4.14.353-270.569.amzn2 |
| linux_kernel | linux | 6.10.3, 6.6.44, 6.1.103, 5.15.165, 5.10.224, 5.4.282, 4.19.320 |
| Linux | Linux | bd50a974097bb82d52a458bd3ee39fb723129a0c, b67552d7c61f52f1271031adfa7834545ae99701, b044588a16a978cd891cb3d665dd7ae06850d5bf, 95065edb8ebb27771d5f1e898eef6ab43dc6c87c |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ff86aae3b4112b85d2231c23bccbc49589df1c06, ff86aae3b4112b85d2231c23bccbc49589df1c06, ff86aae3b4112b85d2231c23bccbc49589df1c06 |
| Linux | Linux | 4.10, 0, 4.19.320 |
| amazon:2 | kernel | 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2 | kernel-livepatch-4.14.353-270.569 | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| amazon:2 | perf | 0 |
| Linux | Linux | *, *, * |
| amazon:2023 | kernel-headers | 0 |
| linux | linux_kernel | 4.10, 4.10, 4.10 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-devel | 0 |
…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
References
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html url
- https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html url
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html url
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html url