PT-2025-24274 · Linux +3 · Linux Kernel +3

Savino

·

Published

2025-06-06

·

Updated

2025-08-04

·

CVE-2025-38001

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

**Name of the Vulnerable Software and Affected Versions:**

Linux kernel versions prior to the fix included in commit 141d34391abbb315d68556b7c67ad97885407547.

**Description:**

The Linux kernel contains a vulnerability in the `net sched` subsystem, specifically within the HFSC (Hierarchical Fair Queuing) scheduler. A use-after-free (UAF) condition can occur when HFSC is used in conjunction with NETEM (Network Emulator). The vulnerability arises because the patch intended to prevent double insertion into the eltree can be bypassed. Specifically, the check for existing class insertion is insufficient when using HFSC RSC, allowing a class to be inserted twice. This can lead to an infinite loop in `hfsc dequeue` under normal conditions, or, if TBF (Token Bucket Filter) is used as a root qdisc with a low rate, it can be exploited to cause a UAF.

**Recommendations:**

Update the Linux kernel to a version that includes the fix from commit 141d34391abbb315d68556b7c67ad97885407547. As a temporary workaround, consider disabling the `hfsc` queuing discipline or avoiding the use of HFSC with NETEM until a patched version is available.

Related Identifiers

CVE-2025-38001
SUSE-SU-2025:02249-1
SUSE-SU-2025:02264-1
SUSE-SU-2025:02308-1
SUSE-SU-2025:02537-1
SUSE-SU-2025:02538-1
USN-7608-1
USN-7608-2
USN-7608-3
USN-7608-4
USN-7608-5
USN-7608-6
USN-7608-7
USN-7609-1
USN-7609-2
USN-7609-3
USN-7609-4
USN-7609-5
USN-7610-1
USN-7610-2
USN-7610-3
USN-7611-1
USN-7611-2
USN-7611-3
USN-7611-4
USN-7618-1
USN-7628-1
USN-7653-1
USN-7655-1
USN-7665-2
USN-7671-1
USN-7671-2
USN-7671-3
USN-7686-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu