CVE-2026-99562
ksmbd: reject FSCTL_SET_ZERO_DATA on a directory handle
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 25e414db703334954747cb1b3eedf914b093ff8c, < 89092aa492f1ff8cbbca14503a008795251bae6d; >= 25e414db703334954747cb1b3eedf914b093ff8c, < ef85bad39cf273a8377722c9f3078294dcc2fc7a
- Anyone running Linux 7.3
Vulnerability facts
- Affected
- Linux >= 25e414db703334954747cb1b3eedf914b093ff8c, < 89092aa492f1ff8cbbca14503a008795251bae6d; >= 25e414db703334954747cb1b3eedf914b093ff8c, < ef85bad39cf273a8377722c9f3078294dcc2fc7a; Linux 7.3
- Fixed in
- Linux 89092aa492f1ff8cbbca14503a008795251bae6d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 5, 2026-11-28)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: reject FSCTL_SET_ZERO_DATA on a directory handle An authenticated client with a writable tree connection can open a directory with FILE_WRITE_DATA and send FSCTL_SET_ZERO_DATA on that handle. The handler only checks fp->daccess & FILE_WRITE_DATA_LE, but on a directory FILE_WRITE_DATA is the legitimate add-file right, so the check passes. ksmbd_vfs_zero_data() then calls kernel_write() on the directory file, which has no FMODE_WRITE, and __kernel_write_iter() hits WARN_ON_ONCE(!(file->f_mode & FMODE_WRITE)), panicking a panic_on_warn kernel. Before commit 25e414db7033 ("ksmbd: report holes in allocated range queries") the dense-file path used vfs_fallocate(), which rejects directories with -EISDIR. The kernel_write() loop that replaced it has no such check. Reject a directory handle in ksmbd_vfs_zero_data() before writing, as ksmbd_vfs_write() already does for SMB2_WRITE. WARNING: fs/read_write.c:608 at __kernel_write_iter+0x74b/0x8c0 Workqueue: ksmbd-io handle_ksmbd_work Call Trace: kernel_write+0x1ef/0x4d0 ksmbd_vfs_zero_data+0x413/0x590 smb2_ioctl+0x21fa/0x66a0 handle_ksmbd_work+0x61b/0x1ff0
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99562. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99562.md Affected: Linux >= 25e414db703334954747cb1b3eedf914b093ff8c, < 89092aa492f1ff8cbbca14503a008795251bae6d; >= 25e414db703334954747cb1b3eedf914b093ff8c, < ef85bad39cf273a8377722c9f3078294dcc2fc7a; Linux 7.3 Fixed in: Linux 89092aa492f1ff8cbbca14503a008795251bae6d 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.
Technologies
References
FAQ
Is CVE-2026-99562 being exploited?
There is no confirmed exploitation: CVE-2026-99562 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99562?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99562?
Linux >= 25e414db703334954747cb1b3eedf914b093ff8c, < 89092aa492f1ff8cbbca14503a008795251bae6d; >= 25e414db703334954747cb1b3eedf914b093ff8c, < ef85bad39cf273a8377722c9f3078294dcc2fc7a; Linux 7.3.
Is there a fix for CVE-2026-99562?
Yes. Fixed in Linux 89092aa492f1ff8cbbca14503a008795251bae6d. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99562?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |