CVE-2024-26952
published high CVSS 3.1 · 8.3ksmbd: fix potencial out-of-bounds when buffer offset is invalid
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < 480469f145e5abf83361e608734e421b7d99693d · 0626e6641f6b467447c81dd7678a69c66f7746cf to < ad6480c9a5d884e2704adc51d69895d93339176c · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 39bdc4197acf2ed13269167ccf093ee28cfa2a4e · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 2dcda336b6e80b72d58d30d40f2fad9724e5fe63 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 0c5541b4c980626fa3cab16ba1a451757778bbb5 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.181 through 5.15.* (unaffected · semver) · 6.1.119 through 6.1.* (unaffected · semver) · 6.6.32 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8.3 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel1da177e4c3f4 to < 2dcda336b6e8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| 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.119-1 | DSA-5818-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1066.72~20.04.1 | USN-6923-2 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el8uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64kaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-coreaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-develaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-modulesaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Oracle Linux | 9 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:5.15.0-310.184.5.2.el9uek | ELSA-2025-20470 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1066 | Advisory build | 5.15.0-1066.72~20.04.1 | USN-6923-2 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1066 | Advisory build | 5.15.0-1066.72~20.04.1 | USN-6923-2 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1066 | Advisory build | 5.15.0-1066.72~20.04.1 | USN-6923-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-1049-gkeop | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1059-ibm | Advisory build | 5.15.0-1059.62~20.04.1 | USN-6923-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1061-intel-iotg | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1065-gcp | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-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-aws | Advisory build | 5.15.0-1066.72~20.04.1 | USN-6923-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-117-generic | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-117-generic-64k | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-117-generic-lpae | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-117-lowlatency | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-117-lowlatency-64k | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1049-gkeop | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1061-intel-iotg | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1066-aws | Advisory build | 5.15.0-1066.72~20.04.1 | USN-6923-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-117-generic | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-117-lowlatency | Advisory build | 5.15.0-117.127~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1065 | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1065 | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu | focal | linux-gkeop-5.15 | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-gkeop-5.15-cloud-tools-5.15.0-1049 | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-gkeop-5.15-headers-5.15.0-1049 | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-gkeop-5.15-tools-5.15.0-1049 | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-headers-5.15.0-1049-gkeop | Advisory build | 5.15.0-1049.56~20.04.1 | USN-6923-1 |
| Ubuntu | focal | linux-headers-5.15.0-1059-ibm | Advisory build | 5.15.0-1059.62~20.04.1 | USN-6923-2 |
| Ubuntu | focal | linux-headers-5.15.0-1061-intel-iotg | Advisory build | 5.15.0-1061.67~20.04.1 | USN-6923-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: fix potencial out-of-bounds when buffer offset is invalid I found potencial out-of-bounds when buffer offset fields of a few requests is invalid. This patch set the minimum value of buffer offset field to ->Buffer offset to validate buffer length.
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.3 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- Scenarios
- en: AV:N - ksmbd is the in-kernel SMB server listening on TCP/445; the malformed offset fields are attacker-supplied bytes in an SMB2 PDU sent over the network. No local access is needed. AC:L - The attacker simply sets a buffer-offset field (PathOffset, InputBufferOffset, BufferOffset, FileNameOffset, InputOffset) below the struct's Buffer offset in a single crafted request; the divergence between the validated window and the read window is deterministic, with no race or unknown state involved. PR:L - All affected commands pass through smb2_check_user_session(), which requires ksmbd_conn_good() and a valid session, so a completed SMB2 session setup (any low-privileged share user, or a mapped guest) is needed; the remaining commands additionally need a tree connect. This matches the sibling fix CVE-2024-26954. UI:N - The server processes the crafted SMB2 request automatically in its kworker; no action by any local user or administrator is required. S:U - The out-of-bounds access and its consequences stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - This is an out-of-bounds read of adjacent kernel heap memory of up to the fixed-header size (~120 bytes) per request, repeatable with attacker-controlled heap grooming, and the leaked bytes are reflected back to the client through FSCTL_PIPE_TRANSCEIVE responses, tree-connect/query-directory name handling and EA replies, yielding kernel memory disclosure. I:L - SMB2_SET_INFO and FSCTL handlers consume the out-of-bounds bytes as file metadata — FILE_END_OF_FILE_INFORMATION truncation lengths, rename/link names, extended attributes, security descriptors and FSCTL_SET_ZERO_DATA ranges — so file data and permissions are modified, but the attacker does not fully control the resulting values. A:H - Reading past the kvmalloc()'d request buffer triggers a KASAN slab-out-of-bounds BUG or a fault on a vmalloc guard page, oopsing the ksmbd kworker and killing the server; the attacker can repeat it at will from the network.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < 480469f145e5abf83361e608734e421b7d99693d (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < ad6480c9a5d884e2704adc51d69895d93339176c (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 39bdc4197acf2ed13269167ccf093ee28cfa2a4e (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 2dcda336b6e80b72d58d30d40f2fad9724e5fe63 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 0c5541b4c980626fa3cab16ba1a451757778bbb5 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.181 through 5.15.* (unaffected · semver)6.1.119 through 6.1.* (unaffected · semver)6.6.32 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8.3 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 1da177e4c3f4 to < 2dcda336b6e8 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
7- https://git.kernel.org/stable/c/0c5541b4c980626fa3cab16ba1a451757778bbb5
- https://git.kernel.org/stable/c/2dcda336b6e80b72d58d30d40f2fad9724e5fe63
- https://git.kernel.org/stable/c/39bdc4197acf2ed13269167ccf093ee28cfa2a4e
- https://git.kernel.org/stable/c/480469f145e5abf83361e608734e421b7d99693d
- https://git.kernel.org/stable/c/ad6480c9a5d884e2704adc51d69895d93339176c
- https://git.kernel.org/stable/c/c6cd2e8d2d9aa7ee35b1fa6a668e32a22a9753da
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
ksmbd: fix potencial out-of-bounds when buffer offset is invalid
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9f04670ffa4b2a7a0b5b176520acafa52408ac1db0bda0fdb0f98d828dceb4ab
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record