CyberSecBulletin
CVE-2024-36477NVD status: Modified

Linux: Out-of-bounds Read

CVE-2024-36477 is a high-severity out-of-bounds read 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 1547183852dcdfcc25878db7dd3620509217b0cd, de13c56f99477b56980c7e00b09c776d16b7563d, 195aba96b854dd664768f382cd1db375d8181f88 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.22% 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 1547183852dcdfcc25878db7dd3620509217b0cd or de13c56f99477b56980c7e00b09c776d16b7563d or 195aba96b854dd664768f382cd1db375d8181f88, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.6.33 or 6.9.4, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinuxa86a42ac2bd652fdc7836a9d880c306a2485c142 up to, but not including, 1547183852dcdfcc25878db7dd3620509217b0cd; a86a42ac2bd652fdc7836a9d880c306a2485c142 up to, but not including, de13c56f99477b56980c7e00b09c776d16b7563d; a86a42ac2bd652fdc7836a9d880c306a2485c142 up to, but not including, 195aba96b854dd664768f382cd1db375d8181f88; 6.61547183852dcdfcc25878db7dd3620509217b0cd, de13c56f99477b56980c7e00b09c776d16b7563d, 195aba96b854dd664768f382cd1db375d8181f88
LinuxLinux Kernelafter 6.6 up to, but not including, 6.6.33; after 6.7 up to, but not including, 6.9.4; 6.106.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
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.17.8HighCNA
CVSS 3.17.8HighNVD

Official description

In the Linux kernel, the following vulnerability has been resolved: tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer The TPM SPI transfer mechanism uses MAX_SPI_FRAMESIZE for computing the maximum transfer length and the size of the transfer buffer. As such, it does not account for the 4 bytes of header that prepends the SPI data frame. This can result in out-of-bounds accesses and was confirmed with KASAN. Introduce SPI_HDRSIZE to account for the header and use to allocate the transfer buffer.

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.