CVE-2026-31612
HighIn the Linux kernel, the following vulnerability has been resolved: ksmbd: validate EaNameLength in smb2_get_ea() smb2_get_ea() reads ea_req->EaNameLength from the client request and passes it directly to strncmp() as the comparison length without verifying that the length of the name really is the size of the input buffer received. Fix this up by properly checking the size of the name based on the value received and the overall size of the request, to prevent a later strncmp() call to use the length as a "trusted" size of the buffer. Without this check, uninitialized heap values might be slowly leaked to the client.
CVSS 3.1 score
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected versions
Linux kernel versions
5.15
and later are affected. Fixed in
6.1.175,
6.6.136,
6.12.83,
6.18.24,
6.19.14,
7.0.1,
7.1-rc1
and their respective stable series.
References
The following references provide additional information about CVE-2026-31612 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/243b206bcb5a7137e8bddd57b2eec81e1ebd3859
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3363a770b193f555f29d76ddf4ced3305c0ccf6d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4b73376feecb3b61172fe5b4ff42bbbb8531669d
Frequently asked questions
-
What is CVE-2026-31612?
CVE-2026-31612 is a High severity Linux kernel vulnerability with a CVSS score of 7.5 out of 10 . It affects Linux kernel versions from 5.15 onward and has been patched in 6.1.175, 6.6.136, 6.12.83 and others. CVE-2026-31612 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2026-31612?
CVE-2026-31612 has a CVSS score of 7.5 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. -
Is there a patch available for CVE-2026-31612?
Yes — CVE-2026-31612 has been patched. Fixed versions include 6.1.175, 6.6.136, 6.12.83 and others. If you are running Linux kernel 5.15 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-31612 actively exploited?
No — CVE-2026-31612 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.