CVE-2025-40039: ksmbd: Fix race condition in RPC handle list access
CSIRTS triage
- What
- A race condition exists in RPC handle list access in ksmbd that could allow concurrent access issues.
- Who is affected
- Systems running ksmbd as part of the Linux kernel.
- Urgency
- High severity (CVSS 7.0) and not yet exploited; patch promptly.
- Action
- Update to the latest kernel version containing the ksmbd RPC handle list race condition fix.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch ksmbd
Get an email when a new ksmbd advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-40039
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2025-400390.30% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 22% of all EPSS-scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2025-40039 | coverage & exploitation status | NVD · CVE.org |
Same CVEs, other sources
How other CERTs, PSIRTs and databases cover the vulnerabilities in this advisory.
- high[UPDATE] [high] Linux Kernel: Multiple vulnerabilitiescert-bund
- unknownUbuntu Linux Kernel Multiple Vulnerabilitieshkcert
Recent advisories for ksmbd
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- highCVE-2026-64393: ksmbd: run set info with opener credentialsmsrc · 2026-08-06
- highCVE-2026-64399: ksmbd: add permission checks for FSCTL_DUPLICATE_EXTENTS_TO_FILEmsrc · 2026-08-06
- mediumCVE-2024-50284: ksmbd: Fix the missing xa_store error checkmsrc · 2026-08-06
- highCVE-2026-64395: ksmbd: require source read access for duplicate extentsmsrc · 2026-08-06
- mediumCVE-2026-64397: ksmbd: serialize QUERY_DIRECTORY requests per filemsrc · 2026-08-06
- highCVE-2026-64392: ksmbd: use opener credentials for delete-on-closemsrc · 2026-08-06
More from Microsoft Security Response Center
- highCVE-2025-40776: Birthday Attack against Resolvers supporting ECS2026-08-06
- lowCVE-2026-3632: Libsoup: libsoup: http smuggling and server-side request forgery via malformed hostnames2026-08-06
- unknownCVE-2026-58039: CVE-2026-580392026-08-06
- unknownCVE-2026-19023: HDF5 h5dump Untrusted Pointer Dereference in Binary Output of Variable-Length String Datasets2026-08-06
- mediumCVE-2026-23247: tcp: secure_seq: add back ports to TS offset2026-08-06