# CVE-2026-74742: veth: fix queue index used to wake the peer txq in veth_poll

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-08-26T14:36:53.580Z
- Modified: 2026-08-27T06:17:23.867Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

veth: fix queue index used to wake the peer txq in veth_poll

veth_poll() derives the index of the peer TX queue to wake from
rq->xdp_rxq.queue_index. That field is only initialized by
xdp_rxq_info_reg() in veth_enable_xdp_range(), which runs only when an
XDP program is attached. On the plain GRO/NAPI path
(veth_napi_enable_range()) xdp_rxq_info_reg() is never called, so
queue_index stays 0 for every queue, as priv->rq is zero-allocated.

So in a multi-queue setup with GRO enabled and no XDP program attached,
every NAPI instance looks at the peer's TX queue 0. If veth_xmit() stops
peer TX queue 1 because the ptr_ring is full (NETDEV_TX_BUSY), nothing
ever wakes it again: the poller draining queue 1 wakes queue 0 instead.
veth implements no ndo_tx_timeout, so the netdev watchdog does not kick
in either, and the queue stays stopped indefinitely.

Derive the index from the position of the rq within priv->rq instead,
which is correct regardless of whether XDP was ever enabled.

Scripts to reproduce the stall are available at
https://github.com/netoptimizer/veth-backpressure-performance-testing

(As written by CVE List.)

## Affected

- Linux Linux: from 9fe31b3f314534e238aa6d0b6fb492134cbcf8be before b662a1fb4f3a5ea19bac24eea8315b1d05be51e7; from dc82a33297fc2c58cb0b2b008d728668d45c0f6a before 73f8dd22b1e533a99ecc3f9b5de6c6daccaecace; from dc82a33297fc2c58cb0b2b008d728668d45c0f6a before 90bb11fb29d3c55a2c46dc7c386d096b286e7fcf; from dc82a33297fc2c58cb0b2b008d728668d45c0f6a before 60db47f02bfa2aa688938aa199117ec4f8e31d23; from 6.12.61 before 6.12.105; 6.16 (not affected: before 6.16; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/b662a1fb4f3a5ea19bac24eea8315b1d05be51e7>
- <https://git.kernel.org/stable/c/73f8dd22b1e533a99ecc3f9b5de6c6daccaecace>
- <https://git.kernel.org/stable/c/90bb11fb29d3c55a2c46dc7c386d096b286e7fcf>
- <https://git.kernel.org/stable/c/60db47f02bfa2aa688938aa199117ec4f8e31d23>

## Sources

- CVE List: [CVE-2026-74742](https://www.cve.org/CVERecord?id=CVE-2026-74742), CVE Terms of Use, modified 2026-08-27
- NVD: [CVE-2026-74742](https://nvd.nist.gov/vuln/detail/CVE-2026-74742), Public domain, modified 2026-08-27

---

Page: https://cve.day/CVE-2026-74742 · Whole record: https://cve.day/CVE-2026-74742.json · Rebuilt by cve.day 2026-11-25T22:59:35.376Z
