CVE-2025-21927
published critical CVSS 3.1 · 9.8nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 3b54109b2f771f74fd53b027429796326f84ab36 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 9d22cf5cc94cd7dee84773ec41db78a46107dfa3 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 9fbc953d6b38bc824392e01850f0aeee3b348722 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126 · 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < ad95bab0cd28ed77c2c0d0b6e76e03e031391064 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.19 through 6.12.* (unaffected · semver) · 6.13.7 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-094 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-073 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-102 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
Show 104 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023LIVEPATCH-2025-047 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023LIVEPATCH-2025-048 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023LIVEPATCH-2025-049 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023LIVEPATCH-2025-050 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023LIVEPATCH-2025-051 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-kvm | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-kvm | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-570.16.1.el9_6 | ALSA-2025:7423 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-toolsaarch64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
| Oracle Linux | 10 | kernel-toolsx86_64 | Advisory build | 0:6.12.0-55.19.1.0.1.el10_0 | ELSA-2025-7501 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The malformed PDU arrives over a routable TCP connection (NVMe/TCP, typically port 4420/8009) and is parsed by the nvme-tcp host driver's socket receive path; a malicious/compromised NVMe-oF target or an on-path attacker injecting into the stream triggers it from anywhere on the network. AC:L - The attacker simply sets hdr->hlen to an arbitrary value (e.g. 255) with the HDGST flag in any rsp/r2t/c2h_data PDU — the out-of-bounds read and 4-byte out-of-bounds write occur deterministically, with no race, no memory-layout dependence, and unlimited retries thanks to the driver's automatic error-recovery reconnect. PR:N - The vulnerable parsing happens on any PDU received right after the ICReq/ICResp handshake, before the NVMe Connect command or any DH-HMAC-CHAP authentication, so the remote peer needs no credentials or privileges on the victim host whatsoever. UI:N - No victim action is needed at attack time — NVMe-oF connections are persistent system configuration established at boot and re-established automatically by nvme_tcp_error_recovery(), so a malicious target or on-path attacker can send the crafted PDU at will. S:U - The out-of-bounds access corrupts kernel slab memory within the same host kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - nvme_tcp_verify_hdgst() reads 4 raw heap bytes at an attacker-chosen offset up to 255 past a 28-byte kmalloc object and dev_err() prints them verbatim ("recv %#x"), giving a repeatable adjacent-heap disclosure primitive; the CRC input additionally hashes up to 227 bytes of out-of-bounds memory. I:H - The CRC32C result is written out of bounds at pdu + hlen, an attacker-chosen offset up to 227 bytes past a kmalloc-32 allocation, corrupting neighbouring slab objects; since 24 of the hashed bytes are attacker-controlled and CRC32C is invertible, heap grooming makes both the offset and the written 32-bit value effectively attacker-chosen — a controlled heap write suitable for control-flow hijacking. A:H - The out-of-bounds slab write corrupts adjacent kernel objects and slab metadata, causing oops/panic (immediate BUG under KASAN/hardened SLUB), and the attacker can repeat it across auto-reconnects to reliably crash the host.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 3b54109b2f771f74fd53b027429796326f84ab36 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 9d22cf5cc94cd7dee84773ec41db78a46107dfa3 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 9fbc953d6b38bc824392e01850f0aeee3b348722 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < 22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126 (affected · git)3f2304f8c6d6ed97849057bd16fee99e434ca796 to < ad95bab0cd28ed77c2c0d0b6e76e03e031391064 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.19 through 6.12.* (unaffected · semver)6.13.7 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
5- https://git.kernel.org/stable/c/22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126
- https://git.kernel.org/stable/c/3b54109b2f771f74fd53b027429796326f84ab36
- https://git.kernel.org/stable/c/9d22cf5cc94cd7dee84773ec41db78a46107dfa3
- https://git.kernel.org/stable/c/9fbc953d6b38bc824392e01850f0aeee3b348722
- https://git.kernel.org/stable/c/ad95bab0cd28ed77c2c0d0b6e76e03e031391064
Provider assertions
2Linux · cna
nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fdec2b1cac995d14caaffdd9935af933a467101114607aa06608314b8250aca6
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record