{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139179","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.918Z","datePublished":"2026-11-30T13:32:18.668Z","dateUpdated":"2026-11-30T13:32:18.668Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:32:18.668Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c"],"versions":[{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"83c934f19095aefe5fe194c3061a2c5209052da8","status":"affected","versionType":"git"},{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"709cd45ffaccd908b8fe55e187d27385dee18cbb","status":"affected","versionType":"git"},{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"8278c52cceeaf5a2aee1c136f52f4f952e07477e","status":"affected","versionType":"git"},{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"a41ea4632f8e471880a938506e2532e648c72cb2","status":"affected","versionType":"git"},{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"67efd20563fcf0284cee7d4b3cd16bee90f59c7d","status":"affected","versionType":"git"},{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"540c49f4cf0c62bbd4c56ceed0873b8ed7251400","status":"affected","versionType":"git"},{"version":"255c04a87f4381849fce9ed81e5efabf78a71a30","lessThan":"6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/core/dev.c"],"versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/83c934f19095aefe5fe194c3061a2c5209052da8"},{"url":"https://git.kernel.org/stable/c/709cd45ffaccd908b8fe55e187d27385dee18cbb"},{"url":"https://git.kernel.org/stable/c/8278c52cceeaf5a2aee1c136f52f4f952e07477e"},{"url":"https://git.kernel.org/stable/c/a41ea4632f8e471880a938506e2532e648c72cb2"},{"url":"https://git.kernel.org/stable/c/67efd20563fcf0284cee7d4b3cd16bee90f59c7d"},{"url":"https://git.kernel.org/stable/c/540c49f4cf0c62bbd4c56ceed0873b8ed7251400"},{"url":"https://git.kernel.org/stable/c/6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05"}],"title":"net: xps: bound the cleanup loop by the old map's num_tc","x_generator":{"engine":"bippy-1.2.0"}}}}