Linux: Out-of-bounds Read
CVE-2024-57998 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 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd, eb6ffa0192ba83ece1a318b956265519c5c7dcec, 7d68c20638e50d5eb4576492a7958328ae445248 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.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd or eb6ffa0192ba83ece1a318b956265519c5c7dcec or 7d68c20638e50d5eb4576492a7958328ae445248 or da2a6acc73933b7812c94794726e438cde39e037, whichever matches your release line, or a later version.
- Update Linux Kernel to 6.6.76 or 6.12.13 or 6.13.2, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 92fcb46659d5dbfdad0422a503e289085990a5d0 up to, but not including, 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd; 142e17c1c2b48e3fb4f024e62ab6dee18f268694 up to, but not including, eb6ffa0192ba83ece1a318b956265519c5c7dcec; 142e17c1c2b48e3fb4f024e62ab6dee18f268694 up to, but not including, 7d68c20638e50d5eb4576492a7958328ae445248; 142e17c1c2b48e3fb4f024e62ab6dee18f268694 up to, but not including, da2a6acc73933b7812c94794726e438cde39e037; 142e17c1c2b48e3fb4f024e62ab6dee18f268694 up to, but not including, d659bc68ed489022ea33342cfbda2911a81e7a0d; 6.6 | 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd, eb6ffa0192ba83ece1a318b956265519c5c7dcec, 7d68c20638e50d5eb4576492a7958328ae445248, da2a6acc73933b7812c94794726e438cde39e037, d659bc68ed489022ea33342cfbda2911a81e7a0d |
| Linux | Linux Kernel | 6.6 up to, but not including, 6.6.76; 6.7 up to, but not including, 6.12.13; 6.13 up to, but not including, 6.13.2 | 6.6.76, 6.12.13, 6.13.2 |
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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.3 | High | CNA |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
In the Linux kernel, the following vulnerability has been resolved: OPP: add index check to assert to avoid buffer overflow in _read_freq() Pass the freq index to the assert function to make sure we do not read a freq out of the opp->rates[] table when called from the indexed variants: dev_pm_opp_find_freq_exact_indexed() or dev_pm_opp_find_freq_ceil/floor_indexed(). Add a secondary parameter to the assert function, unused for assert_single_clk() then add assert_clk_index() which will check for the clock index when called from the _indexed() find functions.
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.
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd
- git.kernel.org/stable/c/7d68c20638e50d5eb4576492a7958328ae445248
- git.kernel.org/stable/c/d659bc68ed489022ea33342cfbda2911a81e7a0d
- git.kernel.org/stable/c/da2a6acc73933b7812c94794726e438cde39e037
- git.kernel.org/stable/c/eb6ffa0192ba83ece1a318b956265519c5c7dcec
Other references
Recent Out-of-bounds Read vulnerabilities
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
Spotted an error? Tell us.