-

CVE-2026-99749

ksmbd: enforce the read-only share flag when creating a stream

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

ksmbd: enforce the read-only share flag when creating a stream

When a share is read-only, smb2_open() rejects opens that would create
or truncate a file. Creating a named stream on an existing file with
streams_xattr sets neither O_CREAT nor O_TRUNC, so it passes this check,
and smb2_set_stream_name_xattr() then creates the stream. On a Time
Machine share, opening a missing AFP_AfpInfo stream also writes one. A
user who can write a file at the filesystem level can therefore add
streams to it through a read-only share.

Do not create a stream or synthesize AFP_AfpInfo when the share is not
writable. Existing streams still open normally, and a missing stream
opened with FILE_OPEN still returns STATUS_OBJECT_NAME_NOT_FOUND.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < f92cd402cc29889be2dbdcbe60ec014c231f2ec6
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < d86cea832d4bffabc51190039ee286a0ab9f3b61
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < ece35b45ec17a462cc5947ad4fbc3450657aa55b
Status affected
Version e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Version < 09139429fab3a5114c18d7c15fb161511d4d66c9
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.119
Status unaffected
Version <= 6.18.*
Version 6.18.65
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
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.16% 0.048
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/ece35b45ec17a462cc5947ad4fbc3450657aa55b
https://git.kernel.org/stable/c/09139429fab3a5114c18d7c15fb161511d4d66c9
https://git.kernel.org/stable/c/3c226cbf62b7bf2a36e6da4faa8cb6fbe5f8187a
https://git.kernel.org/stable/c/996f257e4bf6d5a5574a3ec10cebe5cf63959e4c
https://git.kernel.org/stable/c/bbeae2eb4df84a033a2db1b0d7647ed762bd24fa
https://git.kernel.org/stable/c/d86cea832d4bffabc51190039ee286a0ab9f3b61
https://git.kernel.org/stable/c/f92cd402cc29889be2dbdcbe60ec014c231f2ec6