CyberSecBulletin
CVE-2024-38635NVD status: Modified

Linux: Out-of-bounds Read

CVE-2024-38635 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 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 002364b2d594a9afc0385c09e00994c510b1d089, fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328, 902f6d656441a511ac25c6cffce74496db10a078 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.24% 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 002364b2d594a9afc0385c09e00994c510b1d089 or fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328 or 902f6d656441a511ac25c6cffce74496db10a078 or 2ebcaa0e5db9b6044bb487ae1cf41bc601761567, whichever matches your release line, or a later version.
  2. Update SIMATIC S7-1500 TM MFP - GNU/Linux subsystem to V1.1.1 or a later version.
  3. Update Linux Kernel to 5.4.278 or 5.10.219 or 5.15.161 or 6.1.93, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 002364b2d594a9afc0385c09e00994c510b1d089; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 902f6d656441a511ac25c6cffce74496db10a078; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 2ebcaa0e5db9b6044bb487ae1cf41bc601761567; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 7eeef1e935d23db5265233d92395bd5c648a4021; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 4e99103f757cdf636c6ee860994a19a346a11785; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 8ee1b439b1540ae543149b15a2a61b9dff937d91; before 5.4.278; and 5 more ranges002364b2d594a9afc0385c09e00994c510b1d089, fd4bcb991ebaf0d1813d81d9983cfa99f9ef5328, 902f6d656441a511ac25c6cffce74496db10a078, 2ebcaa0e5db9b6044bb487ae1cf41bc601761567, 7eeef1e935d23db5265233d92395bd5c648a4021, 4e99103f757cdf636c6ee860994a19a346a11785
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystembefore V1.1.1V1.1.1
LinuxLinux Kernelbefore 5.4.278; 5.5 up to, but not including, 5.10.219; 5.11 up to, but not including, 5.15.161; 5.16 up to, but not including, 6.1.93; 6.2 up to, but not including, 6.6.33; 6.7 up to, but not including, 6.9.45.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.9.4

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
NoneNothing can be modified.
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:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.8HighCNA
CVSS 3.17.1HighNVD

Official description

In the Linux kernel, the following vulnerability has been resolved: soundwire: cadence: fix invalid PDI offset For some reason, we add an offset to the PDI, presumably to skip the PDI0 and PDI1 which are reserved for BPT. This code is however completely wrong and leads to an out-of-bounds access. We were just lucky so far since we used only a couple of PDIs and remained within the PDI array bounds. A Fixes: tag is not provided since there are no known platforms where the out-of-bounds would be accessed, and the initial code had problems as well. A follow-up patch completely removes this useless offset.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

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 Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.