Executive brief
A vulnerability in the Linux kernel's networking subsystem could allow a local user to crash the system. The issue occurs when managing specific network traffic scheduling components (TAPRIO), where deleting certain configurations leads to a system memory error. This can result in a kernel panic, causing a complete service outage for the affected machine.
Technical details
A NULL pointer dereference exists in net/sched/sch_taprio.c within the taprio_dump_class() function. When a TAPRIO child qdisc is deleted via RTM_DELQDISC, taprio_graft() incorrectly stores a NULL pointer in the qdiscs array. Subsequent RTM_GETTCLASS operations attempt to dereference this NULL pointer while walking the classes. This is reachable by an unprivileged local user if unprivileged user namespaces are enabled, allowing them to create a new network namespace and trigger the panic. The fix involves substituting NULL with &noop_qdisc during the graft operation to ensure the array slots are never NULL.
Affected products
- Linux Linux Kernel CONFIG_NET_SCH_TAPRIO enabled
Timeline
- 2026-04-27: patched: Mainline kernel patch committed
- 2026-05-27: advisory: CVE-2026-45845 published
References
- https://git.kernel.org/stable/c/3d07ca5c0fae311226f737963984bd94bb159a87
- https://git.kernel.org/stable/c/48b26d48e76221dc90b02bf5428bab53643461ca
- https://git.kernel.org/stable/c/8f1ff8866cb9f655e5faea6994eb902960be8e04
- https://git.kernel.org/stable/c/d02e2fbf60de46678e2ea698a6a904fd21e1cc31
- https://git.kernel.org/stable/c/ec2501e361b08b50bcb1e7b3253fc861abbda28d