Linux: Use of Uninitialized Resource
CVE-2024-36898 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 c87cc32bc48b187067e089b15ab7a6a7eed5767d, 1a51e24404d77bb3307c1e39eee0d8e86febb1a5, 883e4bbf06eb5fb7482679e4edb201093e9f55a2 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.24% 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 c87cc32bc48b187067e089b15ab7a6a7eed5767d or 1a51e24404d77bb3307c1e39eee0d8e86febb1a5 or 883e4bbf06eb5fb7482679e4edb201093e9f55a2 or bd7139a70ee8d8ea872b223e043730cf6f5e2b0e, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.15.203 or 6.1.91 or 6.6.31 or 6.8.10, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 65cff70464068a823b3f4a28074000febdce0630 up to, but not including, c87cc32bc48b187067e089b15ab7a6a7eed5767d; 65cff70464068a823b3f4a28074000febdce0630 up to, but not including, 1a51e24404d77bb3307c1e39eee0d8e86febb1a5; 65cff70464068a823b3f4a28074000febdce0630 up to, but not including, 883e4bbf06eb5fb7482679e4edb201093e9f55a2; 65cff70464068a823b3f4a28074000febdce0630 up to, but not including, bd7139a70ee8d8ea872b223e043730cf6f5e2b0e; 65cff70464068a823b3f4a28074000febdce0630 up to, but not including, ee0166b637a5e376118e9659e5b4148080f1d27e; 5.10 | c87cc32bc48b187067e089b15ab7a6a7eed5767d, 1a51e24404d77bb3307c1e39eee0d8e86febb1a5, 883e4bbf06eb5fb7482679e4edb201093e9f55a2, bd7139a70ee8d8ea872b223e043730cf6f5e2b0e, ee0166b637a5e376118e9659e5b4148080f1d27e |
| Linux | Linux Kernel | 5.10 up to, but not including, 5.15.203; 5.16 up to, but not including, 6.1.91; 6.2 up to, but not including, 6.6.31; 6.7 up to, but not including, 6.8.10; 6.9 | 5.15.203, 6.1.91, 6.6.31, 6.8.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
- 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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.1 | High | CNA |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
In the Linux kernel, the following vulnerability has been resolved: gpiolib: cdev: fix uninitialised kfifo If a line is requested with debounce, and that results in debouncing in software, and the line is subsequently reconfigured to enable edge detection then the allocation of the kfifo to contain edge events is overlooked. This results in events being written to and read from an uninitialised kfifo. Read events are returned to userspace. Initialise the kfifo in the case where the software debounce is already active.
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/1a51e24404d77bb3307c1e39eee0d8e86febb1a5
- git.kernel.org/stable/c/883e4bbf06eb5fb7482679e4edb201093e9f55a2
- git.kernel.org/stable/c/bd7139a70ee8d8ea872b223e043730cf6f5e2b0e
- git.kernel.org/stable/c/c87cc32bc48b187067e089b15ab7a6a7eed5767d
- git.kernel.org/stable/c/ee0166b637a5e376118e9659e5b4148080f1d27e
Recent Use of Uninitialized Resource vulnerabilities
- 7.1 High severity
- 7.3 High severity
- 7.1 High severity
- 7.8 High severity
- 7.8 High severity
- 7.3 High severity
Spotted an error? Tell us.