Vendors › Linux

CVE-2026-31477

High (7.5) EPSS 0.7% Linux · fs

Linux kernel: ksmbd: fix memory leaks and NULL deref in smb2_lock()

A vulnerability in the Linux kernel fs subsystem (fs/smb/server/smb2pdu.c), assigned CVE-2026-31477. The issue was introduced in kernel 5.15 and is fixed in 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0. Updating to a fixed stable release resolves it.

Published2026-04-22
Updated2026-08-05
AffectedLinux kernel 5.15 and later, before the fix (fixed in 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0)
FixUpdate to kernel 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11, 7.0 or later
Vendor advisoryhttps://cve.org/CVERecord/?id=CVE-2026-31477

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-31477CWE-476Memory CorruptionDenial of ServiceNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.