Security mailing lists by PureSourceCode

CVE-2026-139179

not scored yet

net: xps: bound the cleanup loop by the old map's num_tc

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < 83c934f19095aefe5fe194c3061a2c5209052da8; >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < 709cd45ffaccd908b8fe55e187d27385dee18cbb; >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < 8278c52cceeaf5a2aee1c136f52f4f952e07477e; >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < a41ea4632f8e471880a938506e2532e648c72cb2; >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < 67efd20563fcf0284cee7d4b3cd16bee90f59c7d; >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < 540c49f4cf0c62bbd4c56ceed0873b8ed7251400; >= 255c04a87f4381849fce9ed81e5efabf78a71a30, < 6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05 83c934f19095aefe5fe194c3061a2c5209052da8, 709cd45ffaccd908b8fe55e187d27385dee18cbb, 8278c52cceeaf5a2aee1c136f52f4f952e07477e, a41ea4632f8e471880a938506e2532e648c72cb2, 67efd20563fcf0284cee7d4b3cd16bee90f59c7d, 540c49f4cf0c62bbd4c56ceed0873b8ed7251400, 6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05
CVE List Linux Linux = 5.13

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.