CVE-2026-98567
Received Received - Intake

Buffer Overflow in Linux Kernel XPS Configuration

Vulnerability report for CVE-2026-98567, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-18

Last updated on: 2026-10-18

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: net: xps: reject an out of range traffic class Only the entries below dev->num_tc are valid in dev->tc_to_txq[], and dev->prio_tc_map[] may only name classes below it. netdev_set_num_tc() lowers dev->num_tc without touching either array. netdev_txq_to_tc() walks all TC_MAX_QUEUE slots and netdev_get_prio_tc_map() returns the entry as it stands, so a leftover entry is handed out as a traffic class >= dev->num_tc. Taking that class from netdev_txq_to_tc(), __netif_set_xps_queue() rejects only a negative one and indexes an XPS map sized for dev->num_tc classes: tci = j * num_tc + tc; RCU_INIT_POINTER(new_dev_maps->attr_map[tci], map); attr_map[] holds nr_ids * num_tc entries and j runs over the ids named in the mask, so a class that is not below num_tc pushes tci past the end of the map for the last ids and the store overruns it. Any caller that lowers num_tc leaves such entries behind, and mqprio_destroy() tears down with netdev_set_num_tc(dev, 0) rather than netdev_reset_tc(). After mqprio with 8 classes then 1, tc_to_txq[1..7] still describe txq 1..7. The splat is from an XPS write to txq 2 on a veth with 8 rx queues: attr_map[] has 8 * 1 entries, tci = j + 2, and j == 6 stores one past the end of the 88-byte map: BUG: KASAN: slab-out-of-bounds in __netif_set_xps_queue (net/core/dev.c:2954) Write of size 8 at addr ffff88813016bc58 by task xps_oob/634 __netif_set_xps_queue (net/core/dev.c:2954) xps_rxqs_store (net/core/net-sysfs.c:1880) netdev_queue_attr_store (net/core/net-sysfs.c:1390) Allocated by task 634: __kmalloc_noprof (mm/slub.c:5439) __netif_set_xps_queue (net/core/dev.c:2937) The buggy address is located 0 bytes to the right of allocated 88-byte region [ffff88813016bc00, ffff88813016bc58) Reject a class the map has no room for.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-18
Last Modified
2026-10-18
Generated
2026-10-19
AI Q&A
2026-10-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 9 associated CPEs
Vendor Product Version / Range
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 184c449f91fef521042970cca46bd5cdfc0e3a37
Linux Linux 4.10

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves an out-of-bounds write in the network subsystem. When the number of traffic classes (TC) is reduced, leftover entries in arrays like dev->tc_to_txq[] and dev->prio_tc_map[] can still reference invalid classes. This causes an array index overflow when accessing the XPS map, leading to a slab-out-of-bounds memory corruption.

Detection Guidance

This vulnerability may cause a slab-out-of-bounds write in the Linux kernel's XPS (Transmit Packet Steering) subsystem. Detection requires checking kernel logs for KASAN errors related to __netif_set_xps_queue or xps_rxqs_store. Monitor for crashes or memory corruption during network traffic handling.

Impact Analysis

This flaw can cause system crashes, data corruption, or privilege escalation if exploited. Attackers could trigger memory corruption by manipulating network traffic classes, potentially leading to denial-of-service or unauthorized access on affected systems.

Compliance Impact

This vulnerability is a memory corruption issue in the Linux kernel's network subsystem that could lead to out-of-bounds memory access. While it does not directly impact data privacy or security controls required by standards like GDPR or HIPAA, such memory corruption vulnerabilities can potentially be exploited to bypass security mechanisms or gain unauthorized access, indirectly affecting compliance.

Mitigation Strategies

Apply the latest Linux kernel patches that fix the netdev_set_num_tc() issue. Avoid lowering the number of traffic classes (num_tc) without properly resetting TC mappings. Reboot the system after patching to ensure changes take effect.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98567. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart