CVE-2024-26811
published critical CVSS 3.1 · 9.8ksmbd: validate payload size in ipc response
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < 88b7f1143b15b29cccb8392b4f38e75b7bb3e300 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 51a6c2af9d20203ddeeaf73314ba8854b38d01bd · 0626e6641f6b467447c81dd7678a69c66f7746cf to < a637fabac554270a851033f5ab402ecb90bc479c · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 76af689a45aa44714b46d1a7de4ffdf851ded896 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < a677ebd8ca2f2632ccdecbad7b87641274e15aac · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.157 through 5.15.* (unaffected · semver) · 6.1.85 through 6.1.* (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 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.85-1 | DSA-5658-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1065 | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1065 | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1065 | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1068 | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1068 | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1068 | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1068.77~20.04.1.1 | USN-6917-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1048-gkeop | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1058-ibm | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1060-intel-iotg | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1063-oracle | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1065-aws | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| 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-1068-azure | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-116-generic | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-116-generic-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-116-generic-lpae | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-buildinfo-5.15.0-116-lowlatency | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-116-lowlatency-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1048-gkeop | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1060-intel-iotg | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1065-aws | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1068-azure | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-116-generic | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-116-lowlatency | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| 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-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-gkeop-5.15-cloud-tools-5.15.0-1048 | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-gkeop-5.15-headers-5.15.0-1048 | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-gkeop-5.15-tools-5.15.0-1048 | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-headers-5.15.0-1048-gkeop | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-headers-5.15.0-1058-ibm | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-headers-5.15.0-1060-intel-iotg | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-headers-5.15.0-1063-oracle | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-headers-5.15.0-1065-aws | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-headers-5.15.0-1065-gcp | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu | focal | linux-headers-5.15.0-1068-azure | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-headers-5.15.0-116-generic | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-headers-5.15.0-116-generic-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-headers-5.15.0-116-generic-lpae | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-headers-5.15.0-116-lowlatency | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-headers-5.15.0-116-lowlatency-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-116 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-116 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-source-5.15.0 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-116 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-tools-common | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-hwe-5.15-tools-host | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1058 | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1058 | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-image-5.15.0-116-generic | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-image-5.15.0-116-generic-lpae | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1048-gkeop | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1058-ibm | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1060-intel-iotg | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1063-oracle | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1065-aws | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1065-gcp | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1068-azure | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1068-azure-fde | Advisory build | 5.15.0-1068.77~20.04.1.1 | USN-6917-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-116-generic | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-116-generic-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-116-lowlatency | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-116-lowlatency-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1060 | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1060 | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1060 | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-116 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-116 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-116 | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-common | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-host | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-modules-5.15.0-1048-gkeop | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-modules-5.15.0-1058-ibm | Advisory build | 5.15.0-1058.61~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-modules-5.15.0-1060-intel-iotg | Advisory build | 5.15.0-1060.66~20.04.1 | USN-6898-1 |
| Ubuntu | focal | linux-modules-5.15.0-1063-oracle | Advisory build | 5.15.0-1063.69~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-modules-5.15.0-1065-aws | Advisory build | 5.15.0-1065.71~20.04.1 | USN-6898-4 |
| Ubuntu | focal | linux-modules-5.15.0-1065-gcp | Advisory build | 5.15.0-1065.73~20.04.1 | USN-6927-1 |
| Ubuntu | focal | linux-modules-5.15.0-1068-azure | Advisory build | 5.15.0-1068.77~20.04.1 | USN-6917-1 |
| Ubuntu | focal | linux-modules-5.15.0-116-generic | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-modules-5.15.0-116-generic-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-modules-5.15.0-116-generic-lpae | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-3 |
| Ubuntu | focal | linux-modules-5.15.0-116-lowlatency | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-modules-5.15.0-116-lowlatency-64k | Advisory build | 5.15.0-116.126~20.04.1 | USN-6898-2 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1048-gkeop | Advisory build | 5.15.0-1048.55~20.04.1 | USN-6898-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 payload size in ipc response If installing malicious ksmbd-tools, ksmbd.mountd can return invalid ipc response to ksmbd kernel server. ksmbd should validate payload size of ipc response from ksmbd.mountd to avoid memory overrun or slab-out-of-bounds. This patch validate 3 ipc response that has payload.
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
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable parsing lives in the in-kernel SMB3 server (fs/smb/server/) and is only entered on behalf of a remote client's SMB2 SESSION_SETUP, TREE_CONNECT, or DCERPC-over-IPC$ request, and the over-read bytes are copied straight back into the SMB response sent to that client over TCP/445. AC:L - The kernel unconditionally trusts the embedded length fields, so no memory-layout luck is needed; where handle reuse after the 2 s IPC timeout is involved the attacker drives both sides by opening many connections and issuing concurrent requests to stall ksmbd.mountd, which the rubric treats as attacker-created and therefore Low. PR:N - One of the three responses this patch validates (SPNEGO_AUTHEN) is consumed inside ksmbd_krb5_authenticate() during SMB2 SESSION_SETUP, before the client's credentials are verified, and the over-read blob is written into the response returned to that unauthenticated client; the share-config and IPC$ RPC paths are additionally reachable via guest/anonymous sessions that ksmbd-tools enables by default. UI:N - The attacker triggers the IPC transaction entirely on their own by sending SMB2 requests to the listening server; no local user or administrator has to perform any action. S:U - The out-of-bounds access and its consequences are confined to the kernel that hosts the ksmbd server; no VM, IOMMU, or sandbox boundary is crossed. C:H - smb2_read_pipe() memcpys rpc_resp->payload_sz bytes out of a short slab object and returns them verbatim to the client as SMB2 READ data, and ksmbd_krb5_authenticate() ships spnego_blob_len over-read bytes back in the SESSION_SETUP SecurityBuffer — a large, directly exfiltrated kernel heap disclosure. I:H - Because a wrong-type response is accepted and reinterpreted, security-critical state is built from out-of-bounds slab memory: ksmbd_alloc_user() derives the session's uid/gid/status flags from an OOB login_response, and share->path is kstrdup'd from bytes past the object, letting the server grant a session under an unintended identity or root a share at an unintended path. A:H - An unvalidated payload_sz drives kvmalloc() of an arbitrary u32 size and a matching memcpy from a much smaller allocation, so the slab-out-of-bounds read readily walks into unmapped memory and oopses the kernel (or trips KASAN/hardened usercopy), killing the SMB service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < 88b7f1143b15b29cccb8392b4f38e75b7bb3e300 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 51a6c2af9d20203ddeeaf73314ba8854b38d01bd (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < a637fabac554270a851033f5ab402ecb90bc479c (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 76af689a45aa44714b46d1a7de4ffdf851ded896 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < a677ebd8ca2f2632ccdecbad7b87641274e15aac (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.157 through 5.15.* (unaffected · semver)6.1.85 through 6.1.* (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/51a6c2af9d20203ddeeaf73314ba8854b38d01bd
- https://git.kernel.org/stable/c/76af689a45aa44714b46d1a7de4ffdf851ded896
- https://git.kernel.org/stable/c/88b7f1143b15b29cccb8392b4f38e75b7bb3e300
- https://git.kernel.org/stable/c/a637fabac554270a851033f5ab402ecb90bc479c
- https://git.kernel.org/stable/c/a677ebd8ca2f2632ccdecbad7b87641274e15aac
- https://lists.fedoraproject.org/archives/list/[email protected]/message/6XCNJZBDMGJXRIKLGKM4RRJU4XCHPX62/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LG6L4FXO4WNWUM6W7USOH2YTRVWREM3V/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RO3RO34MLQ6WT3A7O6STQUVXW43N6W3K/
Provider assertions
3Linux · cna
ksmbd: validate payload size in ipc response
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 625f15d91f6ed1a43c04593ea6b197faa8f2da4322500c72beeff83c75add0ae
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record