CVE-2025-37797

Updated: 2026-02-27 02:55:51.752007

Description:

In the Linux kernel, the following vulnerability has been resolved: net_sched: hfsc: Fix a UAF vulnerability in class handling This patch fixes a Use-After-Free vulnerability in the HFSC qdisc class handling. The issue occurs due to a time-of-check/time-of-use condition in hfsc_change_class() when working with certain child qdiscs like netem or codel. The vulnerability works as follows: 1. hfsc_change_class() checks if a class has packets (q.qlen != 0) 2. It then calls qdisc_peek_len(), which for certain qdiscs (e.g., codel, netem) might drop packets and empty the queue 3. The code continues assuming the queue is still non-empty, adding the class to vttree 4. This breaks HFSC scheduler assumptions that only non-empty classes are in vttree 5. Later, when the class is destroyed, this can lead to a Use-After-Free The fix adds a second queue length check after qdisc_peek_len() to verify the queue wasn't emptied.


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x 0.0
CVSS Version 3.x HIGH 7.8

Status

OS name Project name Version Score Severity Status Errata Last updated

Statement

AlmaLinux 9.2 ESU kernel 5.14.0 7.8 HIGH Released CLSA-2025:1755682686 2025-08-21 05:53:35
CentOS 7 ELS kernel 3.10.0 7.8 HIGH In Testing 2025-11-18 14:56:10
CentOS 8.4 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2026:1771078945 2026-02-14 21:26:01
CentOS 8.5 ELS kernel 4.18.0 7.8 HIGH Released 2025-12-08 18:24:18
CentOS Stream 8 ELS kernel 4.18.0 7.8 HIGH Released CLSA-2025:1763722365 2026-02-07 22:15:11
CloudLinux 7 ELS kernel 3.10.0 7.8 HIGH Ignored 2025-12-27 05:31:58 CloudLinux 6 and 7 support is limited and provided on demand. We strongly recommend upgrading to Clo...
Oracle Linux 7 ELS kernel 3.10.0 7.8 HIGH In Testing 2026-02-21 22:25:26
Oracle Linux 7 ELS kernel-uek 5.4.17 7.8 HIGH Released CLSA-2025:1757963029 2025-09-16 11:20:49
RHEL 7 ELS kernel 3.10.0 7.8 HIGH In Testing 2026-02-13 16:57:58
TuxCare 9.6 ESU kernel 5.14.0 7.8 HIGH Already Fixed 2025-12-08 17:55:26
Total: 14