CVE-2026-99541

ksmbd: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect()

8.3 high EPSS 0.44%

Published 19 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99541

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-99541 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: fix OOB read and cross-share confusion in ksmbd_validate_name_reconnect()

ksmbd_validate_name_reconnect() indexes ab_pathname[share->path_sz + 1] without checking that the path is longer than share->path_sz + 1 (d_path() fills the buffer from the end). A durable fp is not bound to its original share, so a client can preserve a file from a short-path share and reconnect it on a long-path share, making strcmp() read past the PATH_MAX buffer - with a long enough share path this oopses the kernel, and on a mapped page it also gives a byte-equality oracle on adjacent heap (the reconnect succeeds exactly when the out-of-bounds string equals the requested name). A same-share variant with the durable fp at the share root reads 1 byte past the buffer (strlen(ab_pathname) == share->path_sz).

Check before comparing: the path must be longer than share->path_sz, it must start with share->path, and the next character must be '/'. The share root itself is accepted only for an empty name.

Severity (CVSS)

8.3 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.44%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 29.9% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8df4bcdb0a4232192b2445256c39b787d58ef14d, before 89b539970af70a003a475c1ec975b16f6b4dae69
affected from c8efcc786146a951091588e5fa7e3c754850cb3c, before 0129f7196a05a974bfb3ac4efd8380be651a51b9
affected from c8efcc786146a951091588e5fa7e3c754850cb3c, before 93cb902b0ca04c9dc28b38776f7a03503c84b7ad
affected from c8efcc786146a951091588e5fa7e3c754850cb3c, before 828c02c65e2b0541f0cce403e336b978f92b6dfa
affected from c8efcc786146a951091588e5fa7e3c754850cb3c, before 783a7fc454991544bf92268d8f2413af1a7c7eb8
affected from 6.6.32, before 6.6.163
Other versions: unaffected
Linux
affected 6.9
unaffected before 6.9
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.61 up to and including 6.18.*
unaffected from 7.3.2 up to and including 7.3.*
unaffected 7.4-rc1 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-99541 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99541

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

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