CVE-2026-31718: ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger
CVE-2026-31718 is a vulnerability in ksmbd: fix use-after-free in __ksmbd_close_fd() via durable scavenger, rated Critical by Microsoft, with a CVSS 3.1 base score of 9.8 (Critical). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 0.65% probability of exploitation activity in the next 30 days, higher than 46% of all scored vulnerabilities. Microsoft published it on 7 May 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).
Key facts
- CVE ID
- CVE-2026-31718
- Severity
- Critical CVSS 9.8
- Microsoft severity
- Critical
- Exploited in the wild
- No
- Publicly disclosed
- No
- Weakness
- CWE-416
- EPSS
- 0.65% (percentile 46%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- May 2026 Patch Tuesday
- Product families
- Open Source Software
CVSS score and vector
Microsoft scores CVE-2026-31718 at 9.8 (temporal 9.8) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
Affected products (1)
Open Source Software
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 kernel 6.6.137.1-2 on Azure Linux 3.0 |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 9.8 (CRITICAL)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| linux kernel | from 6.6.32, before 6.7 |
| linux kernel | from 6.9, before 6.12.84 |
| linux kernel | from 6.13, before 6.18.25 |
| linux kernel | from 6.19, before 7.0.2 |
| linux kernel 7.1 | all listed versions |
References
- https://git.kernel.org/stable/c/0000a7780e0e446a28a273572f6ea8f7f582f694
- https://git.kernel.org/stable/c/235e32320a470fcd3998fb3774f2290a0eb302a1 (Patch)
- https://git.kernel.org/stable/c/3d6682726c2d3a46d31dae88b8166786b09b03ad (Patch)
- https://git.kernel.org/stable/c/b34fc42cfe922e551f7a27d3ac3bb016e41d7dd9 (Patch)
- https://git.kernel.org/stable/c/e33c65f011980b4ad4abfd93585ec2079856368f (Patch)
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. |