# CVE-2024-53165: sh: intc: Fix use-after-free bug in register_intc_controller()

- Severity: High 7.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-12-27T13:49:11.401Z
- Modified: 2026-10-15T01:19:14.897Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before 3c7c806b3eafd94ae0f77305a174d63b69ec187c; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before 971b4893457788e0e123ea552f0bb126a5300e61; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before c3f4f4547fb291982f5ef56c048277c4d5ccc4e4; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before c43df7dae28fb9fce96ef088250c1e3c3a77c527; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before b8b84dcdf3ab1d414304819f824b10efba64132c; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before 6ba6e19912570b2ad68298be0be1dc779014a303; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before 588bdec1ff8b81517dbae0ae51c9df52c0b952d3; from 2dcec7a988a1895540460a0bf5603bab63d5a3ed before 63e72e551942642c48456a4134975136cdcb9b3c; 2.6.30 (not affected: before 2.6.30; from 4.19.325 up to 4.19.*; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 2.6.30 before 4.19.325; from 4.20 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- Linux: CVSS:3.1 7.4 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/3c7c806b3eafd94ae0f77305a174d63b69ec187c> (patch)
- <https://git.kernel.org/stable/c/d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc> (patch)
- <https://git.kernel.org/stable/c/971b4893457788e0e123ea552f0bb126a5300e61> (patch)
- <https://git.kernel.org/stable/c/c3f4f4547fb291982f5ef56c048277c4d5ccc4e4> (patch)
- <https://git.kernel.org/stable/c/c43df7dae28fb9fce96ef088250c1e3c3a77c527> (patch)
- <https://git.kernel.org/stable/c/b8b84dcdf3ab1d414304819f824b10efba64132c> (patch)
- <https://git.kernel.org/stable/c/6ba6e19912570b2ad68298be0be1dc779014a303> (patch)
- <https://git.kernel.org/stable/c/588bdec1ff8b81517dbae0ae51c9df52c0b952d3> (patch)
- <https://git.kernel.org/stable/c/63e72e551942642c48456a4134975136cdcb9b3c> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

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

---

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