# CVE-2026-99750: ksmbd: require DELETE access for delete-on-close opens

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.17% (percentile 4, 2026-11-29)
- **Published:** 2026-11-20T05:51:20.619Z
- **Modified:** 2026-11-23T08:18:15.263Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b51d1c42d1a9273b00fd886a2378d6e0466a99b0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 303298db106c56f7b7eda37a6616429f7f451a1a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< bb6f4069b436bdcd28a8bf96e47c2af0ccae467f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< cc71e3abb81ae1470c09acae85d989b42509a2e0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 2d0d4adb6bade8b204b10ad2a4c43f3b7d2af030; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 7e9a78223752911e118710009aab9dd9e10b2ee7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1dd91081ba3c692565f9c1f884149178d5a06d1e
- Anyone running Linux 5.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: require DELETE access for delete-on-close opens

smb2\_open() accepts FILE\_DELETE\_ON\_CLOSE on an existing file without
DELETE in DesiredAccess. When the request asks only for
FILE\_READ\_ATTRIBUTES or READ\_CONTROL, it also skips inode\_permission()
and the parent directory MAY\_WRITE \| MAY\_EXEC check that delete-on-close
is meant to get. The file is then marked for deletion by a caller who
could not delete it.

The unlink happens later, in \_\_ksmbd\_inode\_close(), when the last handle
on the inode is closed, and it runs with the credentials of that handle.
If the caller closes last, the unlink fails. If another user who can
write the parent directory, such as the file's owner, still has the file
open, the file is deleted when that user closes it. Until then new opens
of the file fail with STATUS\_DELETE\_PENDING. So a user with only search
permission on a directory can delete a file in it, or block opens of it,
while the owner has it open.

A MAXIMUM\_ALLOWED open that also requests DELETE has the same problem.
The requested access is replaced with the maximal access, which does not
include DELETE when the caller cannot write the parent directory, and the
later permission checks are skipped as already done.

MS-FSA 2.1.5.1 requires an open with FILE\_DELETE\_ON\_CLOSE and without
DELETE in DesiredAccess to fail with STATUS\_INVALID\_PARAMETER, and Samba
does the same. Add that check to the CreateOptions validation, using
the generic-mapped DesiredAccess so that GENERIC\_ALL still qualifies.
This also refuses MAXIMUM\_ALLOWED with FILE\_DELETE\_ON\_CLOSE but no
explicit DELETE, as MS-FSA and Samba do. When MAXIMUM\_ALLOWED is
requested with DELETE but the maximal access does not include DELETE,
fail with STATUS\_ACCESS\_DENIED. With DELETE requested, delete-on-close
opens go through the existing parent directory check.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b51d1c42d1a9273b00fd886a2378d6e0466a99b0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 303298db106c56f7b7eda37a6616429f7f451a1a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< bb6f4069b436bdcd28a8bf96e47c2af0ccae467f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< cc71e3abb81ae1470c09acae85d989b42509a2e0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 2d0d4adb6bade8b204b10ad2a4c43f3b7d2af030; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 7e9a78223752911e118710009aab9dd9e10b2ee7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1dd91081ba3c692565f9c1f884149178d5a06d1e (cvelist)
- Linux: 5.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 1dd91081ba3c692565f9c1f884149178d5a06d1e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99750. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99750.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b51d1c42d1a9273b00fd886a2378d6e0466a99b0; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 303298db106c56f7b7eda37a6616429f7f451a1a; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < bb6f4069b436bdcd28a8bf96e47c2af0ccae467f; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 303298db106c56f7b7eda37a6616429f7f451a1a, Linux 2d0d4adb6bade8b204b10ad2a4c43f3b7d2af030, Linux 7e9a78223752911e118710009aab9dd9e10b2ee7, Linux 1dd91081ba3c692565f9c1f884149178d5a06d1e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99750 being exploited?

There is no confirmed exploitation: CVE-2026-99750 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-99750?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99750?

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b51d1c42d1a9273b00fd886a2378d6e0466a99b0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 303298db106c56f7b7eda37a6616429f7f451a1a; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< bb6f4069b436bdcd28a8bf96e47c2af0ccae467f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< cc71e3abb81ae1470c09acae85d989b42509a2e0; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 2d0d4adb6bade8b204b10ad2a4c43f3b7d2af030; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 7e9a78223752911e118710009aab9dd9e10b2ee7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 1dd91081ba3c692565f9c1f884149178d5a06d1e; Linux 5.15.

### Is there a fix for CVE-2026-99750?

Yes. Fixed in Linux 303298db106c56f7b7eda37a6616429f7f451a1a, Linux 2d0d4adb6bade8b204b10ad2a4c43f3b7d2af030, Linux 7e9a78223752911e118710009aab9dd9e10b2ee7, Linux 1dd91081ba3c692565f9c1f884149178d5a06d1e. Upgrade Linux to 1dd91081ba3c692565f9c1f884149178d5a06d1e or later.

### How do I check if I'm affected by CVE-2026-99750?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/b51d1c42d1a9273b00fd886a2378d6e0466a99b0>
- other: <https://git.kernel.org/stable/c/303298db106c56f7b7eda37a6616429f7f451a1a>
- other: <https://git.kernel.org/stable/c/bb6f4069b436bdcd28a8bf96e47c2af0ccae467f>
- other: <https://git.kernel.org/stable/c/cc71e3abb81ae1470c09acae85d989b42509a2e0>
- other: <https://git.kernel.org/stable/c/2d0d4adb6bade8b204b10ad2a4c43f3b7d2af030>
- other: <https://git.kernel.org/stable/c/7e9a78223752911e118710009aab9dd9e10b2ee7>
- other: <https://git.kernel.org/stable/c/1dd91081ba3c692565f9c1f884149178d5a06d1e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99750>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99750> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99750>
