CVE-2025-21927
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•HIGH•Score: 8CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 0.48%• Percentile: 41%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- debian•linux
all | all | < 6.12.19-1 | < 6.12.19-1
- ubuntu•linux
all | all | < 6.8.0-84.84
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | all | < 6.8.0-1039.41
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
all
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1039.41~22.04.1
- ubuntu•linux-aws-fips
all | < 6.8.0-1039.41+fips1
- ubuntu•linux-azure
all | all | all | < 6.8.0-1038.44
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
all
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
< 6.11.0-1018.18~24.04.1
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1036.42~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
all | < 6.8.0-1040.46+fips1
- ubuntu•linux-azure-nvidia
< 6.8.0-1025.27
- ubuntu•linux-bluefield
all | all
- ubuntu•linux-fips
all | < 6.8.0-84.84+fips1
- ubuntu•linux-gcp
all | all | all | < 6.8.0-1040.42
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
all
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
all
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.11
< 6.11.0-1016.16~24.04.1
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-6.8
< 6.8.0-1040.42~22.04.1
- ubuntu•linux-gcp-fips
all | < 6.8.0-1040.42+fips1
- ubuntu•linux-gke
all | all | < 6.8.0-1036.40
Showing first 50 affected entries in server-rendered view.
References (48)
- https://git.kernel.org/stable/c/9fbc953d6b38bc824392e01850f0aeee3b348722
- https://git.kernel.org/stable/c/22b06c89aa6b2d1ecb8aea72edfb9d53af8d5126
- https://git.kernel.org/stable/c/ad95bab0cd28ed77c2c0d0b6e76e03e031391064
- https://access.redhat.com/errata/RHSA-2025:4339
- https://access.redhat.com/security/updates/classification/#important
- https://bugzilla.redhat.com/show_bug.cgi?id=2356593
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4339.json
- https://access.redhat.com/security/cve/CVE-2025-21927
- https://www.cve.org/CVERecord?id=CVE-2025-21927
- https://nvd.nist.gov/vuln/detail/CVE-2025-21927
- https://lore.kernel.org/linux-cve-announce/2025040133-CVE-2025-21927-36d6@gregkh/T
- https://access.redhat.com/errata/RHSA-2025:4340
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4340.json
- https://access.redhat.com/errata/RHSA-2025:4469
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4469.json
- https://access.redhat.com/errata/RHSA-2025:4471
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4471.json
- https://access.redhat.com/errata/RHSA-2025:4496
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4496.json
- https://access.redhat.com/errata/RHSA-2025:4497
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4497.json
- https://access.redhat.com/errata/RHSA-2025:4498
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4498.json
- https://access.redhat.com/errata/RHSA-2025:4499
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4499.json
- https://access.redhat.com/errata/RHSA-2025:7501
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_7501.json
- https://ubuntu.com/security/CVE-2025-21927
- https://git.kernel.org/linus/ad95bab0cd28ed77c2c0d0b6e76e03e031391064
- https://ubuntu.com/security/notices/USN-7605-1
- https://ubuntu.com/security/notices/USN-7606-1
- https://ubuntu.com/security/notices/USN-7605-2
- https://ubuntu.com/security/notices/USN-7628-1
- https://ubuntu.com/security/notices/USN-7764-1
- https://ubuntu.com/security/notices/USN-7765-1
- https://ubuntu.com/security/notices/USN-7766-1
- https://ubuntu.com/security/notices/USN-7767-1
- https://ubuntu.com/security/notices/USN-7779-1
- https://ubuntu.com/security/notices/USN-7767-2
- https://ubuntu.com/security/notices/USN-7764-2
- https://ubuntu.com/security/notices/USN-7790-1
- https://ubuntu.com/security/notices/USN-7800-1
- https://ubuntu.com/security/notices/USN-7801-1
- https://ubuntu.com/security/notices/USN-7802-1
- https://ubuntu.com/security/notices/USN-7801-2
- https://ubuntu.com/security/notices/USN-7809-1
- https://ubuntu.com/security/notices/USN-7801-3
- https://security-tracker.debian.org/tracker/CVE-2025-21927