CVE-2023-52454 json
nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
published 2024-02-23 2 y ago modified 2026-08-05 3 mo ago also EUVD-2023-57079
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 5.4.268, 5.10.209, 5.15.148, 6.1.75, 6.6.14, 6.7.2, 6.8
- linux Debian 12 6.1.76-1
- linux Debian 14, Debian 13 6.6.15-1
debian advisories DEBIAN-CVE-2023-52454
- linux Ubuntu 20.04 LTS 5.4.0-176.196
- linux Ubuntu 22.04 LTS 5.15.0-102.112
- linux-aws Ubuntu 20.04 LTS 5.4.0-1122.132
- linux-aws Ubuntu 22.04 LTS 5.15.0-1057.63
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1126.135
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1055.63
- linux-gke Ubuntu 22.04 LTS 5.15.0-1054.59
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1069.74
ubuntu advisories UBUNTU-CVE-2023-52454
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.216.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.216.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.216.1
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.182.1
- kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.182.1
suse advisories SUSE-SU-2024:1870-1SUSE-SU-2024:1646-1SUSE-SU-2024:1643-1SUSE-SU-2024:1490-1SUSE-SU-2024:1489-1SUSE-SU-2024:1480-1
- git.kernel.org/stable/c/ee5e7632e981673f42a50ade25e71e612e543d9d commit
- git.kernel.org/stable/c/f775f2621c2ac5cc3a0b3a64665dad4fb146e510 commit
- git.kernel.org/stable/c/4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d commit
- git.kernel.org/stable/c/2871aa407007f6f531fae181ad252486e022df42 commit
- git.kernel.org/stable/c/24e05760186dc070d3db190ca61efdbce23afc88 commit
- git.kernel.org/stable/c/70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68 commit
- git.kernel.org/stable/c/efa56305908ba20de2104f1b8508c6a7401833be commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52454 updated cvss 6.5
kernel: nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “No mitigation is currently available for this vulnerability. Make sure to perform the updates as they become available.”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: workaround, no fix available “No mitigation is currently available for this vulnerability. Make sure to perform the updates as they become available.”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +82 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/ee5e7632e981673f42a50ade25e71e612e543d9d
patch
-
git.kernel.org
/stable/c/f775f2621c2ac5cc3a0b3a64665dad4fb146e510
patch
-
git.kernel.org
/stable/c/4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d
patch
-
git.kernel.org
/stable/c/2871aa407007f6f531fae181ad252486e022df42
patch
-
git.kernel.org
/stable/c/24e05760186dc070d3db190ca61efdbce23afc88
patch
-
git.kernel.org
/stable/c/70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68
patch
-
git.kernel.org
/stable/c/efa56305908ba20de2104f1b8508c6a7401833be
patch
- lists.debian.org /debian-lts-announce/2024/06/msg00016.html
Sources
- CVE List CVE-2023-52454
- NVD CVE-2023-52454
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.