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

Published Feb 23, 2024
·
Updated

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 nvmettcpbuildpduiovec().

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 lr : nvmettcpiowork+0x6ac/0x718 [nvmettcp] Call trace: processonework+0x174/0x3c8 workerthread+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 nvmettcphandleicreq().

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=5.0.0<5.4.268
Linux Linux kernel>=5.5.0<5.10.209
Linux Linux kernel>=5.11.0<5.15.148
Linux Linux kernel>=5.16.0<6.1.75
Linux Linux kernel>=6.2.0<6.6.14
Linux Linux kernel>=6.7.0<6.7.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1

Event History

Feb 23, 2024
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 11, 2024
Data Sourced
via Launchpad·09:51 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·11:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52454?

CVE-2023-52454 has a severity rating that indicates it can lead to a kernel panic due to an invalid H2C PDU length.

2

How do I fix CVE-2023-52454?

To fix CVE-2023-52454, update the Linux kernel to a version that is not affected, such as 5.10.223-1 or higher.

3

Which versions of the Linux kernel are affected by CVE-2023-52454?

CVE-2023-52454 affects Linux kernel versions from 5.0.0 to 5.4.268, 5.5.0 to 5.10.209, 5.11.0 to 5.15.148, 5.16.0 to 6.1.75, and 6.2.0 to 6.6.14.

4

What could happen if CVE-2023-52454 is exploited?

Exploitation of CVE-2023-52454 could result in a kernel panic, causing the system to crash and potentially leading to service disruption.

5

Is there a workaround for CVE-2023-52454?

There are no specific workarounds for CVE-2023-52454, so the best approach is to apply the recommended kernel updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203