CyberSecBulletin
CVE-2024-38381NVD status: Modified

Linux: Use of Uninitialized Resource

CVE-2024-38381 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 406cfac9debd4a6d3dc5d9258ee086372a8c08b6, 485ded868ed62ceb2acb3a459d7843fd71472619, f80b786ab0550d0020191a59077b2c7e069db2d1 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.38% 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 406cfac9debd4a6d3dc5d9258ee086372a8c08b6 or 485ded868ed62ceb2acb3a459d7843fd71472619 or f80b786ab0550d0020191a59077b2c7e069db2d1 or ad4d196d2008c7f413167f0a693feb4f0439d7fe, whichever matches your release line, or a later version.
  2. Update RUGGEDCOM RST2428P to V3.1 or a later version.
  3. Update SCALANCE XCM-/XRM-/XCH-/XRH-300 family to V3.1 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux11387b2effbb55f58dc2111ef4b4b896f2756240 up to, but not including, 406cfac9debd4a6d3dc5d9258ee086372a8c08b6; 03fe259649a551d336a7f20919b641ea100e3fff up to, but not including, 485ded868ed62ceb2acb3a459d7843fd71472619; 755e53bbc61bc1aff90eafa64c8c2464fd3dfa3c up to, but not including, f80b786ab0550d0020191a59077b2c7e069db2d1; ac68d9fa09e410fa3ed20fb721d56aa558695e16 up to, but not including, ad4d196d2008c7f413167f0a693feb4f0439d7fe; b51ec7fc9f877ef869c01d3ea6f18f6a64e831a7 up to, but not including, e8c8e0d0d214c877fbad555df5b3ed558cd9b0c3; a946ebee45b09294c8b0b0e77410b763c4d2817a up to, but not including, e53a7f8afcbd2886f2a94c5d56757328109730ea; d24b03535e5eb82e025219c2f632b485409c898f up to, but not including, 017ff397624930fd7ac7f1761f3c9d6a7100f68c; d24b03535e5eb82e025219c2f632b485409c898f up to, but not including, e4a87abf588536d1cdfb128595e6e680af5cf3ed; and 9 more ranges406cfac9debd4a6d3dc5d9258ee086372a8c08b6, 485ded868ed62ceb2acb3a459d7843fd71472619, f80b786ab0550d0020191a59077b2c7e069db2d1, ad4d196d2008c7f413167f0a693feb4f0439d7fe, e8c8e0d0d214c877fbad555df5b3ed558cd9b0c3, e53a7f8afcbd2886f2a94c5d56757328109730ea
SiemensRUGGEDCOM RST2428Pbefore V3.1V3.1
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familyNot specified in the recordNot stated
SiemensSCALANCE XCM-/XRM-/XCH-/XRH-300 familybefore V3.1V3.1
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystembefore V1.1.1V1.1.1
LinuxLinux Kernel4.19.312 up to, but not including, 4.19.316; 5.4.274 up to, but not including, 5.4.278; 5.10.215 up to, but not including, 5.10.219; 5.15.154 up to, but not including, 5.15.161; 6.1.85 up to, but not including, 6.1.93; 6.6.26 up to, but not including, 6.6.33; 6.8.5 up to, but not including, 6.9.44.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33

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.18.8HighCNA
CVSS 3.17.1HighNVD

Official description

In the Linux kernel, the following vulnerability has been resolved: nfc: nci: Fix uninit-value in nci_rx_work syzbot reported the following uninit-value access issue [1] nci_rx_work() parses received packet from ndev->rx_q. It should be validated header size, payload size and total packet size before processing the packet. If an invalid packet is detected, it should be silently discarded.

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.