CyberSecBulletin
CVE-2024-50143NVD status: Modified

Linux: Use of Uninitialized Resource

CVE-2024-50143 is a high-severity use of uninitialized resource 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 5eb76fb98b3335aa5cca6a7db2e659561c79c32b, 417bd613bdbe791549f7687bb1b9b8012ff111c2, 0ce61b1f6b32df822b59c680cbe8e5ba5d335742 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.28% 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 5eb76fb98b3335aa5cca6a7db2e659561c79c32b or 417bd613bdbe791549f7687bb1b9b8012ff111c2 or 0ce61b1f6b32df822b59c680cbe8e5ba5d335742 or 4fc0d8660e391dcd8dde23c44d702be1f6846c61, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 4.19.323 or 5.4.285 or 5.15.170 or 6.1.115, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 5eb76fb98b3335aa5cca6a7db2e659561c79c32b; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 417bd613bdbe791549f7687bb1b9b8012ff111c2; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 0ce61b1f6b32df822b59c680cbe8e5ba5d335742; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 4fc0d8660e391dcd8dde23c44d702be1f6846c61; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 72e445df65a0aa9066c6fe2b8736ba2fcca6dac7; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 1ac49babc952f48d82676979b20885e480e69be8; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, e52e0b92ed31dc62afbda15c243dcee0bb5bb58d; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 264db9d666ad9a35075cc9ed9ec09d021580fbb1; and 1 more ranges5eb76fb98b3335aa5cca6a7db2e659561c79c32b, 417bd613bdbe791549f7687bb1b9b8012ff111c2, 0ce61b1f6b32df822b59c680cbe8e5ba5d335742, 4fc0d8660e391dcd8dde23c44d702be1f6846c61, 72e445df65a0aa9066c6fe2b8736ba2fcca6dac7, 1ac49babc952f48d82676979b20885e480e69be8
LinuxLinux Kernelbefore 4.19.323; 4.20 up to, but not including, 5.4.285; 5.5 up to, but not including, 5.15.170; 5.16 up to, but not including, 6.1.115; 6.2 up to, but not including, 6.6.59; 6.7 up to, but not including, 6.11.6; 6.124.19.323, 5.4.285, 5.15.170, 6.1.115, 6.6.59, 6.11.6

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.8HighCNA
CVSS 3.17.8HighNVD
CVSS 3.17.8HighCISA (ADP)

Official description

In the Linux kernel, the following vulnerability has been resolved: udf: fix uninit-value use in udf_get_fileshortad Check for overflow when computing alen in udf_current_aext to mitigate later uninit-value use in udf_get_fileshortad KMSAN bug[1]. After applying the patch reproducer did not trigger any issue[2]. [1] https://syzkaller.appspot.com/bug?extid=8901c4560b7ab5c2f9df [2] https://syzkaller.appspot.com/x/log.txt?x=10242227980000

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: total).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Use of Uninitialized Resource vulnerabilities

Spotted an error? Tell us.