CVE-2025-40084
ksmbd: transport_ipc: validate payload size before reading handle
Reported by linux · Published October 29, 2025
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.
EPSS 0.15% · 4.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | a02e432d5130da4c723aabe1205bac805889fdb2, 898d527ed94c19980a4d848f10057f1fed578ffb, 867ffd9d67285612da3f0498ca618297f8e41f01, 6f40e50ceb99fc8ef37e5c56e2ec1d162733fef0, 2dc125f5da134c0915a840b62565c60a595673dd |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf, 0626e6641f6b467447c81dd7678a69c66f7746cf |
| Linux | Linux | 5.15, 0, 6.1.158 |
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf, 6.6.115, 6.12.56 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- Oct 29, 2025 CVE Published
- Oct 30, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (90 in total, the first dated here)
- Mar 29, 2026 Security Advisory (135 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40084
vulnetix vdb fixes CVE-2025-40084
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40084/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart