{"id":"CVE-2026-139179","aliases":["CVE-2026-139179"],"related":[],"kind":"vulnerability","state":"published","title":"net: xps: bound the cleanup loop by the old map's num_tc","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: xps: bound the cleanup loop by the old map's num_tc\n\n__netif_set_xps_queue() walks the OLD dev_maps to free its entries.  The\nper-row trip count uses the NEW num_tc while the row stride uses the OLD\ndev_maps->num_tc, so when dev->num_tc was raised without rebuilding the\nXPS map the last row indexes attr_map[] past the allocation:\n\n  BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue+0x1458/0x1ee8\n  Read of size 8 at addr ffff000014f69458 by task insmod/112\n\nThe loop frees entries in dev_maps, so both the trip count and the stride\nmust come from dev_maps->num_tc.  The map is sized\nXPS_CPU_DEV_MAPS_SIZE(old num_tc)/XPS_RXQ_DEV_MAPS_SIZE(old num_tc, ...),\nso iterating the new (larger) num_tc reads past the end.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: xps: bound the cleanup loop by the old map's num_tc\n\n__netif_set_xps_queue() walks the OLD dev_maps to free its entries.  The\nper-row trip count uses the NEW num_tc while the row stride uses the OLD\ndev_maps->num_tc, so when dev->num_tc was raised without rebuilding the\nXPS map the last row indexes attr_map[] past the allocation:\n\n  BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue+0x1458/0x1ee8\n  Read of size 8 at addr ffff000014f69458 by task insmod/112\n\nThe loop frees entries in dev_maps, so both the trip count and the stride\nmust come from dev_maps->num_tc.  The map is sized\nXPS_CPU_DEV_MAPS_SIZE(old num_tc)/XPS_RXQ_DEV_MAPS_SIZE(old num_tc, ...),\nso iterating the new (larger) num_tc reads past the end.","source":"cvelist"}],"published":"2026-11-30T13:32:18.668Z","modified":"2026-11-30T14:18:37.020Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"83c934f19095aefe5fe194c3061a2c5209052da8","status":"affected"},{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"709cd45ffaccd908b8fe55e187d27385dee18cbb","status":"affected"},{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"8278c52cceeaf5a2aee1c136f52f4f952e07477e","status":"affected"},{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"a41ea4632f8e471880a938506e2532e648c72cb2","status":"affected"},{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"67efd20563fcf0284cee7d4b3cd16bee90f59c7d","status":"affected"},{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"540c49f4cf0c62bbd4c56ceed0873b8ed7251400","status":"affected"},{"type":"git","introduced":"255c04a87f4381849fce9ed81e5efabf78a71a30","fixed":"6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/83c934f19095aefe5fe194c3061a2c5209052da8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/709cd45ffaccd908b8fe55e187d27385dee18cbb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8278c52cceeaf5a2aee1c136f52f4f952e07477e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a41ea4632f8e471880a938506e2532e648c72cb2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67efd20563fcf0284cee7d4b3cd16bee90f59c7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/540c49f4cf0c62bbd4c56ceed0873b8ed7251400","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139179","url":"https://www.cve.org/CVERecord?id=CVE-2026-139179","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:18.668Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139179","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139179","licence":"Public domain","modified":"2026-11-30T14:18:37.020Z"}],"updatedAt":"2026-11-30T14:32:49.464Z","epss":{"score":0.00206,"percentile":0.1133,"date":"2026-12-01T12:00:22.000Z"}}