CVE-2025-40084ksmbd: transport_ipc: validate payload size before reading handle
- 7.1HighCVSS base score
- 0.15%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: transport_ipc: validate payload size before reading handle handle_response() dereferences the payload as a 4-byte handle without verifying that the declared payload size is at least 4 bytes. A malformed or truncated message from ksmbd.mountd can lead to a 4-byte read past the declared payload size. Validate the size before dereferencing. This is a minimal fix to guard the initial handle read.
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 9 months later
· 9 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Deferred | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < a02e432d5130da4c723aabe1205bac805889fdb2
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 2dc125f5da134c0915a840b62565c60a595673dd
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 898d527ed94c19980a4d848f10057f1fed578ffb
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 867ffd9d67285612da3f0498ca618297f8e41f01
- affected 0626e6641f6b467447c81dd7678a69c66f7746cf – < 6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0
- affected 5.15
- unaffected < 5.15
- unaffected 6.1.158 – ≤ 6.1.*
- unaffected 6.6.115 – ≤ 6.6.*
- unaffected 6.12.56 – ≤ 6.12.*
- unaffected 6.17.6 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References5
- https://git.kernel.org/stable/c/a02e432d5130da4c723aabe1205bac805889fdb2 (opens in a new tab)
- https://git.kernel.org/stable/c/2dc125f5da134c0915a840b62565c60a595673dd (opens in a new tab)
- https://git.kernel.org/stable/c/898d527ed94c19980a4d848f10057f1fed578ffb (opens in a new tab)
- https://git.kernel.org/stable/c/867ffd9d67285612da3f0498ca618297f8e41f01 (opens in a new tab)
- https://git.kernel.org/stable/c/6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-36664 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40084)Record last updated .