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-64578

published high CVSS 3.1 · 8.2

ksmbd: validate compound request size before reading StructureSize2

Published
05 Aug 2026, 08:09:33 UTC
Updated
19 Aug 2026, 16:29:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 415d0fff0451ad7ad4caa910f2bb0f562f0fd60f · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 1b6740525f5af90868d557c31b496ae689c8c549 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 2c307126ed8e7adddab82b8e31d962d3a2156ab1 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f7550a91ab211726f59cb137523b7a9eae1ac6eb · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f0e337e7db67cc1c832958bbb6c4026bdceacfdb · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ea128f06d2fb2186f0cac0c9f3e953e4d1f5c29a · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 15b38176fd1530372905c602fde51fe89ec8c877 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.216 through 5.15.* (unaffected · semver) · 6.1.183 through 6.1.* (unaffected · semver) · 6.6.148 through 6.6.* (unaffected · semver) · 6.12.101 through 6.12.* (unaffected · semver) · 6.18.42 through 6.18.* (unaffected · semver) · 7.1.6 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
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.187-1 DLA-4777-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Debian bookworm linux-6.12 Advisory build 6.12.101-1~deb12u1 DLA-4745-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Debian trixie linux Advisory build 6.12.101-1 DSA-6415-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.1.7-1.1 OPENSUSE-SU-2026:11476-1
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1117 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1117 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1117 Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1123 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1123 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1123 Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15-cloud-tools-5.15.0-1122 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15-headers-5.15.0-1122 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-azure-fde-5.15-tools-5.15.0-1122 Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-buildinfo-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-buildinfo-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-buildinfo-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-buildinfo-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-buildinfo-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-cloud-tools-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1118 Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1118 Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-headers-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-headers-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-headers-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-headers-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-headers-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-headers-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-198 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-198 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-198 Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1111 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1111 Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-image-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-image-5.15.0-198-generic-lpae Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-nvidia-tegra Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt Advisory build 5.15.0-1070.72~20.04.1 USN-8963-1
Ubuntu focal linux-image-unsigned-5.15.0-1111-ibm Advisory build 5.15.0-1111.115~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1112-intel-iotg Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1114-oracle Advisory build 5.15.0-1114.120~20.04.1 USN-8879-1
Ubuntu focal linux-image-unsigned-5.15.0-1117-aws Advisory build 5.15.0-1117.124~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1118-gcp Advisory build 5.15.0-1118.128~20.04.1 USN-8878-1
Ubuntu focal linux-image-unsigned-5.15.0-1122-azure-fde Advisory build 5.15.0-1122.131~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-1123-azure Advisory build 5.15.0-1123.132~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-195-lowlatency Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-195-lowlatency-64k Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-198-generic Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-image-unsigned-5.15.0-198-generic-64k Advisory build 5.15.0-198.208~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1112 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1112 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1112 Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1112.118~20.04.1 USN-8875-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-195.205~20.04.1 USN-8875-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-195 Advisory build 5.15.0-195.205~20.04.1 USN-8875-1

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 compound request size before reading StructureSize2 When ksmbd validates a compound (chained) SMB2 request, ksmbd_smb2_check_message() reads pdu->StructureSize2 without first checking that the compound element is large enough to contain it. StructureSize2 is a 2-byte field at offset 64 (__SMB2_HEADER_STRUCTURE_SIZE) from the start of each element. The compound-walking logic only guarantees that a full 64-byte SMB2 header is present for the trailing element: when NextCommand is 0, len is reduced to the number of bytes remaining after next_smb2_rcv_hdr_off. A remote client can craft a compound request whose last element has exactly 64 bytes, so the 2-byte StructureSize2 read at offset 64 extends one byte past the receive buffer, producing a slab-out-of-bounds read. BUG: KASAN: slab-out-of-bounds in ksmbd_smb2_check_message (fs/smb/server/smb2misc.c:402) Read of size 2 at addr ffff888012ae31ac by task kworker/0:1/14 The buggy address is located 172 bytes inside of allocated 173-byte region Workqueue: ksmbd-io handle_ksmbd_work Call Trace: ... kasan_report (mm/kasan/report.c:595) ksmbd_smb2_check_message (fs/smb/server/smb2misc.c:402) handle_ksmbd_work (fs/smb/server/server.c:119) process_one_work (kernel/workqueue.c:3314) worker_thread (kernel/workqueue.c:3397) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Reject any compound element that is too small to hold StructureSize2 before dereferencing it.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

35

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.2 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Scenarios
en: AV:N - ksmbd is an in-kernel SMB server reached over TCP/445; a remote client triggers the bug by sending a crafted compound SMB2 request that is processed in handle_ksmbd_work() → ksmbd_verify_smb_message() → ksmbd_smb2_check_message(). AC:L - The attacker fully controls compound layout and can set the trailing element's remaining length to exactly 64 bytes so StructureSize2 is read one byte past the receive buffer; no race or attacker-uncontrollable condition is required. PR:N - On affected kernels before the compound SESSION_VALID check, a compound NtLmNegotiate SESSION_SETUP (pre-auth, no credentials) sets work->sess and the trailing element still reaches ksmbd_smb2_check_message(); guest/anonymous SESSION_SETUP likewise needs no host privileges. UI:N - Exploitation requires only attacker-sent SMB2 protocol traffic to a listening ksmbd service; no victim user action is needed. S:U - The out-of-bounds read and any resulting kernel impact occur in the host ksmbd/workqueue context and do not cross a VM, IOMMU, or other security-authority boundary. C:L - The flaw is a strictly bounded slab out-of-bounds read of one byte past the receive buffer (2-byte StructureSize2 at offset 64 when only 64 bytes remain); it may disclose adjacent slab contents but not an arbitrary read primitive. I:N - The bug only reads past the buffer for a StructureSize2 comparison; for a 64-byte trailing element every valid command size is then rejected, and there is no out-of-bounds write or other modification primitive. A:H - KASAN reports a slab-out-of-bounds BUG in ksmbd_smb2_check_message(), and the same access can oops/panic hardened or redzone-enabled kernels; a remote peer can retrigger it with further crafted compound requests.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 415d0fff0451ad7ad4caa910f2bb0f562f0fd60f (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 1b6740525f5af90868d557c31b496ae689c8c549 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 2c307126ed8e7adddab82b8e31d962d3a2156ab1 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f7550a91ab211726f59cb137523b7a9eae1ac6eb (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < f0e337e7db67cc1c832958bbb6c4026bdceacfdb (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ea128f06d2fb2186f0cac0c9f3e953e4d1f5c29a (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 15b38176fd1530372905c602fde51fe89ec8c877 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.216 through 5.15.* (unaffected · semver)6.1.183 through 6.1.* (unaffected · semver)6.6.148 through 6.6.* (unaffected · semver)6.12.101 through 6.12.* (unaffected · semver)6.18.42 through 6.18.* (unaffected · semver)7.1.6 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

ksmbd: validate compound request size before reading StructureSize2

Provenance

Schema
5.2
Searchable
yes
Content hash
a5df4351425a164fb02f3a7c7b0806b3ef8613f86a24885c27d714c1dab11d5f
Ingested
23 Sep 2026, 09:26:10 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