Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77CB943E08D for ; Wed, 26 Aug 2026 14:38:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755133; cv=none; b=jqoc0gAKpCnJYbehnTf4W3Hv8jV6YyrSr+8nxsIrQVXhh+Yf3FarXCQb9IAh49byeoqzQiQJdBSZa+cDdnSgifAnZMLHoAxMkD2GyB9xrGXQE77moDmgmYSpAZH4Cs2NcQR2peyBezoib5QuIt71AQ4ieT7hYbGUfLrFhAkncSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787755133; c=relaxed/simple; bh=xPNpW7HHINuZmz7UsqiApRs9I2HeML4BVDBJWMwDvZI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UjyBHLMnUk38/acfNg/MAcbMhWGZZHp0ds9KwYjLuB8O+QtN75UM2gdSHowBAMxqzQzWoKLk0W7ojbd9lJmPB1ecQ9RQLIgWoMqQs+pMY4qHFTZMLCpgxC92+D9/S8WW2tfvJylV0E2f6abPqY37e6J993uGbTNfUAPYiRWzmwE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=swz/rQWt; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="swz/rQWt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD1421F00A3D; Wed, 26 Aug 2026 14:38:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787755129; bh=+lOZYVPfbF5Gpwb9+5v1SECqUo6WcX0tLIVMDH9iQjA=; h=From:To:Cc:Subject:Date:Reply-To; b=swz/rQWtypp75Ob/7HCBiEIEUufcSfumpcm8KeP1/f8GfliEP1Li0aAz6EMUS53sA Y6l23TCzmKOXLH2G3ViS0ZIXb9Y2TQfHFaZtSrR1l2aNqQVrvCeitbva8DnmMV7BOP tVEH59IozFMphf2bsTSKQTBxi6fa5c7snHoP5reI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74742: veth: fix queue index used to wake the peer txq in veth_poll Date: Wed, 26 Aug 2026 16:37:02 +0200 Message-ID: <2026082657-CVE-2026-74742-9e90@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3285; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sgXoaCRjeM2TRp2/ZVzQdzaU7f8fpwuRRUETURFnsoo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl9vzjn3xAsbOl2WnMxY+o+z1MM1WudbpUFHfymN3H7c Ys1X/OPdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVnAyzC/M0BU4skTK4nWx kaTZuc1T9BgPOjAs2H79s1Dk14UdLnXLONPOels9K7xeDwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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 The Linux kernel CVE team has assigned CVE-2026-74742 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.61 with commit 9fe31b3f314534e238aa6d0b6fb492134cbcf8be and fixed in 6.12.105 with commit b662a1fb4f3a5ea19bac24eea8315b1d05be51e7 Issue introduced in 6.16 with commit dc82a33297fc2c58cb0b2b008d728668d45c0f6a and fixed in 6.18.46 with commit 73f8dd22b1e533a99ecc3f9b5de6c6daccaecace Issue introduced in 6.16 with commit dc82a33297fc2c58cb0b2b008d728668d45c0f6a and fixed in 7.1.10 with commit 90bb11fb29d3c55a2c46dc7c386d096b286e7fcf Issue introduced in 6.16 with commit dc82a33297fc2c58cb0b2b008d728668d45c0f6a and fixed in 7.2 with commit 60db47f02bfa2aa688938aa199117ec4f8e31d23 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-74742 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/veth.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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