CyberSecBulletin
CVE-2024-57907NVD status: Modified

Linux: Use of Uninitialized Resource

CVE-2024-57907 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 85a9c98a5e0f22d911b00077d751e34fff1401aa, 7a07fb80ea886e9134284a27d0155cca7649e293, 64b79afdca7b27a768c7d3716b7f4deb1d6b955c 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.22% 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 85a9c98a5e0f22d911b00077d751e34fff1401aa or 7a07fb80ea886e9134284a27d0155cca7649e293 or 64b79afdca7b27a768c7d3716b7f4deb1d6b955c or 5a95fbbecec7a34bbad5dcc3156700b8711d53c4, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 6.6.72 or 6.12.10, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux4e130dc7b41348b13684f0758c26cc6cf72a3449 up to, but not including, 85a9c98a5e0f22d911b00077d751e34fff1401aa; 4e130dc7b41348b13684f0758c26cc6cf72a3449 up to, but not including, 7a07fb80ea886e9134284a27d0155cca7649e293; 4e130dc7b41348b13684f0758c26cc6cf72a3449 up to, but not including, 64b79afdca7b27a768c7d3716b7f4deb1d6b955c; 4e130dc7b41348b13684f0758c26cc6cf72a3449 up to, but not including, 5a95fbbecec7a34bbad5dcc3156700b8711d53c4; 4e130dc7b41348b13684f0758c26cc6cf72a3449 up to, but not including, 8193941bc4fe7247ff13233f328aea709f574554; 4e130dc7b41348b13684f0758c26cc6cf72a3449 up to, but not including, 38724591364e1e3b278b4053f102b49ea06ee17c; 5.985a9c98a5e0f22d911b00077d751e34fff1401aa, 7a07fb80ea886e9134284a27d0155cca7649e293, 64b79afdca7b27a768c7d3716b7f4deb1d6b955c, 5a95fbbecec7a34bbad5dcc3156700b8711d53c4, 8193941bc4fe7247ff13233f328aea709f574554, 38724591364e1e3b278b4053f102b49ea06ee17c
LinuxLinux Kernel5.9 up to, but not including, 6.6.72; 6.7 up to, but not including, 6.12.10; 6.136.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: adc: rockchip_saradc: fix information leak in triggered buffer The 'data' local struct is used to push data to user space from a triggered buffer, but it does not set values for inactive channels, as it only uses iio_for_each_active_channel() to assign new values. 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.