CVE-2025-37797: Linux kernel · net_sched: hfsc: Fix a UAF vulnerability in class handling
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 4.15.0-1191.206~14.04.1 : patch Linux kernel soon.
Data as of 30 Oct 2026, 22:50 UTC
- Patch
- Available – fixed in 4.15.0-1191.206~14.04.1, 4.15.0-1183.196~16.04.1, 4.15.0-1191.206~16.04.1 +97
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 2 May 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7655-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7682-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7682-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7682-3 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in multiple Linux kernel versions including 4.15.0-1191.206~14.04.1 and later. Users and administrators should apply the official kernel updates provided by their Linux distribution vendors, such as the Ubuntu security notice USN-7594-1. No additional mitigation actions are required beyond applying the vendor-supplied patches.
Description
A Use-After-Free (UAF) vulnerability was discovered and fixed in the HFSC queuing discipline (qdisc) class handling in the Linux kernel. The flaw arises from a time-of-check/time-of-use condition in the hfsc_change_class() function when interacting with certain child qdiscs such as netem or codel. This can cause the HFSC scheduler to operate on freed memory, potentially leading to system compromise. The vulnerability affects multiple Linux kernel versions prior to specific fixed releases. A patch correcting this issue has been released.
References
- ubuntu.com/security/CVE-2025-37797 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-37797 (opens in a new tab)
- git.kernel.org/linus/3df275ef0a6ae181e8428a6589ef5d5231e58b5c (opens in a new tab)
- git.kernel.org/stable/c/20d584a33e480ae80d105f43e0e7b56784da41b9 (opens in a new tab)
- git.kernel.org/stable/c/28b09a067831f7317c3841812276022d6c940677 (opens in a new tab)
- git.kernel.org/stable/c/39b9095dd3b55d9b2743df038c32138efa34a9de (opens in a new tab)
- git.kernel.org/stable/c/3aa852e3605000d5c47035c3fc3a986d14ccfa9f (opens in a new tab)
- git.kernel.org/stable/c/3df275ef0a6ae181e8428a6589ef5d5231e58b5c (opens in a new tab)
- git.kernel.org/stable/c/86cd4641c713455a4f1c8e54c370c598c2b1cee0 (opens in a new tab)
- git.kernel.org/stable/c/bb583c88d23b72d8d16453d24856c99bd93dadf5 (opens in a new tab)
- git.kernel.org/stable/c/fcc8ede663569c704fb00a702973bd6c00373283 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7594-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7655-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7654-5 (opens in a new tab)