Linux: Double Free
CVE-2024-41046 is a high-severity double 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 1a2db00a554cfda57c397cce79b2804bf9633fec, 907443174e76b854d28024bd079f0e53b94dc9a1, 22b16618a80858b3a9d607708444426948cc4ae1 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.45% 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 1a2db00a554cfda57c397cce79b2804bf9633fec or 907443174e76b854d28024bd079f0e53b94dc9a1 or 22b16618a80858b3a9d607708444426948cc4ae1 or 69ad5fa0ce7c548262e0770fc2b726fe7ab4f156, whichever matches your release line, or a later version.
- Update RUGGEDCOM RST2428P to V3.1 or a later version.
- Update SCALANCE XCM-/XRM-/XCH-/XRH-300 family to V3.1 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, 1a2db00a554cfda57c397cce79b2804bf9633fec; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, 907443174e76b854d28024bd079f0e53b94dc9a1; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, 22b16618a80858b3a9d607708444426948cc4ae1; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, 69ad5fa0ce7c548262e0770fc2b726fe7ab4f156; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, c2b66e2b3939af63699e4a4bd25a8ac4a9b1d1b3; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, 9d23909ae041761cb2aa0c3cb1748598d8b6bc54; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, 84aaaa796a19195fc59290154fef9aeb1fba964f; 504d4721ee8e432af4b5f196a08af38bc4dac5fe up to, but not including, e1533b6319ab9c3a97dad314dd88b3783bc41b69; and 1 more ranges | 1a2db00a554cfda57c397cce79b2804bf9633fec, 907443174e76b854d28024bd079f0e53b94dc9a1, 22b16618a80858b3a9d607708444426948cc4ae1, 69ad5fa0ce7c548262e0770fc2b726fe7ab4f156, c2b66e2b3939af63699e4a4bd25a8ac4a9b1d1b3, 9d23909ae041761cb2aa0c3cb1748598d8b6bc54 |
| Siemens | RUGGEDCOM RST2428P | before V3.1 | V3.1 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Not specified in the record | Not stated |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | before V3.1 | V3.1 |
| 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 | SIMATIC S7-1500 TM MFP - BIOS | all versions | Not stated |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 up to, but not including, V3.1.5 | V3.1.5 |
| Linux | Linux Kernel | 3.0 up to, but not including, 4.19.318; 4.20 up to, but not including, 5.4.280; 5.5 up to, but not including, 5.10.222; 5.11 up to, but not including, 5.15.163; 5.16 up to, but not including, 6.1.100; 6.2 up to, but not including, 6.6.41; 6.7 up to, but not including, 6.9.10 | 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.100, 6.6.41 |
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 | 8.8 | High | CNA |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
In the Linux kernel, the following vulnerability has been resolved: net: ethernet: lantiq_etop: fix double free in detach The number of the currently released descriptor is never incremented which results in the same skb being released multiple times.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Double Free
The product calls free() twice on the same memory address.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
- Use a static analysis tool to find double free instances.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/1a2db00a554cfda57c397cce79b2804bf9633fec
- git.kernel.org/stable/c/22b16618a80858b3a9d607708444426948cc4ae1
- git.kernel.org/stable/c/69ad5fa0ce7c548262e0770fc2b726fe7ab4f156
- git.kernel.org/stable/c/84aaaa796a19195fc59290154fef9aeb1fba964f
- git.kernel.org/stable/c/907443174e76b854d28024bd079f0e53b94dc9a1
- git.kernel.org/stable/c/9d23909ae041761cb2aa0c3cb1748598d8b6bc54
- git.kernel.org/stable/c/c2b66e2b3939af63699e4a4bd25a8ac4a9b1d1b3
- git.kernel.org/stable/c/e1533b6319ab9c3a97dad314dd88b3783bc41b69
Other references
Recent Double Free vulnerabilities
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Spotted an error? Tell us.