# CVE-2025-37913: net\_sched: qfq: Fix double list add in class with netem as child qdisc

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-20 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2025-37913, DEBIAN-CVE-2025-37913
- Record: https://cvemate.com/vulnerability/CVE-2025-37913 · JSON: https://cvemate.com/vulnerability/CVE-2025-37913/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

net_sched: qfq: Fix double list add in class with netem as child qdisc

As described in Gerrard's report [1], there are use cases where a netem
child qdisc will make the parent qdisc's enqueue callback reentrant.
In the case of qfq, there won't be a UAF, but the code will add the same
classifier to the list twice, which will cause memory corruption.

This patch checks whether the class was already added to the agg->active
list (cl_is_active) before doing the addition to cater for the reentrant
case.

[1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.239%, percentile 15.973%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 145)

- debian linux (Debian): \< 6.1.140-1 \| \< 6.12.29-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-144.157 \| \< 6.8.0-100.100
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1088.95 \| \< 6.8.0-1046.49
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1088.95~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1009.9~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1046.49~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1088.95+fips1 \| \< 6.8.0-1046.49+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1094.103 \| \< 6.8.0-1046.52
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 47)

- <https://git.kernel.org/stable/c/041f410aec2c1751ee22b8b73ba05d38c3a6a602>
- <https://git.kernel.org/stable/c/005a479540478a820c52de098e5e767e63e36f0a>
- <https://git.kernel.org/stable/c/0bf32d6fb1fcbf841bb9945570e0e2a70072c00f>
- <https://git.kernel.org/stable/c/0aa23e0856b7cedb3c88d8e3d281c212c7e4fbeb>
- <https://git.kernel.org/stable/c/a43783119e01849fbf2fe8855634e8989b240cb4>
- <https://git.kernel.org/stable/c/53bc0b55178bd59bdd4bcd16349505cabf54b1a2>
- <https://git.kernel.org/stable/c/370218e8ce711684acc4cdd3cc3c6dd7956bc165>
- <https://git.kernel.org/stable/c/f139f37dcdf34b67f5bf92bc8e0f7f6b3ac63aa4>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>
- <https://ubuntu.com/security/CVE-2025-37913>
- <https://www.cve.org/CVERecord?id=CVE-2025-37913>
- <https://git.kernel.org/linus/f139f37dcdf34b67f5bf92bc8e0f7f6b3ac63aa4>
- <https://ubuntu.com/security/notices/USN-7649-1>
- <https://ubuntu.com/security/notices/USN-7650-1>
- <https://ubuntu.com/security/notices/USN-7654-1>
- <https://ubuntu.com/security/notices/USN-7654-2>
- <https://ubuntu.com/security/notices/USN-7654-3>
- <https://ubuntu.com/security/notices/USN-7655-1>
- <https://ubuntu.com/security/notices/USN-7649-2>

---

Data as of 2026-12-05T03:05:50.934Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
