CyberSecBulletin
CVE-2024-57908NVD status: Modified

Linux: Use of Uninitialized Resource

CVE-2024-57908 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 0871eb8d700b33dd7fa86c80630d62ddaef58c2c, a386d9d2dc6635f2ec210b8199cfb3acf4d31305, a07f698084412a3ef5e950fcac1d6b0f53289efd 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 0871eb8d700b33dd7fa86c80630d62ddaef58c2c or a386d9d2dc6635f2ec210b8199cfb3acf4d31305 or a07f698084412a3ef5e950fcac1d6b0f53289efd or 6985ba4467e4b15b809043fa7740d1fb23a1897b, 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
LinuxLinuxc3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, 0871eb8d700b33dd7fa86c80630d62ddaef58c2c; c3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, a386d9d2dc6635f2ec210b8199cfb3acf4d31305; c3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, a07f698084412a3ef5e950fcac1d6b0f53289efd; c3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, 6985ba4467e4b15b809043fa7740d1fb23a1897b; c3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, cde312e257b59ecaa0fad3af9ec7e2370bb24639; c3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, 565814cbbaa674d2901428796801de49a611e59d; c3a23ecc0901f624b681bbfbc4829766c5aa3070 up to, but not including, 6ae053113f6a226a2303caa4936a4c37f3bfff7b; 4.00871eb8d700b33dd7fa86c80630d62ddaef58c2c, a386d9d2dc6635f2ec210b8199cfb3acf4d31305, a07f698084412a3ef5e950fcac1d6b0f53289efd, 6985ba4467e4b15b809043fa7740d1fb23a1897b, cde312e257b59ecaa0fad3af9ec7e2370bb24639, 565814cbbaa674d2901428796801de49a611e59d
LinuxLinux Kernel4.0 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: imu: kmx61: fix information leak in triggered buffer The 'buffer' local array 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 array 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.