-

CVE-2026-99537

ksmbd: preserve unreadable named streams on open

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < de47a7e952b9e09b3e814a740481bd2f9dbb8e30
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 163f8b0c72fa0e398bfdd88545d32a4f4a80d72b
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < f5f6a705247314540b780dbf94c319d764b84bb4
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 22464634d240f5132b0787048a10e8260ac7e639
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 4cdee894f9bcebe0093df90cf28dc732d38418da
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 80c816c047f7cae3c99cc75740c1f5d2c4d97b45
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.15
Status affected
Version 0
Version < 5.15
Status unaffected
Version <= 5.15.*
Version 5.15.226
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.117
Status unaffected
Version <= 6.18.*
Version 6.18.61
Status unaffected
Version <= 7.3.*
Version 7.3.2
Status unaffected
Version <= *
Version 7.4-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.064
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
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
https://git.kernel.org/stable/c/163f8b0c72fa0e398bfdd88545d32a4f4a80d72b
https://git.kernel.org/stable/c/6a42992b9c74d9c8ef96dba6f7137adcfb64a5cc
https://git.kernel.org/stable/c/de47a7e952b9e09b3e814a740481bd2f9dbb8e30