CVE-2024-26692
What it is
In the Linux kernel, the following vulnerability has been resolved: smb: Fix regression in writes when non-standard maximum write size negotiated The conversion to netfs in the 6.3 kernel caused a regression when maximum write size is set by the server to an unexpected value which is not a multiple of 4096 (similarly if the user overrides the maximum write size by setting mount parm "wsize", but sets it to a value that is not a multiple of 4096). When negotiated write size is not a multiple of 4096 the netfs code can skip the end of the final page when doing large sequential writes, causing data corruption. This section of code is being rewritten/removed due to a large netfs change, but until that point (ie for the 6.3 kernel until now) we can not support non-standard maximum write sizes. Add a warning if a user specifies a wsize on mount that is not a multiple of 4096 (and round down), also add a change where we round down the maximum write size if the server negotiates a value that is not a multiple of 4096 (we also have to check to make sure that we do not round it down to zero).
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 8.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- Linux Kernel < 6.6.18
- Linux Kernel < 6.7.6
- Linux Kernel 6.8
Attack profile CVSS 3.1 · 8.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-26692.md and follow it. Check whether this project is affected by CVE-2024-26692. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/4145ccff546ea868428b3e0fe6818c6261b574a9
- https://git.kernel.org/stable/c/4860abb91f3d7fbaf8147d54782149bb1fc45892
- https://git.kernel.org/stable/c/63c35afd50e28b49c5b75542045a8c42b696dab9
- https://git.kernel.org/stable/c/4145ccff546ea868428b3e0fe6818c6261b574a9
- https://git.kernel.org/stable/c/4860abb91f3d7fbaf8147d54782149bb1fc45892
- https://git.kernel.org/stable/c/63c35afd50e28b49c5b75542045a8c42b696dab9
References
- https://git.kernel.org/stable/c/4145ccff546ea868428b3e0fe6818c6261b574a9
- https://git.kernel.org/stable/c/4860abb91f3d7fbaf8147d54782149bb1fc45892
- https://git.kernel.org/stable/c/63c35afd50e28b49c5b75542045a8c42b696dab9
- https://git.kernel.org/stable/c/4145ccff546ea868428b3e0fe6818c6261b574a9
- https://git.kernel.org/stable/c/4860abb91f3d7fbaf8147d54782149bb1fc45892
- https://git.kernel.org/stable/c/63c35afd50e28b49c5b75542045a8c42b696dab9