Junglewise Threat Intelligence

CVE-2025-21692: Linux Kernel out-of-bounds indexing in ETS scheduler

CVE-2025-21692 · Severity: high · CVSS 7.8 · Published 2025-02-10

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was discovered in the Linux kernel's networking subsystem, specifically within the Enhanced Transmission Selection (ETS) scheduler. This component is responsible for managing how network traffic is prioritized and queued. An attacker with local access to the system could exploit this flaw to gain elevated privileges, potentially taking full control of the affected machine.

Technical details

An out-of-bounds (OOB) indexing vulnerability exists in the ets_class_from_arg() function within net/sched/sch_ets.c. The flaw is triggered when a class ID (clid) of 0 is passed to the function, causing an underflow when calculating the array index (arg - 1). This results in an extremely large index value (18446744073709551615) being used to access the 'ets_class' array. A local attacker can leverage this memory corruption to achieve local privilege escalation. The issue has been patched by adding bounds checking to ensure the argument is non-zero and within the valid range of bands.

Affected products

  • Linux Linux Kernel 5.6 to 5.10.234, 5.11 to 5.15.178, 5.16 to 6.1.128, 6.2 to 6.6.75, 6.7 to 6.12.10, 6.13.1

Timeline

  • 2025-01-11: patched: Initial patch submitted to kernel tree
  • 2025-02-10: advisory: CVE-2025-21692 published

References

Related threats