CyberSecBulletin
CVE-2024-57998NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd or eb6ffa0192ba83ece1a318b956265519c5c7dcec or 7d68c20638e50d5eb4576492a7958328ae445248 or da2a6acc73933b7812c94794726e438cde39e037, whichever matches your release line, or a later version.
  2. 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

VendorProductAffected versionsFixed in
LinuxLinux92fcb46659d5dbfdad0422a503e289085990a5d0 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.6774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd, eb6ffa0192ba83ece1a318b956265519c5c7dcec, 7d68c20638e50d5eb4576492a7958328ae445248, da2a6acc73933b7812c94794726e438cde39e037, d659bc68ed489022ea33342cfbda2911a81e7a0d
LinuxLinux Kernel6.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.26.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 systemScoreSeverityScored by
CVSS 3.17.3HighCNA
CVSS 3.17.8HighNVD

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.

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

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.