Linux: Out-of-bounds Read
CVE-2024-56627 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 6bd1bf0e8c42f10a9a9679a4c103a9032d30594d, de4d790dcf53be41736239d7ee63849a16ff5d10, 27de4295522e9a33e4a3fc72f7b8193df9eebe41 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.63% chance of exploitation within 30 days, higher than 51% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to 6bd1bf0e8c42f10a9a9679a4c103a9032d30594d or de4d790dcf53be41736239d7ee63849a16ff5d10 or 27de4295522e9a33e4a3fc72f7b8193df9eebe41 or 81eed631935f2c52cdaf6691c6d48e0b06e8ad73, whichever matches your release line, or a later version.
- Update Linux Kernel to 5.15.176 or 6.1.120 or 6.6.66 or 6.12.5, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 6bd1bf0e8c42f10a9a9679a4c103a9032d30594d; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, de4d790dcf53be41736239d7ee63849a16ff5d10; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 27de4295522e9a33e4a3fc72f7b8193df9eebe41; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, 81eed631935f2c52cdaf6691c6d48e0b06e8ad73; 0626e6641f6b467447c81dd7678a69c66f7746cf up to, but not including, fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9; 5.15 | 6bd1bf0e8c42f10a9a9679a4c103a9032d30594d, de4d790dcf53be41736239d7ee63849a16ff5d10, 27de4295522e9a33e4a3fc72f7b8193df9eebe41, 81eed631935f2c52cdaf6691c6d48e0b06e8ad73, fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9 |
| Linux | Linux Kernel | 5.15 up to, but not including, 5.15.176; 5.16 up to, but not including, 6.1.120; 6.2 up to, but not including, 6.6.66; 6.7 up to, but not including, 6.12.5; 6.13 | 5.15.176, 6.1.120, 6.6.66, 6.12.5 |
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.1 | High | CNA |
| CVSS 3.1 | 7.1 | High | NVD |
| CVSS 3.1 | 7.1 | High | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read An offset from client could be a negative value, It could lead to an out-of-bounds read from the stream_buf. Note that this issue is coming when setting 'vfs objects = streams_xattr parameter' in ksmbd.conf.
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/27de4295522e9a33e4a3fc72f7b8193df9eebe41
- git.kernel.org/stable/c/6bd1bf0e8c42f10a9a9679a4c103a9032d30594d
- git.kernel.org/stable/c/81eed631935f2c52cdaf6691c6d48e0b06e8ad73
- git.kernel.org/stable/c/de4d790dcf53be41736239d7ee63849a16ff5d10
- git.kernel.org/stable/c/fc342cf86e2dc4d2edb0fc2ff5e28b6c7845adb9
Other references
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
Linux Kernel Out-of-Bounds Read Exploited
- 7.1 High severity
Spotted an error? Tell us.