CVE-2023-52454
nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
Check your servers for CVE-2023-52454
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52454 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.67%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 53.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 26 Feb 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before ee5e7632e981673f42a50ade25e71e612e543d9d affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before f775f2621c2ac5cc3a0b3a64665dad4fb146e510 affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 2871aa407007f6f531fae181ad252486e022df42 affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 24e05760186dc070d3db190ca61efdbce23afc88 affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before 70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68 affected from 872d26a391da92ed8f0c0f5cb5fef428067b7f30, before efa56305908ba20de2104f1b8508c6a7401833be
Other versions: unaffected
|
| Linux |
affected 5.0 unaffected before 5.0 unaffected from 5.4.268 up to and including 5.4.* unaffected from 5.10.209 up to and including 5.10.* unaffected from 5.15.148 up to and including 5.15.* unaffected from 6.1.75 up to and including 6.1.* unaffected from 6.6.14 up to and including 6.6.* unaffected from 6.7.2 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52454 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52454
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52454
trivy image --scanners vuln IMAGE | grep CVE-2023-52454
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ee5e7632e981673f42a50ade25e71e612e543d9d git.kernel.org
- https://git.kernel.org/stable/c/f775f2621c2ac5cc3a0b3a64665dad4fb146e510 git.kernel.org
- https://git.kernel.org/stable/c/4cb3cf7177ae3666be7fb27d4ad4d72a295fb02d git.kernel.org
- https://git.kernel.org/stable/c/2871aa407007f6f531fae181ad252486e022df42 git.kernel.org
- https://git.kernel.org/stable/c/24e05760186dc070d3db190ca61efdbce23afc88 git.kernel.org
- https://git.kernel.org/stable/c/70154e8d015c9b4fb56c1a2ef1fc8b83d45c7f68 git.kernel.org
- https://git.kernel.org/stable/c/efa56305908ba20de2104f1b8508c6a7401833be git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html lists.debian.org
Source: the record CVE-2023-52454 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse