CVE-2025-21954
Last modified
CVE-2025-21954 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: netmem: prevent TX of unreadable skbs Currently on stable trees we have support for netmem/devmem RX but not TX. It is not safe to forward/redirect an RX unreadable netmem packet into the device's TX path, as the device may call dma-mapping APIs on dma addrs that should not be passed to it. Fix this by preventing the xmit of unreadable skbs. Tested by configuring tc redirect: sudo tc qdisc add dev eth1 ingress sudo tc filter add dev eth1 ingress protocol ip prio 1 flower ip_proto \ tcp src_ip 192.168.1.12 action mirred egress redirect dev eth1 Before, I see unreadable skbs in the driver's TX path passed to dma mapping APIs. After, I don't see unreadable skbs in the driver's TX path passed to dma mapping APIs.. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: netmem: prevent TX of unreadable skbs Currently on stable trees we have support for netmem/devmem RX but not TX. It is not safe to forward/redirect an RX unreadable netmem packet into the device's TX path, as the device may call dma-mapping APIs on dma addrs that should not be passed to it. Fix this by preventing the xmit of unreadable skbs. Tested by configuring tc redirect: sudo tc qdisc add dev eth1 ingress sudo tc filter add dev eth1 ingress protocol ip prio 1 flower ip_proto \ tcp src_ip 192.168.1.12 action mirred egress redirect dev eth1 Before, I see unreadable skbs in the driver's TX path passed to dma mapping APIs. After, I don't see unreadable skbs in the driver's TX path passed to dma mapping APIs.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.12, < 6.12.20 | — |
| Linux | Linux Kernel | >= 6.13, < 6.13.8 | — |
| Linux | Linux Kernel | 6.14 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21954?
How severe is CVE-2025-21954?
How do I fix CVE-2025-21954?
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-21949In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2195A vulnerability was found in MRCMS 3.1.2. It has been classi…6.1
- CVE-2025-21950In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-21951In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21952In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21953In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21955In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21956In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21957In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21958In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-21959In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2196A vulnerability was found in MRCMS 3.1.2. It has been declar…6.1
Are you affected by CVE-2025-21954?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
