{"cve":"CVE-2026-98567","nvd":{"published":"2026-10-18T16:17:08.870","modified":"2026-10-19T10:19:14.597","status":"Received","description":"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->num_tc are valid in dev->tc_to_txq[], and\ndev->prio_tc_map[] may only name classes below it. netdev_set_num_tc()\nlowers dev->num_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 >= dev->num_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->num_tc classes:\n\n\ttci = j * num_tc + tc;\n\tRCU_INIT_POINTER(new_dev_maps->attr_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.","cvss_v4":null,"cvss_v3":null,"cwes":[],"references":["https://git.kernel.org/stable/c/1cb8e40525a72c9f1e1cf94c68c172b3b9bbdc81","https://git.kernel.org/stable/c/2cc1c3977acbffc417fb5b57699d1df3dcffb5fd","https://git.kernel.org/stable/c/4da3b7b8b50f3e2fde54a4c18a82a8e3f6223910","https://git.kernel.org/stable/c/6ea8f643053f33622f9116e4e1db58306ece45e3","https://git.kernel.org/stable/c/930318290d8509e864c015fe6c9239470b3c579c"],"products":[],"source":"nvd","synced_at":"2026-10-19T23:00:53.604569364+00:00"},"epss":{"cve":"CVE-2026-98567","score":0.00216,"percentile":0.11959,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}