# net_sched: hfsc: Fix a UAF vulnerability in class handling

CVE record · `CVE-2025-37797`

- **Identifiers:** `CVE-2025-37797`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 2 May 2025
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 2 May 2025, 14:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before 28b09a067831f7317c3841812276022d6c940677` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before 39b9095dd3b55d9b2743df038c32138efa34a9de` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before fcc8ede663569c704fb00a702973bd6c00373283` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before 20d584a33e480ae80d105f43e0e7b56784da41b9` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before 3aa852e3605000d5c47035c3fc3a986d14ccfa9f` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before 86cd4641c713455a4f1c8e54c370c598c2b1cee0` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before bb583c88d23b72d8d16453d24856c99bd93dadf5` (git)
  - affected: `21f4d5cc25ec0e6e8eb8420dd2c399e6d2fc7d14 to before 3df275ef0a6ae181e8428a6589ef5d5231e58b5c` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.14`
  - unaffected: `before 4.14` (semver)
  - unaffected: `5.4.293 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.237 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.181 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.136 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.89 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.26 to 6.12.*, inclusive` (semver)
  - unaffected: `6.14.5 to 6.14.*, inclusive` (semver)
  - unaffected: `6.15 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0022, the 13th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 2 May 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2025-37797](https://www.cve.org/CVERecord?id=CVE-2025-37797)
- [NVD: CVE-2025-37797](https://nvd.nist.gov/vuln/detail/CVE-2025-37797)

### References from the CNA

- <https://git.kernel.org/stable/c/28b09a067831f7317c3841812276022d6c940677>
- <https://git.kernel.org/stable/c/39b9095dd3b55d9b2743df038c32138efa34a9de>
- <https://git.kernel.org/stable/c/fcc8ede663569c704fb00a702973bd6c00373283>
- <https://git.kernel.org/stable/c/20d584a33e480ae80d105f43e0e7b56784da41b9>
- <https://git.kernel.org/stable/c/3aa852e3605000d5c47035c3fc3a986d14ccfa9f>
- <https://git.kernel.org/stable/c/86cd4641c713455a4f1c8e54c370c598c2b1cee0>
- <https://git.kernel.org/stable/c/bb583c88d23b72d8d16453d24856c99bd93dadf5>
- <https://git.kernel.org/stable/c/3df275ef0a6ae181e8428a6589ef5d5231e58b5c>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-37797>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-37797/>. Everything for agents: <https://agentprime.io/llms.txt>.
