CVE-2024-26936
published high CVSS 3.1 · 8.2ksmbd: validate request buffer size in smb2_allocate_rsp_buf()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| 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
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/17cf0c2794bdb6f39671265aa18aea5c22ee8c4a
- https://git.kernel.org/stable/c/21ff9d7d223c5c19cb4334009e4c0c83a2f4d674
- https://git.kernel.org/stable/c/2c27a64a2bc47d9bfc7c3cf8be14be53b1ee7cb6
- https://git.kernel.org/stable/c/5c20b242d4fed73a93591e48bfd9772e2322fb11
- https://git.kernel.org/stable/c/8f3d0bf1d0c62b539d54c5b9108a845cff619b99
Provider assertions
3Linux · 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