CVE-2023-52454

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

MEDIUM
5.5
CVSS Score
Published: February 23, 2024 at 02:46 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.0 ≤ v < 5.10.2095.0 ≤ v < 5.15.1485.0 ≤ v < 5.4.2685.0 ≤ v < 6.1.755.0 ≤ v < 6.6.145.0 ≤ v < 6.7.25.0 ≤ v < 6.85.0.0 ≤ v < 5.4.2685.11.0 ≤ v < 5.15.1485.16.0 ≤ v < 6.1.755.5.0 ≤ v < 5.10.2096.2.0 ≤ v < 6.6.146.7.0 ≤ v < 6.7.25.0872d26a391da92ed8f0c0f5cb5fef428067b7f30
Vendor states this is fixed in 24e05760186dc070d3db190ca61efdbce23afc88 (fixed)
Vendor states this is fixed in 2871aa407007f6f531fae181ad252486e022df42 (fixed)
Vendor states this is fixed in 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d (fixed)
Vendor states this is fixed in 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68 (fixed)
Vendor states this is fixed in ee5e7632e981673f42a50ade25e71e612e543d9d (fixed)
Vendor states this is fixed in efa56305908ba20de2104f1b8508c6a7401833be (fixed)
Vendor states this is fixed in f775f2621c2ac5cc3a0b3a64665dad4fb146e510 (fixed)
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.209 (unaffected)
Vendor states this is fixed in 5.15.148 (unaffected)
Vendor states this is fixed in 5.4.268 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24e05760186dc070d3db190ca61efdbce23afc88
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2871aa407007f6f531fae181ad252486e022df42
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ee5e7632e981673f42a50ade25e71e612e543d9d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/efa56305908ba20de2104f1b8508c6a7401833be
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f775f2621c2ac5cc3a0b3a64665dad4fb146e510
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card