# CVE-2023-52441: ksmbd: fix out of bounds in init\_smb2\_rsp\_hdr()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.81% (percentile 54, 2026-11-26)
- **CWE:** CWE-119
- **Published:** 2024-02-21T07:21:01.075Z
- **Modified:** 2026-08-15T13:17:41.593Z

## Who should check

- Anyone running Linux \>= 51a8534c0f35c0401e45f1055f914729cad98bf9, \< 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b; \>= 0b3ec5671ac06829ccebdaeec05acedfec327f42, \< 330d900620dfc9893011d725b3620cd2ee0bc2bc; \>= 39b291b86b5988bf8753c3874d5c773399d09b96, \< aa669ef229ae8dd779da9caa24e254964545895f; \>= 39b291b86b5988bf8753c3874d5c773399d09b96, \< 536bb492d39bb6c080c92f31e8a55fe9934f452b; cc32cd98a0aee4cc3eb611cbce11795b1aaa738a; \>= 5.15.105, \< 5.15.145; \>= 6.1.22, \< 6.1.53; \>= 6.2.9, \< 6.3
- Anyone running Linux 6.3

## 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.

## Affected and fixed versions

- Linux: \>= 51a8534c0f35c0401e45f1055f914729cad98bf9, \< 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b; \>= 0b3ec5671ac06829ccebdaeec05acedfec327f42, \< 330d900620dfc9893011d725b3620cd2ee0bc2bc; \>= 39b291b86b5988bf8753c3874d5c773399d09b96, \< aa669ef229ae8dd779da9caa24e254964545895f; \>= 39b291b86b5988bf8753c3874d5c773399d09b96, \< 536bb492d39bb6c080c92f31e8a55fe9934f452b; cc32cd98a0aee4cc3eb611cbce11795b1aaa738a; \>= 5.15.105, \< 5.15.145; \>= 6.1.22, \< 6.1.53; \>= 6.2.9, \< 6.3 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 6.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-52441. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52441.md
Affected: Linux >= 51a8534c0f35c0401e45f1055f914729cad98bf9, < 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b; >= 0b3ec5671ac06829ccebdaeec05acedfec327f42, < 330d900620dfc9893011d725b3620cd2ee0bc2bc; >= 39b291b86b5988bf8753c3874d5c773399d09b96, < aa669ef229ae8dd779da9caa24e254964545895f; >= 39b291b86b5988bf8753c38…
Fixed in: Linux 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b, Linux 330d900620dfc9893011d725b3620cd2ee0bc2bc, Linux 536bb492d39bb6c080c92f31e8a55fe9934f452b, Linux 5.15.145, Linux 6.1.53, Linux 6.3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-52441 being exploited?

There is no confirmed exploitation: CVE-2023-52441 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.81% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-52441?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-52441?

Linux \>= 51a8534c0f35c0401e45f1055f914729cad98bf9, \< 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b; \>= 0b3ec5671ac06829ccebdaeec05acedfec327f42, \< 330d900620dfc9893011d725b3620cd2ee0bc2bc; \>= 39b291b86b5988bf8753c3874d5c773399d09b96, \< aa669ef229ae8dd779da9caa24e254964545895f; \>= 39b291b86b5988bf8753c3874d5c773399d09b96, \< 536bb492d39bb6c080c92f31e8a55fe9934f452b; cc32cd98a0aee4cc3eb611cbce11795b1aaa738a; \>= 5.15.105, \< 5.15.145; \>= 6.1.22, \< 6.1.53; \>= 6.2.9, \< 6.3; Linux 6.3.

### Is there a fix for CVE-2023-52441?

Yes. Fixed in Linux 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b, Linux 330d900620dfc9893011d725b3620cd2ee0bc2bc, Linux 536bb492d39bb6c080c92f31e8a55fe9934f452b, Linux 5.15.145, Linux 6.1.53, Linux 6.3. Upgrade Linux to 6.3 or later.

### How do I check if I'm affected by CVE-2023-52441?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b>
- patch: <https://git.kernel.org/stable/c/330d900620dfc9893011d725b3620cd2ee0bc2bc>
- patch: <https://git.kernel.org/stable/c/aa669ef229ae8dd779da9caa24e254964545895f>
- patch: <https://git.kernel.org/stable/c/536bb492d39bb6c080c92f31e8a55fe9934f452b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-52441>

HTML: <https://flawdb.com/CVE-2023-52441> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-52441>
