# CVE-2026-99537: ksmbd: preserve unreadable named streams on open

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-19T14:44:50.604Z
- Modified: 2026-11-23T08:17:55.630Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before de47a7e952b9e09b3e814a740481bd2f9dbb8e30; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 163f8b0c72fa0e398bfdd88545d32a4f4a80d72b; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before f5f6a705247314540b780dbf94c319d764b84bb4; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 22464634d240f5132b0787048a10e8260ac7e639; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 4cdee894f9bcebe0093df90cf28dc732d38418da; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 80c816c047f7cae3c99cc75740c1f5d2c4d97b45; 5.15 (not affected: before 5.15; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/de47a7e952b9e09b3e814a740481bd2f9dbb8e30>
- <https://git.kernel.org/stable/c/163f8b0c72fa0e398bfdd88545d32a4f4a80d72b>
- <https://git.kernel.org/stable/c/6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc>
- <https://git.kernel.org/stable/c/f5f6a705247314540b780dbf94c319d764b84bb4>
- <https://git.kernel.org/stable/c/22464634d240f5132b0787048a10e8260ac7e639>
- <https://git.kernel.org/stable/c/4cdee894f9bcebe0093df90cf28dc732d38418da>
- <https://git.kernel.org/stable/c/80c816c047f7cae3c99cc75740c1f5d2c4d97b45>

## Sources

- CVE List: [CVE-2026-99537](https://www.cve.org/CVERecord?id=CVE-2026-99537), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99537](https://nvd.nist.gov/vuln/detail/CVE-2026-99537), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99537 · Whole record: https://cve.day/CVE-2026-99537.json · Rebuilt by cve.day 2026-11-25T22:59:52.107Z
