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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-12-27T13:49:11.401Z
- **Modified:** 2026-10-15T01:19:14.897Z

## Who should check

- Anyone running Linux \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 3c7c806b3eafd94ae0f77305a174d63b69ec187c; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 971b4893457788e0e123ea552f0bb126a5300e61; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< c3f4f4547fb291982f5ef56c048277c4d5ccc4e4; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< c43df7dae28fb9fce96ef088250c1e3c3a77c527; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< b8b84dcdf3ab1d414304819f824b10efba64132c; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 6ba6e19912570b2ad68298be0be1dc779014a303; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 588bdec1ff8b81517dbae0ae51c9df52c0b952d3; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 63e72e551942642c48456a4134975136cdcb9b3c
- Anyone running Linux 2.6.30

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

## Affected and fixed versions

- Linux: \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 3c7c806b3eafd94ae0f77305a174d63b69ec187c; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 971b4893457788e0e123ea552f0bb126a5300e61; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< c3f4f4547fb291982f5ef56c048277c4d5ccc4e4; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< c43df7dae28fb9fce96ef088250c1e3c3a77c527; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< b8b84dcdf3ab1d414304819f824b10efba64132c; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 6ba6e19912570b2ad68298be0be1dc779014a303; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 588bdec1ff8b81517dbae0ae51c9df52c0b952d3; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 63e72e551942642c48456a4134975136cdcb9b3c (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 63e72e551942642c48456a4134975136cdcb9b3c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53165. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53165.md
Affected: Linux >= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, < 3c7c806b3eafd94ae0f77305a174d63b69ec187c; >= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, < d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; >= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, < 971b4893457788e0e123ea552f0bb126a5300e61; >= 2dcec7a988a1895540460a0…
Fixed in: Linux 3c7c806b3eafd94ae0f77305a174d63b69ec187c, Linux 971b4893457788e0e123ea552f0bb126a5300e61, Linux 6ba6e19912570b2ad68298be0be1dc779014a303, Linux 588bdec1ff8b81517dbae0ae51c9df52c0b952d3, Linux 63e72e551942642c48456a4134975136cdcb9b3c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53165 being exploited?

There is no confirmed exploitation: CVE-2024-53165 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53165?

High: CVSS 7.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-53165?

Linux \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 3c7c806b3eafd94ae0f77305a174d63b69ec187c; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 971b4893457788e0e123ea552f0bb126a5300e61; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< c3f4f4547fb291982f5ef56c048277c4d5ccc4e4; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< c43df7dae28fb9fce96ef088250c1e3c3a77c527; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< b8b84dcdf3ab1d414304819f824b10efba64132c; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 6ba6e19912570b2ad68298be0be1dc779014a303; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 588bdec1ff8b81517dbae0ae51c9df52c0b952d3; \>= 2dcec7a988a1895540460a0bf5603bab63d5a3ed, \< 63e72e551942642c48456a4134975136cdcb9b3c; Linux 2.6.30.

### Is there a fix for CVE-2024-53165?

Yes. Fixed in Linux 3c7c806b3eafd94ae0f77305a174d63b69ec187c, Linux 971b4893457788e0e123ea552f0bb126a5300e61, Linux 6ba6e19912570b2ad68298be0be1dc779014a303, Linux 588bdec1ff8b81517dbae0ae51c9df52c0b952d3, Linux 63e72e551942642c48456a4134975136cdcb9b3c. Upgrade Linux to 63e72e551942642c48456a4134975136cdcb9b3c or later.

### How do I check if I'm affected by CVE-2024-53165?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53165>

HTML: <https://flawdb.com/CVE-2024-53165> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53165>
