CVE-2026-93794

smb/client: flush dirty data before punching a hole

No CVSS score yet EPSS 0.17%

Published 24 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-93794

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-93794 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

smb/client: flush dirty data before punching a hole

Punching a hole after a large buffered write may leave the range reported as data. Reproduce it with:

xfs_io -f \ -c "pwrite -b 3m -S 0x61 0 3m" \ -c "fpunch 1m 1m" \ -c "seek -h 0" \ -c "seek -d 1m" \ /mnt/test/repro

Punching 1 MiB at offset 1 MiB should produce:

0 1 MiB 2 MiB 3 MiB | DATA | HOLE | DATA | EOF

Instead, the entire file is reported as data. SEEK_HOLE(0) returns EOF, and SEEK_DATA(1M) returns 1M.

This happens because a dirty folio spanning the punched range can be written back after the punch and refill the hole.

Fix this by flushing and waiting for dirty data in the punched range before invalidating the page cache and issuing FSCTL_SET_ZERO_DATA.

The xfstests generic/539 pass against Samba/ksmbd with this change.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.37% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 31742c5a331766bc7df6b0d525df00c6cd20d5a6, before 0c9fcab9bf1ef3516983f3de05a19c5658c7a01e
affected from 31742c5a331766bc7df6b0d525df00c6cd20d5a6, before 216e469586057c29409e4ef8311d282388c6e251
affected from 31742c5a331766bc7df6b0d525df00c6cd20d5a6, before 6c265aca08155e519a8f6f6071c59dff4f535f70
affected from 31742c5a331766bc7df6b0d525df00c6cd20d5a6, before 39562a56cdb515f6635c3e7bfe6629439b18a169
affected from 31742c5a331766bc7df6b0d525df00c6cd20d5a6, before d7d2adcd022baade5cab65ca492ce63421ce3a6e
Other versions: unaffected
Linux
affected 3.17
unaffected before 3.17
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-93794 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-93794

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-93794
trivy image --scanners vuln IMAGE | grep CVE-2026-93794

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-93794 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.