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-2024-26936

published high CVSS 3.1 · 8.2

ksmbd: validate request buffer size in smb2_allocate_rsp_buf()

Published
01 May 2024, 05:26:51 UTC
Updated
05 Aug 2026, 11:28:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < 8f3d0bf1d0c62b539d54c5b9108a845cff619b99 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 21ff9d7d223c5c19cb4334009e4c0c83a2f4d674 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 5c20b242d4fed73a93591e48bfd9772e2322fb11 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 17cf0c2794bdb6f39671265aa18aea5c22ee8c4a · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.159 through 5.15.* (unaffected · semver) · 6.1.88 through 6.1.* (unaffected · semver) · 6.6.29 through 6.6.* (unaffected · semver) · 6.8.8 through 6.8.* (unaffected · semver) · 6.9 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.90-1 DSA-5680-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1067 Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-aws-5.15-headers-5.15.0-1067 Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-tools-5.15.0-1067 Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1070 Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1070 Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1070 Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1070.79~20.04.1.1 USN-6956-1
Ubuntu focal linux-buildinfo-5.15.0-1050-gkeop Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-buildinfo-5.15.0-1060-ibm Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-buildinfo-5.15.0-1062-intel-iotg Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-buildinfo-5.15.0-1065-oracle Advisory build 5.15.0-1065.71~20.04.1 USN-6957-1
Ubuntu focal linux-buildinfo-5.15.0-1066-gcp Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-buildinfo-5.15.0-1067-aws Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-buildinfo-5.15.0-1070-azure Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-buildinfo-5.15.0-118-generic Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-buildinfo-5.15.0-118-generic-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-buildinfo-5.15.0-118-generic-lpae Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-buildinfo-5.15.0-118-lowlatency Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-buildinfo-5.15.0-118-lowlatency-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-cloud-tools-5.15.0-1050-gkeop Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-cloud-tools-5.15.0-1062-intel-iotg Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-cloud-tools-5.15.0-1067-aws Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-cloud-tools-5.15.0-1070-azure Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-cloud-tools-5.15.0-118-generic Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-cloud-tools-5.15.0-118-lowlatency Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1066 Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1066 Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-gkeop-5.15 Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-gkeop-5.15-cloud-tools-5.15.0-1050 Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-gkeop-5.15-headers-5.15.0-1050 Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-gkeop-5.15-tools-5.15.0-1050 Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-headers-5.15.0-1050-gkeop Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-headers-5.15.0-1060-ibm Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-headers-5.15.0-1062-intel-iotg Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-headers-5.15.0-1065-oracle Advisory build 5.15.0-1065.71~20.04.1 USN-6957-1
Ubuntu focal linux-headers-5.15.0-1066-gcp Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-headers-5.15.0-1067-aws Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-headers-5.15.0-1070-azure Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-headers-5.15.0-118-generic Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-headers-5.15.0-118-generic-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-headers-5.15.0-118-generic-lpae Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-headers-5.15.0-118-lowlatency Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-headers-5.15.0-118-lowlatency-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-118 Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-cloud-tools-common Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-headers-5.15.0-118 Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-source-5.15.0 Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-tools-5.15.0-118 Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-tools-common Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-hwe-5.15-tools-host Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1060 Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1060 Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-image-5.15.0-118-generic Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-image-5.15.0-118-generic-lpae Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-image-unsigned-5.15.0-1050-gkeop Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-image-unsigned-5.15.0-1060-ibm Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-image-unsigned-5.15.0-1062-intel-iotg Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-image-unsigned-5.15.0-1065-oracle Advisory build 5.15.0-1065.71~20.04.1 USN-6957-1
Ubuntu focal linux-image-unsigned-5.15.0-1066-gcp Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-image-unsigned-5.15.0-1067-aws Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-image-unsigned-5.15.0-1070-azure Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-image-unsigned-5.15.0-1070-azure-fde Advisory build 5.15.0-1070.79~20.04.1.1 USN-6956-1
Ubuntu focal linux-image-unsigned-5.15.0-118-generic Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-image-unsigned-5.15.0-118-generic-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-image-unsigned-5.15.0-118-lowlatency Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-image-unsigned-5.15.0-118-lowlatency-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1062 Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1062 Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1062 Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-118 Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-common Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-118 Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-118 Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-common Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-host Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-modules-5.15.0-1050-gkeop Advisory build 5.15.0-1050.57~20.04.1 USN-6950-2
Ubuntu focal linux-modules-5.15.0-1060-ibm Advisory build 5.15.0-1060.63~20.04.1 USN-6950-2
Ubuntu focal linux-modules-5.15.0-1062-intel-iotg Advisory build 5.15.0-1062.68~20.04.1 USN-6950-1
Ubuntu focal linux-modules-5.15.0-1065-oracle Advisory build 5.15.0-1065.71~20.04.1 USN-6957-1
Ubuntu focal linux-modules-5.15.0-1066-gcp Advisory build 5.15.0-1066.74~20.04.1 USN-6950-1
Ubuntu focal linux-modules-5.15.0-1067-aws Advisory build 5.15.0-1067.73~20.04.1 USN-6950-2
Ubuntu focal linux-modules-5.15.0-1070-azure Advisory build 5.15.0-1070.79~20.04.1 USN-6956-1
Ubuntu focal linux-modules-5.15.0-118-generic Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-modules-5.15.0-118-generic-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-modules-5.15.0-118-generic-lpae Advisory build 5.15.0-118.128~20.04.1 USN-6950-4
Ubuntu focal linux-modules-5.15.0-118-lowlatency Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-modules-5.15.0-118-lowlatency-64k Advisory build 5.15.0-118.128~20.04.1 USN-6950-1
Ubuntu focal linux-modules-extra-5.15.0-1050-gkeop Advisory build 5.15.0-1050.57~20.04.1 USN-6950-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 request buffer size in smb2_allocate_rsp_buf() The response buffer should be allocated in smb2_allocate_rsp_buf before validating request. But the fields in payload as well as smb2 header is used in smb2_allocate_rsp_buf(). This patch add simple buffer size validation to avoid potencial out-of-bounds in request buffer.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

