CVE-2026-74560
Last modified
CVE-2026-74560 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: xsk: fix buffer leak in xsk_drop_skb() for AF_XDP multi-buffer Tx This patch is inspired by the check[1] from sashiko. It says when overflow happens, the address of cq to be published is invalid. Actually the severer thing is the whole process of publishing the address of cq in this particular case is not right: it should truely publish the address and advance the cached_prod in cq as long as it reads descriptors from txq. The following is the full analysis. xsk_drop_skb() is called in three places, which all discard a partially built multi-buffer skb: 1) xsk_build_skb() -EOVERFLOW error path: packet exceeds MAX_SKB_FRAGS 2) __xsk_generic_xmit() post-loop cleanup: an invalid descriptor in the TX ring prevents the partial packet from completing 3) xsk_release(): socket close while xs->skb holds an incomplete packet In all three cases, the TX descriptors for the already-processed frags have been consumed from the TX ring (xskq_cons_release), and CQ slots have been reserved. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: xsk: fix buffer leak in xsk_drop_skb() for AF_XDP multi-buffer Tx This patch is inspired by the check[1] from sashiko. It says when overflow happens, the address of cq to be published is invalid. Actually the severer thing is the whole process of publishing the address of cq in this particular case is not right: it should truely publish the address and advance the cached_prod in cq as long as it reads descriptors from txq. The following is the full analysis. xsk_drop_skb() is called in three places, which all discard a partially built multi-buffer skb: 1) xsk_build_skb() -EOVERFLOW error path: packet exceeds MAX_SKB_FRAGS 2) __xsk_generic_xmit() post-loop cleanup: an invalid descriptor in the TX ring prevents the partial packet from completing 3) xsk_release(): socket close while xs->skb holds an incomplete packet In all three cases, the TX descriptors for the already-processed frags have been consumed from the TX ring (xskq_cons_release), and CQ slots have been reserved. However, xsk_drop_skb() calls xsk_consume_skb() which cancels the CQ reservations via xsk_cq_cancel_locked(). Since the buffer addresses never appear in the completion queue, userspace permanently loses track of these buffers. Fix this by letting consume_skb() trigger the existing xsk_destruct_skb destructor, which already submits buffer addresses to the CQ via xsk_cq_submit_addr_locked(). Note that cancelling the descriptors back to the TX ring (via xskq_cons_cancel_n) is not a appropriate option because an oversized packet that always exceeds MAX_SKB_FRAGS would be retried indefinitely, which is an obviously deadlock bug in the TX path. Also move the desc->addr assignment in xsk_build_skb() above the overflow check so that the current descriptor's address is recorded before a potential -EOVERFLOW jump to free_err, consistent with the zerocopy path in xsk_build_skb_zerocopy(). [1]: https://lore.kernel.org/all/20260425041726.85FB3C2BCB2@smtp.kernel.org/
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, < 05e283466b86e0b25a5209a3eafe87aa9886064a; >= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, < a0528ab6af62bf57153caaf8ea28e5fcb0e18fd4; >= cf24f5a5feeaae34c1a34d1e04f8ac697290427a, < a3c8382ebce4780c6b3ace2c09bc342313ac0186 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-74560?
How severe is CVE-2026-74560?
How do I fix CVE-2026-74560?
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 2026
- CVE-2026-74555In the Linux kernel, the following vulnerability has been re…
- CVE-2026-74556In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-74557In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-74558In the Linux kernel, the following vulnerability has been re…
- CVE-2026-74559In the Linux kernel, the following vulnerability has been re…
- CVE-2026-7456The Udimi Tools plugin for WordPress is vulnerable to unauth…6.5
- CVE-2026-74561In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-74562In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-74563In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-74564In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-74565In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-74566In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-74560?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
