CVE-2026-139179
publishednet: xps: bound the cleanup loop by the old map's num_tc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux255c04a87f4381849fce9ed81e5efabf78a71a30 to < 83c934f19095aefe5fe194c3061a2c5209052da8 · 255c04a87f4381849fce9ed81e5efabf78a71a30 to < 709cd45ffaccd908b8fe55e187d27385dee18cbb · 255c04a87f4381849fce9ed81e5efabf78a71a30 to < 8278c52cceeaf5a2aee1c136f52f4f952e07477e · 255c04a87f4381849fce9ed81e5efabf78a71a30 to < a41ea4632f8e471880a938506e2532e648c72cb2 · 255c04a87f4381849fce9ed81e5efabf78a71a30 to < 67efd20563fcf0284cee7d4b3cd16bee90f59c7d · 255c04a87f4381849fce9ed81e5efabf78a71a30 to < 540c49f4cf0c62bbd4c56ceed0873b8ed7251400 · 255c04a87f4381849fce9ed81e5efabf78a71a30 to < 6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 255c04a87f4381849fce9ed81e5efabf78a71a30 to < 83c934f19095aefe5fe194c3061a2c5209052da8 (affected · git)255c04a87f4381849fce9ed81e5efabf78a71a30 to < 709cd45ffaccd908b8fe55e187d27385dee18cbb (affected · git)255c04a87f4381849fce9ed81e5efabf78a71a30 to < 8278c52cceeaf5a2aee1c136f52f4f952e07477e (affected · git)255c04a87f4381849fce9ed81e5efabf78a71a30 to < a41ea4632f8e471880a938506e2532e648c72cb2 (affected · git)255c04a87f4381849fce9ed81e5efabf78a71a30 to < 67efd20563fcf0284cee7d4b3cd16bee90f59c7d (affected · git)255c04a87f4381849fce9ed81e5efabf78a71a30 to < 540c49f4cf0c62bbd4c56ceed0873b8ed7251400 (affected · git)255c04a87f4381849fce9ed81e5efabf78a71a30 to < 6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/540c49f4cf0c62bbd4c56ceed0873b8ed7251400
- https://git.kernel.org/stable/c/67efd20563fcf0284cee7d4b3cd16bee90f59c7d
- https://git.kernel.org/stable/c/6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05
- https://git.kernel.org/stable/c/709cd45ffaccd908b8fe55e187d27385dee18cbb
- https://git.kernel.org/stable/c/8278c52cceeaf5a2aee1c136f52f4f952e07477e
- https://git.kernel.org/stable/c/83c934f19095aefe5fe194c3061a2c5209052da8
- https://git.kernel.org/stable/c/a41ea4632f8e471880a938506e2532e648c72cb2
Provider assertions
1Linux · cna
net: xps: bound the cleanup loop by the old map's num_tc
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eded0d62153d1b9b3273e087a0b4e406268ffb781b51f6baeabbb7ec0e2244e8
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record