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.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 406cfac9debd4a6d3dc5d9258ee086372a8c08b6 or 485ded868ed62ceb2acb3a459d7843fd71472619 or f80b786ab0550d0020191a59077b2c7e069db2d1 or ad4d196d2008c7f413167f0a693feb4f0439d7fe, whichever matches your release line, or a later version.
- Update RUGGEDCOM RST2428P to V3.1 or a later version.
- Update SCALANCE XCM-/XRM-/XCH-/XRH-300 family to V3.1 or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 11387b2effbb55f58dc2111ef4b4b896f2756240 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 ranges | 406cfac9debd4a6d3dc5d9258ee086372a8c08b6, 485ded868ed62ceb2acb3a459d7843fd71472619, f80b786ab0550d0020191a59077b2c7e069db2d1, ad4d196d2008c7f413167f0a693feb4f0439d7fe, e8c8e0d0d214c877fbad555df5b3ed558cd9b0c3, e53a7f8afcbd2886f2a94c5d56757328109730ea |
| Siemens | RUGGEDCOM RST2428P | before V3.1 | V3.1 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Not specified in the record | Not stated |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | before V3.1 | V3.1 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | before V1.1.1 | V1.1.1 |
| Linux | Linux Kernel | 4.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.4 | 4.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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.8 | High | CNA |
| CVSS 3.1 | 7.1 | High | NVD |
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
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/017ff397624930fd7ac7f1761f3c9d6a7100f68c
- git.kernel.org/stable/c/406cfac9debd4a6d3dc5d9258ee086372a8c08b6
- git.kernel.org/stable/c/485ded868ed62ceb2acb3a459d7843fd71472619
- git.kernel.org/stable/c/ad4d196d2008c7f413167f0a693feb4f0439d7fe
- git.kernel.org/stable/c/e4a87abf588536d1cdfb128595e6e680af5cf3ed
- git.kernel.org/stable/c/e53a7f8afcbd2886f2a94c5d56757328109730ea
- git.kernel.org/stable/c/e8c8e0d0d214c877fbad555df5b3ed558cd9b0c3
- git.kernel.org/stable/c/f80b786ab0550d0020191a59077b2c7e069db2d1
Other references
Recent Use of Uninitialized Resource vulnerabilities
- 7.5 High severity
- 7.1 High severity
- 7.8 High severity
- 7.8 High severity
- 7.1 High severity
- 7.3 High severity
Spotted an error? Tell us.