Linux: Use After Free
CVE-2024-53165 is a high-severity use after free vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions 3c7c806b3eafd94ae0f77305a174d63b69ec187c, d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc, 971b4893457788e0e123ea552f0bb126a5300e61 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.26% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 3c7c806b3eafd94ae0f77305a174d63b69ec187c or d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc or 971b4893457788e0e123ea552f0bb126a5300e61 or c3f4f4547fb291982f5ef56c048277c4d5ccc4e4, whichever matches your release line, or a later version.
- Update SIMATIC S7-1500 CPU 1518-4 PN/DP MFP to V3.1.5 or a later version.
- Update SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP to V3.1.5 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, 3c7c806b3eafd94ae0f77305a174d63b69ec187c; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, 971b4893457788e0e123ea552f0bb126a5300e61; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, c3f4f4547fb291982f5ef56c048277c4d5ccc4e4; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, c43df7dae28fb9fce96ef088250c1e3c3a77c527; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, b8b84dcdf3ab1d414304819f824b10efba64132c; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, 6ba6e19912570b2ad68298be0be1dc779014a303; 2dcec7a988a1895540460a0bf5603bab63d5a3ed up to, but not including, 588bdec1ff8b81517dbae0ae51c9df52c0b952d3; and 2 more ranges | 3c7c806b3eafd94ae0f77305a174d63b69ec187c, d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc, 971b4893457788e0e123ea552f0bb126a5300e61, c3f4f4547fb291982f5ef56c048277c4d5ccc4e4, c43df7dae28fb9fce96ef088250c1e3c3a77c527, b8b84dcdf3ab1d414304819f824b10efba64132c |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Siemens | RUGGEDCOM RST2428P | before V3.2 | V3.2 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | before V3.2 | V3.2 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | before V3.2 | V3.2 |
| Linux | Linux Kernel | 2.6.30 up to, but not including, 4.19.325; 4.20 up to, but not including, 5.4.287; 5.5 up to, but not including, 5.10.231; 5.11 up to, but not including, 5.15.174; 5.16 up to, but not including, 6.1.120; 6.2 up to, but not including, 6.6.64; 6.7 up to, but not including, 6.11.11; 6.12 up to, but not including, 6.12.2 | 4.19.325, 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.64 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.4 | High | CNA |
| CVSS 3.1 | 7.8 | High | NVD |
| CVSS 3.1 | 7.8 | High | CISA (ADP) |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/3c7c806b3eafd94ae0f77305a174d63b69ec187c
- git.kernel.org/stable/c/588bdec1ff8b81517dbae0ae51c9df52c0b952d3
- git.kernel.org/stable/c/63e72e551942642c48456a4134975136cdcb9b3c
- git.kernel.org/stable/c/6ba6e19912570b2ad68298be0be1dc779014a303
- git.kernel.org/stable/c/971b4893457788e0e123ea552f0bb126a5300e61
- git.kernel.org/stable/c/b8b84dcdf3ab1d414304819f824b10efba64132c
- git.kernel.org/stable/c/c3f4f4547fb291982f5ef56c048277c4d5ccc4e4
- git.kernel.org/stable/c/c43df7dae28fb9fce96ef088250c1e3c3a77c527
- git.kernel.org/stable/c/d8de818df12d86a1a26a8efd7b4b3b9c6dc3c5cc
Other references
Recent Use After Free vulnerabilities
- 7.8 High severity
- 7.0 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.