CVE-2026-142813: Linux kernel · ksmbd: use the existing xattr name for a named stream
Source GCVE Database
Not known to be exploited · fixed in ff7debe48426132a6851378c3e3b015b117a34a4 : update Linux kernel when convenient.
Data as of 3 Dec 2026, 08:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in ff7debe48426132a6851378c3e3b015b117a34a4, a7d1d52748e0fe4d06fdb871fc9899904fbba93f, 211280b953194f3f7378de13597f9fce5e0cefc1 +3
Exploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: use the existing xattr name for a named stream SMB stream names are case-insensitive, but ksmbd stores each named stream in an xattr whose name is case-sensitive. Opening an existing stream finds its xattr with a case-insensitive match, yet the handle keeps the name as the client spelled it, and every later operation that needs an exact name uses that spelling: - a WRITE or an end-of-file change creates a second xattr, so a stream created as "Foo" and written through "foo" ends up stored twice, and which value a later lookup returns depends on xattr list order; - delete-on-close and delete-pending removal can fail with -ENODATA, or remove only a case-variant copy and leave the original; - the share mode check compares stream names with strcmp(), so two opens of the same stream that differ only in case do not conflict. Have ksmbd_vfs_casexattr_len() copy the matching xattr's name into the handle when the stream is opened, so later operations use the name already on disk. The match must have the same length as the name it replaces; the stream lookup passes a length that includes the terminating NUL, which already guarantees that, and the check makes the copy safe for any caller. A stream that does not exist yet keeps the client's spelling, as before. smb2_rename() compares and looks up fp->stream.name case-insensitively, so it behaves the same with either spelling.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142813 (opens in a new tab)
- git.kernel.org/stable/c/211280b953194f3f7378de13597f9fce5e0cefc1 (opens in a new tab)
- git.kernel.org/stable/c/52a8eb87416e775c6af5018dc5fc04733abedafc (opens in a new tab)
- git.kernel.org/stable/c/5c0ebca054046093684bdb48ffcbe2eb2757fd0b (opens in a new tab)
- git.kernel.org/stable/c/60269faa92542140fc318783beddf27d6edfceda (opens in a new tab)
- git.kernel.org/stable/c/a7d1d52748e0fe4d06fdb871fc9899904fbba93f (opens in a new tab)
- git.kernel.org/stable/c/ff7debe48426132a6851378c3e3b015b117a34a4 (opens in a new tab)