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.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to c2b97f26f081ceec3298151481687071075a25cb or 5050ae879a828d752b439e3827aac126709da6d1 or 097c7918fcfa1dee233acfd1f3029f00c3bc8062 or df0991da7db846f7fa4ec6740350f743d3b69b04, whichever matches your release line, or a later version.
- 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
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 2e5702aff39532662198459726c624d5eadbdd78 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 ranges | c2b97f26f081ceec3298151481687071075a25cb, 5050ae879a828d752b439e3827aac126709da6d1, 097c7918fcfa1dee233acfd1f3029f00c3bc8062, df0991da7db846f7fa4ec6740350f743d3b69b04, 5fd4b090304e450aa0e7cc9cc2b4873285c6face, 6690cc2732e2a8d0eaca44dcbac032a4b0148042 |
| Linux | Linux Kernel | 2.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.9 | 4.19.313, 5.4.275, 5.10.216, 5.15.157, 6.1.88, 6.6.29 |
| Debian | Debian Linux | 10.0 | Not stated |
| Fedora Project | Fedora | 38; 39; 40 | Not 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.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/097c7918fcfa1dee233acfd1f3029f00c3bc8062Mailing List
- git.kernel.org/stable/c/26212da39ee14a52c76a202c6ae5153a84f579a5Mailing List
- git.kernel.org/stable/c/5050ae879a828d752b439e3827aac126709da6d1Mailing List
- git.kernel.org/stable/c/5fd4b090304e450aa0e7cc9cc2b4873285c6faceMailing List
- git.kernel.org/stable/c/6690cc2732e2a8d0eaca44dcbac032a4b0148042Mailing List
- git.kernel.org/stable/c/c2b97f26f081ceec3298151481687071075a25cbMailing List
- git.kernel.org/stable/c/cf92bb778eda7830e79452c6917efa8474a30c1eMailing List
- git.kernel.org/stable/c/df0991da7db846f7fa4ec6740350f743d3b69b04Mailing List
Third-party and government advisories
- lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlMailing List, Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlMailing List, Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/4EZ6PJW7VOZ224TD7N4JZN…Mailing List, Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/DAMSOZXJEPUOXW33WZYWCV…Mailing List, Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/GCBZZEC7L7KTWWAS2NLJK6…Mailing List, Third Party Advisory
Recent Out-of-bounds Read vulnerabilities
- 7.8 High severity
- 7.1 High severity
- 8.2 High severity
- 7.1 High severity
- 7.5 High severity
- 7.5 High severity
Spotted an error? Tell us.