CVE-2025-21927CWE-787

CVE-2025-21927

Critical · published April 1, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
42.7
In the wild
Unconfirmed
What it is

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

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

nvme_tcp_recv_pdu() 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 nvme_tcp_verify_hdgst()

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00511 · 42.7th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2025-04-01T20:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.0, < 6.12.196.12.19
linux/linux_kernel≥ 6.13, < 6.13.76.13.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 01 APR 15:40Z
    nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()
    cvelistv5