Junglewise Threat Intelligence

CVE-2024-50039: Linux Kernel NULL pointer dereference in net/sched qdisc

CVE-2024-50039 · Severity: medium · CVSS 5.5 · Published 2024-10-21

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's networking subsystem could allow a local user to crash the system. The issue occurs when specific network traffic control settings (qdiscs) are combined in a way the system cannot handle, leading to a kernel crash. This impacts system availability and could be used to disrupt operations or services running on the affected host.

Technical details

A NULL pointer dereference exists in the Linux kernel's network scheduler (net/sched) due to improper handling of size tables (TCA_STAB) in nested queuing disciplines (qdiscs). Most qdiscs assume packet length is invariant between enqueue and dequeue operations; however, applying a size table to a non-root qdisc (such as an SFQ nested under a TBF) violates this assumption and leads to memory corruption or a NULL pointer dereference during dequeue or reset operations. An attacker with local privileges to configure network interfaces (e.g., CAP_NET_ADMIN) can trigger this crash. The fix restricts TCA_STAB configuration to root qdiscs only. Patches have been released for various stable kernel branches (e.g., 6.11.y, 6.6.y, 6.1.y).

Affected products

  • Linux Linux Kernel All versions prior to the October 2024 patches

Timeline

  • 2024-10-07: patched: Initial fix authored by Eric Dumazet
  • 2024-10-21: disclosed: CVE-2024-50039 published

References

Related threats