CyberSecBulletin
CVE-2024-27008NVD status: Analyzed

Linux: Out-of-bounds Read

CVE-2024-27008 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 c2b97f26f081ceec3298151481687071075a25cb, 5050ae879a828d752b439e3827aac126709da6d1, 097c7918fcfa1dee233acfd1f3029f00c3bc8062 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.3% 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 c2b97f26f081ceec3298151481687071075a25cb or 5050ae879a828d752b439e3827aac126709da6d1 or 097c7918fcfa1dee233acfd1f3029f00c3bc8062 or df0991da7db846f7fa4ec6740350f743d3b69b04, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 4.19.313 or 5.4.275 or 5.10.216 or 5.15.157, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, c2b97f26f081ceec3298151481687071075a25cb; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, 5050ae879a828d752b439e3827aac126709da6d1; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, 097c7918fcfa1dee233acfd1f3029f00c3bc8062; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, df0991da7db846f7fa4ec6740350f743d3b69b04; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, 5fd4b090304e450aa0e7cc9cc2b4873285c6face; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, 6690cc2732e2a8d0eaca44dcbac032a4b0148042; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, 26212da39ee14a52c76a202c6ae5153a84f579a5; 2e5702aff39532662198459726c624d5eadbdd78 up to, but not including, cf92bb778eda7830e79452c6917efa8474a30c1e; and 1 more rangesc2b97f26f081ceec3298151481687071075a25cb, 5050ae879a828d752b439e3827aac126709da6d1, 097c7918fcfa1dee233acfd1f3029f00c3bc8062, df0991da7db846f7fa4ec6740350f743d3b69b04, 5fd4b090304e450aa0e7cc9cc2b4873285c6face, 6690cc2732e2a8d0eaca44dcbac032a4b0148042
LinuxLinux Kernel2.6.38 up to, but not including, 4.19.313; 4.20 up to, but not including, 5.4.275; 5.5 up to, but not including, 5.10.216; 5.11 up to, but not including, 5.15.157; 5.16 up to, but not including, 6.1.88; 6.2 up to, but not including, 6.6.29; 6.7 up to, but not including, 6.8.8; 6.94.19.313, 5.4.275, 5.10.216, 5.15.157, 6.1.88, 6.6.29
DebianDebian Linux10.0Not stated
Fedora ProjectFedora38; 39; 40Not stated

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.

Official description

In the Linux kernel, the following vulnerability has been resolved: drm: nv04: Fix out of bounds access When Output Resource (dcb->or) value is assigned in fabricate_dcb_output(), there may be out of bounds access to dac_users array in case dcb->or is zero because ffs(dcb->or) is used as index there. The 'or' argument of fabricate_dcb_output() must be interpreted as a number of bit to set, not value. Utilize macros from 'enum nouveau_or' in calls instead of hardcoding. Found by Linux Verification Center (linuxtesting.org) with SVACE.

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.