7.8

CVE-2025-37797: net_sched: hfsc: Fix a UAF vulnerability in class handling

Modified
AliasesSUSE-SU-2025:02671-1SUSE-SU-2025:02707-1UBUNTU-CVE-2025-37797
Published 02-05-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-37797 is a high (CVSS 7.8) Use After Free vulnerability in debian debian_linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 130 · Related 111
DLA-4178-1DLA-4193-1MGASA-2025-0182MGASA-2025-0183RHSA-2025:11855RHSA-2025:11861

Showing 100 of 130.

Timeline

  1. 02-05-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.22% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu137 products
  • linux< 4.15.0-240.252 | < 5.4.0-220.240 | < 5.15.0-144.157 | < 6.8.0-71.71
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1183.196 | < 5.4.0-1149.159 | < 5.15.0-1088.95 | < 6.8.0-1033.35
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < 28b09a067831f7317c3841812276022d6c940677 | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < 39b9095dd3b55d9b2743df038c32138efa34a9de | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < fcc8ede663569c704fb00a702973bd6c00373283 | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < 20d584a33e480ae80d105f43e0e7b56784da41b9 | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < 3aa852e3605000d5c47035c3fc3a986d14ccfa9f | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < 86cd4641c713455a4f1c8e54c370c598c2b1cee0 | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < bb583c88d23b72d8d16453d24856c99bd93dadf5 | ≥ 21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14, < 3df275ef0a6ae181e8428a6589ef5d5231e58b5c | 4.14
  • linux_kernelEOL≥ 4.14.1, < 5.4.293 | ≥ 5.5, < 5.10.237 | ≥ 5.11, < 5.15.181 | ≥ 5.16, < 6.1.136 | ≥ 6.2, < 6.6.89 | ≥ 6.7, < 6.12.26 | ≥ 6.13, < 6.14.5 | 4.14 | 4.14:rc2 | 4.14:rc3 | 4.14:rc4 | 4.14:rc5 | 4.14:rc6 | 4.14:rc7 | 4.14:rc8 | 6.15:rc1 | 6.15:rc2 | 6.15:rc3
Suse2 products
  • kernel-livepatch-SLE15-SP3_Update_59&distro=SUSE Linux Enterprise Live Patching 15 SP3< 2-150300.2.1
  • kernel-livepatch-SLE15-SP5_Update_28&distro=SUSE Linux Enterprise Live Patching 15 SP5< 2-150500.2.1

4 vendors · 143 products

References

51 links
Show all 51 references