CVE-2026-99749

ksmbd: enforce the read-only share flag when creating a stream

No CVSS score yet EPSS 0.17%

Published 20 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99749

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-99749 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:

ksmbd: enforce the read-only share flag when creating a stream

When a share is read-only, smb2_open() rejects opens that would create or truncate a file. Creating a named stream on an existing file with streams_xattr sets neither O_CREAT nor O_TRUNC, so it passes this check, and smb2_set_stream_name_xattr() then creates the stream. On a Time Machine share, opening a missing AFP_AfpInfo stream also writes one. A user who can write a file at the filesystem level can therefore add streams to it through a read-only share.

Do not create a stream or synthesize AFP_AfpInfo when the share is not writable. Existing streams still open normally, and a missing stream opened with FILE_OPEN still returns STATUS_OBJECT_NAME_NOT_FOUND.

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 3.93% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before f92cd402cc29889be2dbdcbe60ec014c231f2ec6
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before d86cea832d4bffabc51190039ee286a0ab9f3b61
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before ece35b45ec17a462cc5947ad4fbc3450657aa55b
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 09139429fab3a5114c18d7c15fb161511d4d66c9
Other versions: unaffected
Linux
affected 5.15
unaffected before 5.15
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.5 up to and including 7.3.*
unaffected 7.4-rc2 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-99749 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99749

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-99749
trivy image --scanners vuln IMAGE | grep CVE-2026-99749

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-99749 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.