# CVE-2024-43871: devres: Fix memory leakage caused by driver API devm_free_percpu()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-02)
- Published: 2024-08-21T00:06:22.964Z
- Modified: 2026-10-15T01:18:48.340Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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().

(As written by CVE List.)

## Affected

- Linux Linux: from ff86aae3b4112b85d2231c23bccbc49589df1c06 before 700e8abd65b10792b2f179ce4e858f2ca2880f85; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before b044588a16a978cd891cb3d665dd7ae06850d5bf; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before ef56dcdca8f2a53abc3a83d388b8336447533d85; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before 3047f99caec240a88ccd06197af2868da1af6a96; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before 3dcd0673e47664bc6c719ad47dadac6d55d5950d; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before b67552d7c61f52f1271031adfa7834545ae99701; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before 95065edb8ebb27771d5f1e898eef6ab43dc6c87c; from ff86aae3b4112b85d2231c23bccbc49589df1c06 before bd50a974097bb82d52a458bd3ee39fb723129a0c; 4.10 (not affected: before 4.10; from 4.19.320 up to 4.19.*; from 5.4.282 up to 5.4.*; from 5.10.224 up to 5.10.*; from 5.15.165 up to 5.15.*; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux linux_kernel: from 4.10 before 4.19.320; from 4.20 before 5.4.282; from 5.5 before 5.10.224; from 5.11 before 5.15.165; from 5.16 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3

## References

- <https://git.kernel.org/stable/c/700e8abd65b10792b2f179ce4e858f2ca2880f85> (patch)
- <https://git.kernel.org/stable/c/b044588a16a978cd891cb3d665dd7ae06850d5bf> (patch)
- <https://git.kernel.org/stable/c/ef56dcdca8f2a53abc3a83d388b8336447533d85> (patch)
- <https://git.kernel.org/stable/c/3047f99caec240a88ccd06197af2868da1af6a96> (patch)
- <https://git.kernel.org/stable/c/3dcd0673e47664bc6c719ad47dadac6d55d5950d> (patch)
- <https://git.kernel.org/stable/c/b67552d7c61f52f1271031adfa7834545ae99701> (patch)
- <https://git.kernel.org/stable/c/95065edb8ebb27771d5f1e898eef6ab43dc6c87c> (patch)
- <https://git.kernel.org/stable/c/bd50a974097bb82d52a458bd3ee39fb723129a0c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-43871](https://www.cve.org/CVERecord?id=CVE-2024-43871), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-43871](https://nvd.nist.gov/vuln/detail/CVE-2024-43871), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-43871 · Whole record: https://cve.day/CVE-2024-43871.json · Rebuilt by cve.day 2026-11-25T22:58:44.607Z
