Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Linux

CVE-2026-142813 — Linux

Not yet scoredEPSS 0.3% First seen December 03, 2026

One of 624 Linux vulnerabilities published together by NVD: our article covers all of them.

LinuxOperating systemsVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Affected and fixed versions

ProductAffected versionsFixed in
Linux5.15 and later6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Details from NVD (public domain).

Affected

  • Linux

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-142813?

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.

How severe is CVE-2026-142813?

CVE-2026-142813 has not been given a CVSS score yet.

Is CVE-2026-142813 being exploited?

Not as far as is known: CVE-2026-142813 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-142813?

Linux 5.15 and later (fixed in 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1).

How do I fix CVE-2026-142813?

Update to a fixed release: Linux 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1.

Timeline & sources

References

Related vulnerabilities & news