CVE-2026-99537

Source
https://cve.org/CVERecord?id=CVE-2026-99537
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99537.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99537
Published
2026-11-19T14:44:50Z
Modified
2026-11-19T17:01:26Z
Summary
ksmbd: preserve unreadable named streams on open
Details

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

ksmbd: preserve unreadable named streams on open

A write-only client can open an existing named stream with FILE_OPEN_IF without permission to read the underlying file. The case-insensitive lookup finds the xattr name, but querying its value length then fails with -EACCES. smb2_set_stream_name_xattr() treats every negative result as a missing stream and replaces the existing xattr with an empty value.

A failed xattr list is not proof that the stream is absent either: for example, -ENOMEM can lead to the same empty replacement. Preserve listing errors and create a stream only for -ENOENT or -ENODATA. The latter can occur if the xattr is removed between listing its name and querying its value. Return other lookup errors without changing the stream.

A write-only FILE_OPEN now reports access denied instead of name not found. FILE_OVERWRITE_IF and FILE_SUPERSEDE on an unreadable stream also fail instead of appearing to replace it. Stream writes and EOF changes already need to read the old value, so such handles cannot update the stream after opening either.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99537.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Fixed
f5f6a705247314540b780dbf94c319d764b84bb4
Fixed
22464634d240f5132b0787048a10e8260ac7e639
Fixed
4cdee894f9bcebe0093df90cf28dc732d38418da
Fixed
80c816c047f7cae3c99cc75740c1f5d2c4d97b45

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99537.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.15.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99537.json"