CVE-2025-21927: nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()

Published Apr 1, 2025
·
Updated

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

nvme-tcp: fix potential memory corruption in nvmetcprecvpdu()

nvmetcprecvpdu() doesn't check the validity of the header length. When header digests are enabled, a target might send a packet with an invalid header length (e.g. 255), causing nvmetcpverifyhdgst() to access memory outside the allocated area and cause memory corruptions by overwriting it with the calculated digest.

Fix this by rejecting packets with an unexpected header length.

Affected Software

14 affected components
Linux Linux kernel
Linux Linux kernel>=5.0<6.12.19
Linux Linux kernel>=6.13<6.13.7
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Microsoft azl3 kernel 6.6.96.2-1
Microsoft cbl2 kernel 5.15.186.1-1
Microsoft azl3 kernel 6.6.112.1-2
Microsoft azl3 kernel 6.6.117.1-1
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.104.2-4

Event History

Apr 1, 2025
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverity
Data Sourced
via Red Hat·04:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·01:20 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:20 AM
Affected Software
Updated
via Microsoft·01:20 AM
SeverityAffected Software
Updated
via Microsoft·01:20 AM
Affected Software
Updated
via Microsoft·01:20 AM
Description
Oct 31, 58546
Event
via MITRE·06:28 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-21927?

CVE-2025-21927 is classified as having a high severity due to its potential for memory corruption in the Linux kernel.

2

How do I fix CVE-2025-21927?

To mitigate CVE-2025-21927, it is recommended to update to the latest version of the Linux kernel where this vulnerability has been addressed.

3

What are the potential impacts of CVE-2025-21927?

CVE-2025-21927 may lead to memory corruption, which can result in system crashes or unauthorized access.

4

Which versions of the Linux kernel are affected by CVE-2025-21927?

CVE-2025-21927 affects multiple versions of the Linux kernel prior to the inclusion of the fix.

5

What systems are most at risk from CVE-2025-21927?

Systems using the affected versions of the Linux kernel with NVMe over TCP support enabled are most at risk from CVE-2025-21927.

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