{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "184c449f91fef521042970cca46bd5cdfc0e3a37"
            },
            {
              "fixed": "967e10f40a0c6732db299cbe001df0e859196055"
            },
            {
              "fixed": "1cb8e40525a72c9f1e1cf94c68c172b3b9bbdc81"
            },
            {
              "fixed": "6ea8f643053f33622f9116e4e1db58306ece45e3"
            },
            {
              "fixed": "9e841723ba482d41ecbf90241c756a16cdfea949"
            },
            {
              "fixed": "eff227a3cb4d0089fbb85c73480bf8abf2e5ae7f"
            },
            {
              "fixed": "2cc1c3977acbffc417fb5b57699d1df3dcffb5fd"
            },
            {
              "fixed": "930318290d8509e864c015fe6c9239470b3c579c"
            },
            {
              "fixed": "4da3b7b8b50f3e2fde54a4c18a82a8e3f6223910"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.10.0"
            },
            {
              "fixed": "5.10.271"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.222"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.189"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.158"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.55"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98567.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: xps: reject an out of range traffic class\n\nOnly the entries below dev-\u003enum_tc are valid in dev-\u003etc_to_txq[], and\ndev-\u003eprio_tc_map[] may only name classes below it. netdev_set_num_tc()\nlowers dev-\u003enum_tc without touching either array.\n\nnetdev_txq_to_tc() walks all TC_MAX_QUEUE slots and\nnetdev_get_prio_tc_map() returns the entry as it stands, so a leftover\nentry is handed out as a traffic class \u003e= dev-\u003enum_tc. Taking that\nclass from netdev_txq_to_tc(), __netif_set_xps_queue() rejects only a\nnegative one and indexes an XPS map sized for dev-\u003enum_tc classes:\n\n\ttci = j * num_tc + tc;\n\tRCU_INIT_POINTER(new_dev_maps-\u003eattr_map[tci], map);\n\nattr_map[] holds nr_ids * num_tc entries and j runs over the ids named\nin the mask, so a class that is not below num_tc pushes tci past the end\nof the map for the last ids and the store overruns it.\n\nAny caller that lowers num_tc leaves such entries behind, and\nmqprio_destroy() tears down with netdev_set_num_tc(dev, 0) rather than\nnetdev_reset_tc(). After mqprio with 8 classes then 1, tc_to_txq[1..7]\nstill describe txq 1..7. The splat is from an XPS write to txq 2 on a\nveth with 8 rx queues: attr_map[] has 8 * 1 entries, tci = j + 2, and\nj == 6 stores one past the end of the 88-byte map:\n\n  BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue (net/core/dev.c:2954)\n  Write of size 8 at addr ffff88813016bc58 by task xps_oob/634\n   __netif_set_xps_queue (net/core/dev.c:2954)\n   xps_rxqs_store (net/core/net-sysfs.c:1880)\n   netdev_queue_attr_store (net/core/net-sysfs.c:1390)\n  Allocated by task 634:\n   __kmalloc_noprof (mm/slub.c:5439)\n   __netif_set_xps_queue (net/core/dev.c:2937)\n  The buggy address is located 0 bytes to the right of\n   allocated 88-byte region [ffff88813016bc00, ffff88813016bc58)\n\nReject a class the map has no room for.",
  "id": "CVE-2026-98567",
  "modified": "2026-10-20T02:30:20.689577968Z",
  "published": "2026-10-18T15:18:33.721Z",
  "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/1cb8e40525a72c9f1e1cf94c68c172b3b9bbdc81"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2cc1c3977acbffc417fb5b57699d1df3dcffb5fd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4da3b7b8b50f3e2fde54a4c18a82a8e3f6223910"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6ea8f643053f33622f9116e4e1db58306ece45e3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/930318290d8509e864c015fe6c9239470b3c579c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/967e10f40a0c6732db299cbe001df0e859196055"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9e841723ba482d41ecbf90241c756a16cdfea949"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/eff227a3cb4d0089fbb85c73480bf8abf2e5ae7f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98567.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98567"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "net: xps: reject an out of range traffic class"
}