Linux: Out-of-bounds Read
CVE-2024-36931 is a high-severity out-of-bounds read 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 c9d48ce163305595ae20aee27774192476d5e6a5, 10452edd175fcc4fd0f5ac782ed2a002e3e5d65c, 84b38f48836662c4bfae646c014f4e981e16a2b2 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.23% 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 c9d48ce163305595ae20aee27774192476d5e6a5 or 10452edd175fcc4fd0f5ac782ed2a002e3e5d65c or 84b38f48836662c4bfae646c014f4e981e16a2b2 or 06759ebaf75c19c87b2453a5e130e9e61e9b5d65, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.15.159 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 | a4f17cc726712a52122ad38540bc3ff3a052d1a4 up to, but not including, c9d48ce163305595ae20aee27774192476d5e6a5; a4f17cc726712a52122ad38540bc3ff3a052d1a4 up to, but not including, 10452edd175fcc4fd0f5ac782ed2a002e3e5d65c; a4f17cc726712a52122ad38540bc3ff3a052d1a4 up to, but not including, 84b38f48836662c4bfae646c014f4e981e16a2b2; a4f17cc726712a52122ad38540bc3ff3a052d1a4 up to, but not including, 06759ebaf75c19c87b2453a5e130e9e61e9b5d65; a4f17cc726712a52122ad38540bc3ff3a052d1a4 up to, but not including, da7c622cddd4fe36be69ca61e8c42e43cde94784; 5.13 | c9d48ce163305595ae20aee27774192476d5e6a5, 10452edd175fcc4fd0f5ac782ed2a002e3e5d65c, 84b38f48836662c4bfae646c014f4e981e16a2b2, 06759ebaf75c19c87b2453a5e130e9e61e9b5d65, da7c622cddd4fe36be69ca61e8c42e43cde94784 |
| Linux | Linux Kernel | 5.13 up to, but not including, 5.15.159; 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.159, 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
- 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.
Official description
In the Linux kernel, the following vulnerability has been resolved: s390/cio: Ensure the copied buf is NUL terminated Currently, we allocate a lbuf-sized kernel buffer and copy lbuf from userspace to that buffer. Later, we use scanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using scanf. Fix this issue by using memdup_user_nul instead.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
How developers prevent this class of flaw
- Use a language that provides appropriate memory abstractions.
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/06759ebaf75c19c87b2453a5e130e9e61e9b5d65
- git.kernel.org/stable/c/10452edd175fcc4fd0f5ac782ed2a002e3e5d65c
- git.kernel.org/stable/c/84b38f48836662c4bfae646c014f4e981e16a2b2
- git.kernel.org/stable/c/c9d48ce163305595ae20aee27774192476d5e6a5
- git.kernel.org/stable/c/da7c622cddd4fe36be69ca61e8c42e43cde94784
Recent Out-of-bounds Read vulnerabilities
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 7.1 High severity
- 8.6 High severity
Spotted an error? Tell us.