CyberSecBulletin
CVE-2024-57912NVD status: Modified

Linux: Use of Uninitialized Resource

CVE-2024-57912 is a high-severity use of uninitialized resource vulnerability in Linux, with a CVSS 3.1 base score of 7.1 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 9629ff1a86823269b12fb1ba9ca4efa945906287, d25f1fc273670271412a52a1efbdaf5dcf274ed8, 64a989aa7475b8e76e69b9ec86819ea293e53bab 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.27% 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 9629ff1a86823269b12fb1ba9ca4efa945906287 or d25f1fc273670271412a52a1efbdaf5dcf274ed8 or 64a989aa7475b8e76e69b9ec86819ea293e53bab or b7849f62e61242e0e02c776e1109eb81e59c567c, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.1.125 or 6.6.72 or 6.12.10, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, 9629ff1a86823269b12fb1ba9ca4efa945906287; 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, d25f1fc273670271412a52a1efbdaf5dcf274ed8; 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, 64a989aa7475b8e76e69b9ec86819ea293e53bab; 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, b7849f62e61242e0e02c776e1109eb81e59c567c; 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a; 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, 979a0db76ceda8fe1f2f85a116bfe97620ebbadf; 03b262f2bbf43b82eaef82ffb3bc671d5b5c8da1 up to, but not including, 6007d10c5262f6f71479627c1216899ea7f09073; 4.99629ff1a86823269b12fb1ba9ca4efa945906287, d25f1fc273670271412a52a1efbdaf5dcf274ed8, 64a989aa7475b8e76e69b9ec86819ea293e53bab, b7849f62e61242e0e02c776e1109eb81e59c567c, fefb88a4da961a0b9c2473cbdcfce1a942fcfa9a, 979a0db76ceda8fe1f2f85a116bfe97620ebbadf
LinuxLinux Kernel4.9 up to, but not including, 6.1.125; 6.2 up to, but not including, 6.6.72; 6.7 up to, but not including, 6.12.10; 6.136.1.125, 6.6.72, 6.12.10

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
NoneNothing can be modified.
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:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.1HighNVD
CVSS 3.17.1HighCISA (ADP)

Official description

In the Linux kernel, the following vulnerability has been resolved: iio: pressure: zpa2326: fix information leak in triggered buffer The 'sample' local struct is used to push data to user space from a triggered buffer, but it has a hole between the temperature and the timestamp (u32 pressure, u16 temperature, GAP, u64 timestamp). This hole is never initialized. Initialize the struct to zero before using it to avoid pushing uninitialized information to userspace.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Use of Uninitialized Resource

The product uses or accesses a resource that has not been initialized.

How developers prevent this class of flaw

  • Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
  • Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
  • Avoid race conditions (CWE-362) during initialization routines.

More Use of Uninitialized Resource vulnerabilities (CWE-908)

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 Use of Uninitialized Resource vulnerabilities

Spotted an error? Tell us.