Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-31612

published high CVSS 3.1 · 7.5

ksmbd: validate EaNameLength in smb2_get_ea()

Published
24 Apr 2026, 14:42:32 UTC
Updated
15 Oct 2026, 01:17:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 4b73376feecb3b61172fe5b4ff42bbbb8531669d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3363a770b193f555f29d76ddf4ced3305c0ccf6d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < dfc6878d14acafffbe670bf2576620757a10a3d8 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 66751841212c2cc196577453c37f7774ff363f02 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 6.1.175 through 6.1.* (unaffected · semver) · 6.6.136 through 6.6.* (unaffected · semver) · 6.12.83 through 6.12.* (unaffected · semver) · 6.18.24 through 6.18.* (unaffected · semver) · 6.19.14 through 6.19.* (unaffected · semver) · 7.0.1 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.176-1 DLA-4665-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
Ubuntu jammy linux-aws-6.8 Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian bullseye linux-6.1 Advisory build 6.1.176-1~deb11u1 DLA-4671-1
Debian trixie linux Advisory build 6.12.85-1 DSA-6238-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.0.3-1.1 OPENSUSE-SU-2026:10703-1
Ubuntu jammy linux-aws-6.8-cloud-tools-6.8.0-1061 Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-aws-6.8-headers-6.8.0-1061 Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-aws-6.8-tools-6.8.0-1061 Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-azure-6.8 Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-azure-6.8-cloud-tools-6.8.0-1063 Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-azure-6.8-headers-6.8.0-1063 Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-azure-6.8-tools-6.8.0-1063 Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-azure-fde-6.8 Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-azure-fde-6.8-cloud-tools-6.8.0-1062 Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-azure-fde-6.8-headers-6.8.0-1062 Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-azure-fde-6.8-tools-6.8.0-1062 Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-buildinfo-6.8.0-1058-oracle Advisory build 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu jammy linux-buildinfo-6.8.0-1058-oracle-64k Advisory build 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu jammy linux-buildinfo-6.8.0-1059-nvidia Advisory build 6.8.0-1059.62~22.04.1 USN-8596-1
Ubuntu jammy linux-buildinfo-6.8.0-1059-nvidia-64k Advisory build 6.8.0-1059.62~22.04.1 USN-8596-1
Ubuntu jammy linux-buildinfo-6.8.0-1061-aws Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-buildinfo-6.8.0-1061-aws-64k Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-buildinfo-6.8.0-1061-ibm Advisory build 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu jammy linux-buildinfo-6.8.0-1062-azure-fde Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-buildinfo-6.8.0-1063-azure Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-buildinfo-6.8.0-1064-gcp Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-buildinfo-6.8.0-1064-gcp-64k Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-buildinfo-6.8.0-136-generic Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-buildinfo-6.8.0-136-generic-64k Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-buildinfo-6.8.0-136-lowlatency Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-buildinfo-6.8.0-136-lowlatency-64k Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-buildinfo-6.8.1-1056-realtime Advisory build 6.8.1-1056.57~22.04.2 USN-8567-1
Ubuntu jammy linux-cloud-tools-6.8.0-1061-aws Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-cloud-tools-6.8.0-1061-aws-64k Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-cloud-tools-6.8.0-1062-azure-fde Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-cloud-tools-6.8.0-1063-azure Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-cloud-tools-6.8.0-136-generic Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-cloud-tools-6.8.0-136-lowlatency Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-cloud-tools-6.8.1-1056-realtime Advisory build 6.8.1-1056.57~22.04.2 USN-8567-1
Ubuntu jammy linux-gcp-6.8 Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-gcp-6.8-headers-6.8.0-1064 Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-gcp-6.8-tools-6.8.0-1064 Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-headers-6.8.0-1058-oracle Advisory build 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu jammy linux-headers-6.8.0-1058-oracle-64k Advisory build 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu jammy linux-headers-6.8.0-1059-nvidia Advisory build 6.8.0-1059.62~22.04.1 USN-8596-1
Ubuntu jammy linux-headers-6.8.0-1059-nvidia-64k Advisory build 6.8.0-1059.62~22.04.1 USN-8596-1
Ubuntu jammy linux-headers-6.8.0-1061-aws Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-headers-6.8.0-1061-aws-64k Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-headers-6.8.0-1061-ibm Advisory build 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu jammy linux-headers-6.8.0-1062-azure-fde Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-headers-6.8.0-1063-azure Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-headers-6.8.0-1064-gcp Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-headers-6.8.0-1064-gcp-64k Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-headers-6.8.0-136-generic Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-headers-6.8.0-136-generic-64k Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-headers-6.8.0-136-lowlatency Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-headers-6.8.0-136-lowlatency-64k Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-headers-6.8.1-1056-realtime Advisory build 6.8.1-1056.57~22.04.2 USN-8567-1
Ubuntu jammy linux-hwe-6.8 Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-hwe-6.8-cloud-tools-6.8.0-136 Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-hwe-6.8-headers-6.8.0-136 Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-hwe-6.8-tools-6.8.0-136 Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-ibm-6.8 Advisory build 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu jammy linux-ibm-6.8-headers-6.8.0-1061 Advisory build 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu jammy linux-ibm-6.8-tools-6.8.0-1061 Advisory build 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu jammy linux-image-6.8.0-136-generic Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-image-unsigned-6.8.0-1058-oracle Advisory build 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu jammy linux-image-unsigned-6.8.0-1058-oracle-64k Advisory build 6.8.0-1058.61~22.04.1 USN-8595-1
Ubuntu jammy linux-image-unsigned-6.8.0-1059-nvidia Advisory build 6.8.0-1059.62~22.04.1 USN-8596-1
Ubuntu jammy linux-image-unsigned-6.8.0-1059-nvidia-64k Advisory build 6.8.0-1059.62~22.04.1 USN-8596-1
Ubuntu jammy linux-image-unsigned-6.8.0-1061-aws Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-image-unsigned-6.8.0-1061-aws-64k Advisory build 6.8.0-1061.64~22.04.1 USN-8595-3
Ubuntu jammy linux-image-unsigned-6.8.0-1061-ibm Advisory build 6.8.0-1061.62~22.04.1 USN-8574-3
Ubuntu jammy linux-image-unsigned-6.8.0-1062-azure-fde Advisory build 6.8.0-1062.69~22.04.1 USN-8609-1
Ubuntu jammy linux-image-unsigned-6.8.0-1063-azure Advisory build 6.8.0-1063.71~22.04.1 USN-8606-1
Ubuntu jammy linux-image-unsigned-6.8.0-1064-gcp Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-image-unsigned-6.8.0-1064-gcp-64k Advisory build 6.8.0-1064.72~22.04.1 USN-8567-1
Ubuntu jammy linux-image-unsigned-6.8.0-136-generic Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-image-unsigned-6.8.0-136-generic-64k Advisory build 6.8.0-136.136~22.04.1 USN-8619-1
Ubuntu jammy linux-image-unsigned-6.8.0-136-lowlatency Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-image-unsigned-6.8.0-136-lowlatency-64k Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-image-unsigned-6.8.1-1056-realtime Advisory build 6.8.1-1056.57~22.04.2 USN-8567-1
Ubuntu jammy linux-lowlatency-hwe-6.8 Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-lowlatency-hwe-6.8-cloud-tools-6.8.0-136 Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2
Ubuntu jammy linux-lowlatency-hwe-6.8-headers-6.8.0-136 Advisory build 6.8.0-136.136.2~22.04.1 USN-8574-2

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In 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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

