CVE-2023-52441
published critical CVSS 3.1 · 9.1ksmbd: fix out of bounds in init_smb2_rsp_hdr()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux51a8534c0f35c0401e45f1055f914729cad98bf9 to < 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b · 0b3ec5671ac06829ccebdaeec05acedfec327f42 to < 330d900620dfc9893011d725b3620cd2ee0bc2bc · 39b291b86b5988bf8753c3874d5c773399d09b96 to < aa669ef229ae8dd779da9caa24e254964545895f · 39b291b86b5988bf8753c3874d5c773399d09b96 to < 536bb492d39bb6c080c92f31e8a55fe9934f452b · cc32cd98a0aee4cc3eb611cbce11795b1aaa738a · 5.15.105 to < 5.15.145 · 6.1.22 to < 6.1.53 · 6.2.9 to < 6.3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 5.15.145 through 5.15.* (unaffected · semver) · 6.1.53 through 6.1.* (unaffected · semver) · 6.4.16 through 6.4.* (unaffected · semver) · 6.5 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 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1057 | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1057 | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1057 | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1060 | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1060 | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1060 | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1060.69~20.04.1.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-102-generic-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-102-generic-lpae | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-102-lowlatency | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-102-lowlatency-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1040-gkeop | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1050-ibm | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1052-intel-iotg | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1055-gcp | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1055-oracle | Advisory build | 5.15.0-1055.61~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1057-aws | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1060-azure | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-102-lowlatency | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1040-gkeop | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1052-intel-iotg | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1057-aws | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1060-azure | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1055 | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1055 | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gkeop-5.15 | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gkeop-5.15-cloud-tools-5.15.0-1040 | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gkeop-5.15-headers-5.15.0-1040 | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-gkeop-5.15-tools-5.15.0-1040 | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-102-generic-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-102-generic-lpae | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-102-lowlatency | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-102-lowlatency-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-1040-gkeop | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-1050-ibm | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-1052-intel-iotg | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-1055-gcp | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-1055-oracle | Advisory build | 5.15.0-1055.61~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-headers-5.15.0-1057-aws | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-headers-5.15.0-1060-azure | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-102 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-102 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-source-5.15.0 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-102 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-common | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-host | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1050 | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1050 | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-5.15.0-102-generic-lpae | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-102-generic-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-102-lowlatency | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-102-lowlatency-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1040-gkeop | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1050-ibm | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1052-intel-iotg | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1055-gcp | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1055-oracle | Advisory build | 5.15.0-1055.61~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1057-aws | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1060-azure | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1060-azure-fde | Advisory build | 5.15.0-1060.69~20.04.1.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1052 | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1052 | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1052 | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-102 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-common | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-102 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-102 | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-common | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-host | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-102-generic-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-102-generic-lpae | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-102-lowlatency | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-102-lowlatency-64k | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-1040-gkeop | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-1050-ibm | Advisory build | 5.15.0-1050.53~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-1052-intel-iotg | Advisory build | 5.15.0-1052.58~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-1055-gcp | Advisory build | 5.15.0-1055.63~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-1055-oracle | Advisory build | 5.15.0-1055.61~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-5.15.0-1057-aws | Advisory build | 5.15.0-1057.63~20.04.1 | USN-6725-2 |
| Ubuntu | focal | linux-modules-5.15.0-1060-azure | Advisory build | 5.15.0-1060.69~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-102-generic | Advisory build | 5.15.0-102.112~20.04.1 | USN-6725-1 |
| Ubuntu | focal | linux-modules-extra-5.15.0-1040-gkeop | Advisory build | 5.15.0-1040.46~20.04.1 | USN-6725-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 out of bounds in init_smb2_rsp_hdr() If client send smb2 negotiate request and then send smb1 negotiate request, init_smb2_rsp_hdr is called for smb1 negotiate request since need_neg is set to false. This patch ignore smb1 packets after ->need_neg is set to false.
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.1 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:N - The bug is in ksmbd (fs/smb/server/), the in-kernel SMB server on TCP/445; init_smb2_rsp_hdr() runs while processing PDUs received from a remote peer via ksmbd_conn_handler_loop(), with no local access required. AC:L - The attacker reliably triggers the defect by sending an SMB2 negotiate (clearing need_neg) then an SMB1 negotiate on the same connection; both sides of the sequence and the small pdu_size that sizes the request slab object are fully attacker-controlled, with no race or external precondition. PR:N - The OOB occurs in init_rsp_hdr() during/after negotiate, before SESSION_SETUP and any credential check; smb2_check_user_session() does not require a session for negotiate, matching ZDI’s unauthenticated assessment (ZDI-CAN-21541). UI:N - Exploitation needs only attacker-sent SMB negotiate PDUs to an already-running ksmbd listener; no local user or administrator action is required. S:U - The out-of-bounds read and leaked response data stay within the host kernel/ksmbd security authority; this is not a VM escape, IOMMU bypass, or sandbox boundary cross. C:H - init_smb2_rsp_hdr() memcpy’s 16 bytes of Signature (and copies SessionId/TreeId) from past the end of the attacker-sized SMB1 request buffer into the response, which ksmbd_conn_write() returns to the unauthenticated peer—a groomable remote kernel-heap disclosure. I:N - The defect is a read past the request buffer; response writes stay inside the correctly allocated response buffer, so there is no out-of-bounds write or integrity/control-flow primitive from this bug alone. A:H - The overread past a tiny kmalloc request object can fault under KFENCE/DEBUG_PAGEALLOC or panic under KASAN/panic_on_warn (as in related KASAN reports), and the attacker can retrigger it pre-authentication at will.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 51a8534c0f35c0401e45f1055f914729cad98bf9 to < 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b (affected · git)0b3ec5671ac06829ccebdaeec05acedfec327f42 to < 330d900620dfc9893011d725b3620cd2ee0bc2bc (affected · git)39b291b86b5988bf8753c3874d5c773399d09b96 to < aa669ef229ae8dd779da9caa24e254964545895f (affected · git)39b291b86b5988bf8753c3874d5c773399d09b96 to < 536bb492d39bb6c080c92f31e8a55fe9934f452b (affected · git)cc32cd98a0aee4cc3eb611cbce11795b1aaa738a (affected · git)5.15.105 to < 5.15.145 (affected · semver)6.1.22 to < 6.1.53 (affected · semver)6.2.9 to < 6.3 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)5.15.145 through 5.15.* (unaffected · semver)6.1.53 through 6.1.* (unaffected · semver)6.4.16 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
ksmbd: fix out of bounds in init_smb2_rsp_hdr()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8b4d00885ff1bd91b10bec27c01c94348649b5bb376717ddcb21942efb03dab
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record