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

Published Updated

CVSS score

High

8.3/10

CVSS 3.1 · Scored by the Linux kernel CNA Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Over the network
Any signed-in user, no user action

What is CVE-2026-99541?

CVE-2026-99541 is a high-severity vulnerability in Linux, published on 19 Nov 2026.

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

How severe is CVE-2026-99541?

CVE-2026-99541 scores 8.3 out of 10 under CVSS 3.1, which is high severity. It was scored by the Linux kernel CNA.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H

Which versions are affected by CVE-2026-99541?

Status by vendor 5
WhoReleaseStatusPackages
Red Hat8not affectedbpftool, kernel, kernel-abi-stablelists and 43 more
pkg:rpm/redhat/bpftool?distro=rhel-8
pkg:rpm/redhat/kernel?distro=rhel-8
pkg:rpm/redhat/kernel-abi-stablelists?distro=rhel-8
Red Hat9not affectedbpftool, kernel, kernel-64k and 104 more
pkg:rpm/redhat/bpftool?distro=rhel-9
pkg:rpm/redhat/kernel?distro=rhel-9
pkg:rpm/redhat/kernel-64k?distro=rhel-9
Red Hat10not affectedkernel
pkg:rpm/redhat/kernel?distro=rhel-10
Red Hatels/6not affectedkernel, kernel-abi-whitelists, kernel-bootwrapper and 10 more
pkg:rpm/redhat/kernel?distro=rhel-6
pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-6
pkg:rpm/redhat/kernel-bootwrapper?distro=rhel-6
Red Hatels/7not affectedbpftool, kernel, kernel-abi-whitelists and 23 more
pkg:rpm/redhat/bpftool?distro=rhel-7
pkg:rpm/redhat/kernel?distro=rhel-7
pkg:rpm/redhat/kernel-abi-whitelists?distro=rhel-7

How do I fix CVE-2026-99541?

Upgrade to a fixed version.

Is CVE-2026-99541 being exploited?

There is no known exploitation of CVE-2026-99541 in the wild and no public exploit code.

Sources

Also known as AZL-115936, BELL-CVE-2026-99541, DEBIAN-CVE-2026-99541, GHSA-wfwm-5fwf-6gcj, UBUNTU-CVE-2026-99541.

Is CVE-2026-99541 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free