Quick answers
- Is CVE-2024-23307 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-23307 being exploited in the wild.
- How severe is CVE-2024-23307?
- Medium severity, with a CVSS score of 4.4, published 25 January 2024.
- Which products and versions are affected?
- Linux Kernel 4.1 to 6.7.2; 6.1.84; 6.6.24; 6.7.12; 6.8.3; Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem All versions.
- Is there a fix for CVE-2024-23307?
- A patch was published on 2024-01-12: Patch submitted to Linux RAID mailing list Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2024-23307 attacked?
- It is attacked with local access or over the network, in an operating system.
- Am I affected by CVE-2024-23307?
- Check whether you run Linux Kernel or Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An integer overflow or wraparound vulnerability exists in the raid5_cache_count() function within the Linux kernel's md/raid5 modules. The root cause is a race condition between raid5_cache_count() and raid5_set_cache_size(), where concurrent execution can lead to inconsistent reads of 'max_nr_stripes' and 'min_nr_stripes'. If 'min_nr_stripes' exceeds 'max_nr_stripes' due to an intermediate update, the subtraction results in an overflow. While some sources categorize this as requiring high privileges over a network, NIST identifies it as a local vector (AV:L) with high impact on confidentiality, integrity, and availability. Patches have been released for various kernel branches including 6.1.84, 6.6.24, 6.7.12, and 6.8.3.
Affected products
- Linux Linux Kernel 4.1 to 6.7.2; 6.1.84; 6.6.24; 6.7.12; 6.8.3
- Siemens SIMATIC S7-1500 TM MFP GNU/Linux subsystem All versions
Timeline
- 2024-01-12: patched: Patch submitted to Linux RAID mailing list
- 2024-01-25: disclosed: Initial CVE publication
- 2024-04-09: advisory: Siemens published advisory SSA-265688 including this CVE