CVE-2025-21927
Last modified
CVE-2025-21927 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.0, < 6.12.19 | — |
| Linux | Linux Kernel | >= 6.13, < 6.13.7 | — |
| Linux | Linux Kernel | 6.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21927?
How severe is CVE-2025-21927?
How do I fix CVE-2025-21927?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21921In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21922In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21923In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21924In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21925In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21926In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21928In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21929In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-2193A vulnerability has been found in MRCMS 3.1.2 and classified…8.1
- CVE-2025-21930In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21931In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21932In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-21927?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
