{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "255c04a87f4381849fce9ed81e5efabf78a71a30"
            },
            {
              "fixed": "83c934f19095aefe5fe194c3061a2c5209052da8"
            },
            {
              "fixed": "709cd45ffaccd908b8fe55e187d27385dee18cbb"
            },
            {
              "fixed": "8278c52cceeaf5a2aee1c136f52f4f952e07477e"
            },
            {
              "fixed": "a41ea4632f8e471880a938506e2532e648c72cb2"
            },
            {
              "fixed": "67efd20563fcf0284cee7d4b3cd16bee90f59c7d"
            },
            {
              "fixed": "540c49f4cf0c62bbd4c56ceed0873b8ed7251400"
            },
            {
              "fixed": "6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139179.json"
  },
  "details": "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-\u003enum_tc, so when dev-\u003enum_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-\u003enum_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.",
  "id": "CVE-2026-139179",
  "modified": "2026-11-30T14:45:48.153950131Z",
  "published": "2026-11-30T13:32:18.668Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/540c49f4cf0c62bbd4c56ceed0873b8ed7251400"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67efd20563fcf0284cee7d4b3cd16bee90f59c7d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6d5a2cb0b7d6caf170d37ae7ac74738d592d2a05"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/709cd45ffaccd908b8fe55e187d27385dee18cbb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8278c52cceeaf5a2aee1c136f52f4f952e07477e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/83c934f19095aefe5fe194c3061a2c5209052da8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a41ea4632f8e471880a938506e2532e648c72cb2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139179.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139179"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net: xps: bound the cleanup loop by the old map's num_tc"
}