CyberSecBulletin
CVE-2024-41046NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 1a2db00a554cfda57c397cce79b2804bf9633fec or 907443174e76b854d28024bd079f0e53b94dc9a1 or 22b16618a80858b3a9d607708444426948cc4ae1 or 69ad5fa0ce7c548262e0770fc2b726fe7ab4f156, whichever matches your release line, or a later version.
  2. Update RUGGEDCOM RST2428P to V3.1 or a later version.
  3. Update SCALANCE XCM-/XRM-/XCH-/XRH-300 family to V3.1 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux504d4721ee8e432af4b5f196a08af38bc4dac5fe 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 ranges1a2db00a554cfda57c397cce79b2804bf9633fec, 907443174e76b854d28024bd079f0e53b94dc9a1, 22b16618a80858b3a9d607708444426948cc4ae1, 69ad5fa0ce7c548262e0770fc2b726fe7ab4f156, c2b66e2b3939af63699e4a4bd25a8ac4a9b1d1b3, 9d23909ae041761cb2aa0c3cb1748598d8b6bc54
SiemensRUGGEDCOM RST2428Pbefore V3.1V3.1
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familyNot specified in the recordNot stated
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 familybefore V3.1V3.1
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 up to, but not including, V3.1.5V3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 up to, but not including, V3.1.5V3.1.5
SiemensSIMATIC S7-1500 TM MFP - BIOSall versionsNot stated
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 up to, but not including, V3.1.5V3.1.5
LinuxLinux Kernel3.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.104.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 systemScoreSeverityScored by
CVSS 3.18.8HighCNA
CVSS 3.17.8HighNVD

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.

More Double Free vulnerabilities (CWE-415)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Double Free vulnerabilities

Spotted an error? Tell us.