15

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 - The vulnerable code is in ksmbd, the in-kernel SMB server processing requests received on TCP port 445; the OOB read is driven entirely by fields in a remotely supplied SMB2 packet, making it remotely reachable over the network. AC:L - A single crafted SMB2 QUERY_INFO / transform request deterministically triggers the field read on an undersized buffer, with no race or unpredictable precondition the attacker cannot control. PR:N - In the affected code smb2_allocate_rsp_buf() runs before init_rsp_hdr and before check_user_session, and in the original ordering before decryption/session lookup, so a crafted (transform) request reaches the OOB read pre-authentication—consistent with the paired CVE-2024-26980. UI:N - The attacker sends the malformed request directly to the server; no action by any local user or victim is required. S:U - The out-of-bounds read stays within the kernel's own memory and security authority; no VM, hypervisor, IOMMU, or sandbox boundary is crossed. C:L - The read goes out of bounds by a couple of bytes (InfoType/FileInfoClass) of adjacent slab memory; it is strictly bounded to a few bytes and feeds only an internal size decision, so limited rather than arbitrary disclosure. I:N - The defect is purely an out-of-bounds read used to size the response buffer; there is no out-of-bounds write, freed-object reuse, or type confusion, so no data can be modified. A:H - Reading past a small slab allocation into a redzone or unmapped region produces a KASAN-detected slab-out-of-bounds and can oops/panic the kernel, and the request can be repeated at will, yielding a remote denial of service.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf to < 8f3d0bf1d0c62b539d54c5b9108a845cff619b99 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 21ff9d7d223c5c19cb4334009e4c0c83a2f4d674 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 5c20b242d4fed73a93591e48bfd9772e2322fb11 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 17cf0c2794bdb6f39671265aa18aea5c22ee8c4a (affected · git)Default: unaffected Linux · cna
Linux Linux 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.159 through 5.15.* (unaffected · semver)6.1.88 through 6.1.* (unaffected · semver)6.6.29 through 6.6.* (unaffected · semver)6.8.8 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

5

Provider assertions

3

Linux · cna

ksmbd: validate request buffer size in smb2_allocate_rsp_buf()

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
7b1a0a381534c4f4ffaf2abcf379bc06a759e8505c2b341062f50b971445758a
Ingested
23 Sep 2026, 08:20:34 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