CVE-2025-21927

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
01/04/2025
Last modified:
01/10/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()<br /> <br /> nvme_tcp_recv_pdu() doesn&amp;#39;t check the validity of the header length.<br /> When header digests are enabled, a target might send a packet with an<br /> invalid header length (e.g. 255), causing nvme_tcp_verify_hdgst()<br /> to access memory outside the allocated area and cause memory corruptions<br /> by overwriting it with the calculated digest.<br /> <br /> Fix this by rejecting packets with an unexpected header length.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.0 (including) 6.12.19 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.7 (excluding)
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*