29

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scenarios
en: AV:N - ksmbd is an in-kernel SMB server reachable over TCP/445, and the vulnerable path is triggered by a remote SMB2 QUERY_INFO request for FILE_FULL_EA_INFORMATION. AC:L - The attacker can craft the InputBufferLength/EaNameLength mismatch directly and repeatedly; there is no race or condition outside attacker control beyond reaching a normal share/file with extended attributes. PR:N - The path requires a valid SMB session, tree connection, and file handle, but ksmbd supports guest/anonymous sessions and guest-accessible shares, making unauthenticated exploitation reasonable in the highest-severity deployment scenario. UI:N - No victim action is required after the SMB service and share are available; the attacker sends protocol requests directly. S:U - The vulnerable component and impacted memory are within the same kernel security authority, with no VM, sandbox, or separate authorization boundary crossed. C:H - The unchecked EaNameLength causes an out-of-bounds heap read in strncmp(), and the fix explicitly describes leaking uninitialized heap values to the client; under the required guidance, out-of-bounds reads are High unless strictly limited to a few bytes. I:N - The bug is an over-read used for comparison and response selection, with no out-of-bounds write or direct data modification primitive identified. A:N - The demonstrated impact is information disclosure from a bounded heap over-read, and the investigated path does not show a reliable kernel panic, hang, or memory corruption condition.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 859f11e1bc81a4d32bb3ceeae54bcd296ac675d3 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 4b73376feecb3b61172fe5b4ff42bbbb8531669d (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 551dfb15b182abad4600eaf7b37e6eb7000d5b1b (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3363a770b193f555f29d76ddf4ced3305c0ccf6d (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 243b206bcb5a7137e8bddd57b2eec81e1ebd3859 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < dfc6878d14acafffbe670bf2576620757a10a3d8 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 66751841212c2cc196577453c37f7774ff363f02 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)6.1.175 through 6.1.* (unaffected · semver)6.6.136 through 6.6.* (unaffected · semver)6.12.83 through 6.12.* (unaffected · semver)6.18.24 through 6.18.* (unaffected · semver)6.19.14 through 6.19.* (unaffected · semver)7.0.1 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 and later (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

2

Linux · cna

ksmbd: validate EaNameLength in smb2_get_ea()

siemens-SADP · adp

Provenance

Schema
5.2
Searchable
yes
Content hash
fd0cb344a5592a2c438fbc1547224cb1453e815bd0b8543d37b346aa5d879b58
Ingested
15 Oct 2026, 13:15:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected