SecurityContext

CVE-2026-99562: Linux Kernel ksmbd - Denial of Service

  • Cve: CVE-2026-99562
  • Name: Linux Kernel ksmbd - Denial of Service
  • 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
  • Impact: Authenticated clients can cause kernel panic, leading to system crash and denial of service.
  • Remediation: Update to the latest kernel version containing the fix.
  • Vulnerability impact: denial_of_service
  • Requirement type: logged_in
  • Requirements: Attacker needs authenticated session with writable tree connection and directory handle with FILE_WRITE_DATA.
  • Labels source: securitycontext
  • Cvss vector: N/A
  • Epss score: 0.00145
  • Epss percentile: 0.03746
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-11-19T15:18:12Z
  • Age in days: 5
  • Modified at: 2026-11-19T15:18:12Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99562
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, severity, cvss score, hackerone

References

UrlSourceTags
https://git.kernel.org/stable/c/89092aa492f1ff8cbbca14503a008795251bae6dnvd
https://git.kernel.org/stable/c/ef85bad39cf273a8377722c9f3078294dcc2fc7anvd

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 7.3, < 7.4-rc1; >= 7.3, < 7.3.2nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports