# CVE-2023-52454: nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; 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.93% (percentile 59, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2024-02-23T14:46:17.827Z
- **Modified:** 2026-08-05T09:10:04.196Z

## Who should check

- Anyone running Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ee5e7632e981673f42a50ade25e71e612e543d9d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< f775f2621c2ac5cc3a0b3a64665dad4fb146e510; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 2871aa407007f6f531fae181ad252486e022df42; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 24e05760186dc070d3db190ca61efdbce23afc88; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< efa56305908ba20de2104f1b8508c6a7401833be
- Anyone running Linux 5.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length

If the host sends an H2CData command with an invalid DATAL,
the kernel may crash in nvmet\_tcp\_build\_pdu\_iovec().

Unable to handle kernel NULL pointer dereference at
virtual address 0000000000000000
lr : nvmet\_tcp\_io\_work+0x6ac/0x718 \[nvmet\_tcp\]
Call trace:
  process\_one\_work+0x174/0x3c8
  worker\_thread+0x2d0/0x3e8
  kthread+0x104/0x110

Fix the bug by raising a fatal error if DATAL isn't coherent
with the packet size.
Also, the PDU length should never exceed the MAXH2CDATA parameter which
has been communicated to the host in nvmet\_tcp\_handle\_icreq().

## Affected and fixed versions

- Linux: \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ee5e7632e981673f42a50ade25e71e612e543d9d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< f775f2621c2ac5cc3a0b3a64665dad4fb146e510; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 2871aa407007f6f531fae181ad252486e022df42; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 24e05760186dc070d3db190ca61efdbce23afc88; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< efa56305908ba20de2104f1b8508c6a7401833be (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52454.md
Affected: Linux >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < ee5e7632e981673f42a50ade25e71e612e543d9d; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < f775f2621c2ac5cc3a0b3a64665dad4fb146e510; >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d; >= 872d26a391da92ed8f0c0f5…
Fixed in: Linux 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d, Linux 2871aa407007f6f531fae181ad252486e022df42, Linux 24e05760186dc070d3db190ca61efdbce23afc88, Linux 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68

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-52454 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< ee5e7632e981673f42a50ade25e71e612e543d9d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< f775f2621c2ac5cc3a0b3a64665dad4fb146e510; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 2871aa407007f6f531fae181ad252486e022df42; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 24e05760186dc070d3db190ca61efdbce23afc88; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68; \>= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, \< efa56305908ba20de2104f1b8508c6a7401833be; Linux 5.0.

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

Yes. Fixed in Linux 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d, Linux 2871aa407007f6f531fae181ad252486e022df42, Linux 24e05760186dc070d3db190ca61efdbce23afc88, Linux 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68. No fix listed yet: follow the vendor advisory.

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

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/ee5e7632e981673f42a50ade25e71e612e543d9d>
- patch: <https://git.kernel.org/stable/c/f775f2621c2ac5cc3a0b3a64665dad4fb146e510>
- patch: <https://git.kernel.org/stable/c/4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d>
- patch: <https://git.kernel.org/stable/c/2871aa407007f6f531fae181ad252486e022df42>
- patch: <https://git.kernel.org/stable/c/24e05760186dc070d3db190ca61efdbce23afc88>
- patch: <https://git.kernel.org/stable/c/70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68>
- patch: <https://git.kernel.org/stable/c/efa56305908ba20de2104f1b8508c6a7401833be>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>

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

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