Buffer overflow in Linux
CVE-2025-21927
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.006 · 50.7th percentile
- Published
- 2025-04-01
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.006, 50.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 3f2304f8c6d6ed97849057bd16fee99e434ca796, 5.0, 0
- Linux Kernel — versions 6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/9fbc953d6b38bc824392e01850f0aeee3b348722 (Patch)
- git.kernel.org/stable/c/22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126 (Patch)
- git.kernel.org/stable/c/ad95bab0cd28ed77c2c0d0b6e76e03e031391064 (Patch)
- git.kernel.org/stable/c/9d22cf5cc94cd7dee84773ec41db78a46107dfa3
- git.kernel.org/stable/c/3b54109b2f771f74fd53b027429796326f84ab36