From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796047146; b=oeUJALMLJLzK/i+ZC9JQGZa4JoFeVBScseu3x3GW3TwHg8KCU7NKOoAuqp0PGMWidYnI ohDfhIQOaMSTdrHM7b0g/e5nNFPzm8M1lWXBCLMbgbO0MH1qhqj4ZUH2lWSlOaqcydT12 xa0bJBCzxwXVDrPWHw6iBSxIhutU5FoT8H27EP0qqtwd9KtX1CzzEvvEVRKVtAiq4xQ1w cC4E3b4YqH697bpDv1V7WlEffYprOE/jrVO/0pg6/Hv0nbvcgdpzQIsu4fpWy7ojWDdqU Dax8VhrrpS9QZ2sZkH0eqRmvf7hgDx75xw3Gss/D1dz2V9hcBAmfnWunlcl0lN07ugA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047146; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=F+Wm8ibHPvciFqU3ye2bbCzXfjmSFLpq8m3tBgaNEFg=; b=bMAQiJs3Fal335vKFEOIjyrEz4jk9aJF1PcNW/88ivvTBhd1VsEMXspCd6tmJnDAi92o pagnoof5Diq6sdgBaZdPF3fwrkrQ1QjATO0AZQ5NESKpokWt+PZlr8N6NAzehPg+H6FfB WKqcX3/+LcUTnIJydaI35168tCwVFdyKEQMfsfqZFZikZ62bYxhdolsdSYKXIvaziDpB6 +icrGNgJNNtXvYysR/dXUIGLCGp14rTD7+59g4BwoyAYd37S2/xq0rmLxshziUMEjAQP5 tVWqgy+3erLVKe13V+RtE0bXEtBojw6RHVZDJV91ysDL6U5Ed7XrqZOtj8qAYT0Ih5Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=QHFjt23C; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5AF5606A336 for ; Mon, 30 Nov 2026 13:59:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=QHFjt23C Received: by smtp.kernel.org (Postfix) with ESMTPSA id F26001F00897; Mon, 30 Nov 2026 13:59:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796047145; bh=F+Wm8ibHPvciFqU3ye2bbCzXfjmSFLpq8m3tBgaNEFg=; h=From:To:Cc:Subject:Date:Reply-To; b=QHFjt23C5apmi4gF2OYisO5kDEOdiJ5RS5hvqNrfnM5YEq13UPkq6DHE4JFs6NqXo b2SXsC2LlGjS6Rss0arGLFEjED9r29BrRvYHYAwbAdUS1+wC9CYkXtq+FBejq71eam DWk2eiW+4uzHcZbGyBTl94b7By8e29bID6t9Tjf4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139179: net: xps: bound the cleanup loop by the old map's num_tc Date: Mon, 30 Nov 2026 14:33:08 +0100 Message-ID: <2026113048-CVE-2026-139179-e5ba@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3585; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rifZ/bqETslWrKy5IvAS3FJym3Jl5N01/CFWENr6KZM=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8VUcUb4c4na7pOunoIbCEp/3nyqPCjBY1y+QXO0WXe P8P1g/oiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkUBTIs2Pndcuu9iI5/Lbp3 /3HWM20RK3z0h2Ge3d0200LP7K7pV8Sii/p2hq34GBMBAA== 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: net: xps: bound the cleanup loop by the old map's num_tc __netif_set_xps_queue() walks the OLD dev_maps to free its entries. The per-row trip count uses the NEW num_tc while the row stride uses the OLD dev_maps->num_tc, so when dev->num_tc was raised without rebuilding the XPS map the last row indexes attr_map[] past the allocation: BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue+0x1458/0x1ee8 Read of size 8 at addr ffff000014f69458 by task insmod/112 The loop frees entries in dev_maps, so both the trip count and the stride must come from dev_maps->num_tc. The map is sized XPS_CPU_DEV_MAPS_SIZE(old num_tc)/XPS_RXQ_DEV_MAPS_SIZE(old num_tc, ...), so iterating the new (larger) num_tc reads past the end. The Linux kernel CVE team has assigned CVE-2026-139179 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 5.15.226 with commit 83c934f19095aefe5fe194c3061a2c5209052da8 Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 6.1.193 with commit 709cd45ffaccd908b8fe55e187d27385dee18cbb Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 6.6.163 with commit 8278c52cceeaf5a2aee1c136f52f4f952e07477e Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 6.12.119 with commit a41ea4632f8e471880a938506e2532e648c72cb2 Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 6.18.65 with commit 67efd20563fcf0284cee7d4b3cd16bee90f59c7d Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 7.3.6 with commit 540c49f4cf0c62bbd4c56ceed0873b8ed7251400 Issue introduced in 5.13 with commit 255c04a87f4381849fce9ed81e5efabf78a71a30 and fixed in 7.4-rc1 with commit 6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05 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-139179 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: net/core/dev.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/83c934f19095aefe5fe194c3061a2c5209052da8 https://git.kernel.org/stable/c/709cd45ffaccd908b8fe55e187d27385dee18cbb https://git.kernel.org/stable/c/8278c52cceeaf5a2aee1c136f52f4f952e07477e https://git.kernel.org/stable/c/a41ea4632f8e471880a938506e2532e648c72cb2 https://git.kernel.org/stable/c/67efd20563fcf0284cee7d4b3cd16bee90f59c7d https://git.kernel.org/stable/c/540c49f4cf0c62bbd4c56ceed0873b8ed7251400 https://git.kernel.org/stable/c/6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05