CVE-2026-99537
ksmbd: preserve unreadable named streams on open
- CVSS
- —
- EPSS
- 0.21% (p11)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux 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.
Fixed in
163f8b0c72fa0e398bfdd88545d32a4f4a80d72b · 22464634d240f5132b0787048a10e8260ac7e639 · 4cdee894f9bcebe0093df90cf28dc732d38418da · 6.12.117 · 6.18.61 · 6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc · 7.3.2 · 80c816c047f7cae3c99cc75740c1f5d2c4d97b45 · de47a7e952b9e09b3e814a740481bd2f9dbb8e30 · f5f6a705247314540b780dbf94c319d764b84bb4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.15.0, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <163f8b0c72fa0e398bfdd88545d32a4f4a80d72b | 163f8b0c72fa0e398bfdd88545d32a4f4a80d72b |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <22464634d240f5132b0787048a10e8260ac7e639 | 22464634d240f5132b0787048a10e8260ac7e639 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <4cdee894f9bcebe0093df90cf28dc732d38418da | 4cdee894f9bcebe0093df90cf28dc732d38418da |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc | 6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <80c816c047f7cae3c99cc75740c1f5d2c4d97b45 | 80c816c047f7cae3c99cc75740c1f5d2c4d97b45 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <de47a7e952b9e09b3e814a740481bd2f9dbb8e30 | de47a7e952b9e09b3e814a740481bd2f9dbb8e30 |
| vendor | Linux | >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, <f5f6a705247314540b780dbf94c319d764b84bb4 | f5f6a705247314540b780dbf94c319d764b84bb4 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/f5f6a705247314540b780dbf94c319d764b84bb4 other
- https://git.kernel.org/stable/c/22464634d240f5132b0787048a10e8260ac7e639 other
- https://git.kernel.org/stable/c/4cdee894f9bcebe0093df90cf28dc732d38418da other
- https://git.kernel.org/stable/c/80c816c047f7cae3c99cc75740c1f5d2c4d97b45 other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99537.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99537 advisory
- https://git.kernel.org/stable/c/de47a7e952b9e09b3e814a740481bd2f9dbb8e30 other
- https://git.kernel.org/stable/c/163f8b0c72fa0e398bfdd88545d32a4f4a80d72b other
- https://git.kernel.org/stable/c/6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc other