{"id":"CVE-2026-74742","aliases":["CVE-2026-74742"],"related":[],"kind":"vulnerability","state":"published","title":"veth: fix queue index used to wake the peer txq in veth_poll","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nveth: fix queue index used to wake the peer txq in veth_poll\n\nveth_poll() derives the index of the peer TX queue to wake from\nrq->xdp_rxq.queue_index. That field is only initialized by\nxdp_rxq_info_reg() in veth_enable_xdp_range(), which runs only when an\nXDP program is attached. On the plain GRO/NAPI path\n(veth_napi_enable_range()) xdp_rxq_info_reg() is never called, so\nqueue_index stays 0 for every queue, as priv->rq is zero-allocated.\n\nSo in a multi-queue setup with GRO enabled and no XDP program attached,\nevery NAPI instance looks at the peer's TX queue 0. If veth_xmit() stops\npeer TX queue 1 because the ptr_ring is full (NETDEV_TX_BUSY), nothing\never wakes it again: the poller draining queue 1 wakes queue 0 instead.\nveth implements no ndo_tx_timeout, so the netdev watchdog does not kick\nin either, and the queue stays stopped indefinitely.\n\nDerive the index from the position of the rq within priv->rq instead,\nwhich is correct regardless of whether XDP was ever enabled.\n\nScripts to reproduce the stall are available at\nhttps://github.com/netoptimizer/veth-backpressure-performance-testing","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nveth: fix queue index used to wake the peer txq in veth_poll\n\nveth_poll() derives the index of the peer TX queue to wake from\nrq->xdp_rxq.queue_index. That field is only initialized by\nxdp_rxq_info_reg() in veth_enable_xdp_range(), which runs only when an\nXDP program is attached. On the plain GRO/NAPI path\n(veth_napi_enable_range()) xdp_rxq_info_reg() is never called, so\nqueue_index stays 0 for every queue, as priv->rq is zero-allocated.\n\nSo in a multi-queue setup with GRO enabled and no XDP program attached,\nevery NAPI instance looks at the peer's TX queue 0. If veth_xmit() stops\npeer TX queue 1 because the ptr_ring is full (NETDEV_TX_BUSY), nothing\never wakes it again: the poller draining queue 1 wakes queue 0 instead.\nveth implements no ndo_tx_timeout, so the netdev watchdog does not kick\nin either, and the queue stays stopped indefinitely.\n\nDerive the index from the position of the rq within priv->rq instead,\nwhich is correct regardless of whether XDP was ever enabled.\n\nScripts to reproduce the stall are available at\nhttps://github.com/netoptimizer/veth-backpressure-performance-testing","source":"cvelist"}],"published":"2026-08-26T14:36:53.580Z","modified":"2026-08-27T06:17:23.867Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9fe31b3f314534e238aa6d0b6fb492134cbcf8be","fixed":"b662a1fb4f3a5ea19bac24eea8315b1d05be51e7","status":"affected"},{"type":"git","introduced":"dc82a33297fc2c58cb0b2b008d728668d45c0f6a","fixed":"73f8dd22b1e533a99ecc3f9b5de6c6daccaecace","status":"affected"},{"type":"git","introduced":"dc82a33297fc2c58cb0b2b008d728668d45c0f6a","fixed":"90bb11fb29d3c55a2c46dc7c386d096b286e7fcf","status":"affected"},{"type":"git","introduced":"dc82a33297fc2c58cb0b2b008d728668d45c0f6a","fixed":"60db47f02bfa2aa688938aa199117ec4f8e31d23","status":"affected"},{"type":"semver","introduced":"6.12.61","fixed":"6.12.105","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.12.105","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.46","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b662a1fb4f3a5ea19bac24eea8315b1d05be51e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73f8dd22b1e533a99ecc3f9b5de6c6daccaecace","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90bb11fb29d3c55a2c46dc7c386d096b286e7fcf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/60db47f02bfa2aa688938aa199117ec4f8e31d23","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74742","url":"https://www.cve.org/CVERecord?id=CVE-2026-74742","licence":"CVE Terms of Use","modified":"2026-08-27T05:01:02.886Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74742","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74742","licence":"Public domain","modified":"2026-08-27T06:17:23.867Z"}],"updatedAt":"2026-11-25T22:59:35.376Z","epss":{"score":0.0046,"percentile":0.41591,"date":"2026-12-01T12:00:22.000Z"}}