# CVE-2025-37752: net\_sched: sch\_sfq: move the limit validation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2025-05-01T12:55:57.280Z
- **Modified:** 2026-08-05T11:57:17.026Z

## Who should check

- Anyone running Linux \>= e12f6013d0a69660e8b99bfe381b9546ae667328, \< 8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4; \>= 1e6d9d87626cf89eeffb4d943db12cb5b10bf961, \< 7d62ded97db6b7c94c891f704151f372b1ba4688; \>= 1b562b7f9231432da40d12e19786c1bd7df653a7, \< 6c589aa318023690f1606c666a7fb5f4c1c9c219; \>= 35d0137305ae2f97260a9047f445bd4434bd6cc7, \< 1348214fa042a71406964097e743c87a42c85a49; \>= 833e9a1c27b82024db7ff5038a51651f48f05e5e, \< d2718324f9e329b10ddc091fba5a0ba2b9d4d96a; \>= 7d8947f2153ee9c5ab4cb17861a11cc45f30e8c4, \< f86293adce0c201cfabb283ef9d6f21292089bb8; \>= 7fefc294204f10a3405f175f4ac2be16d63f135e, \< 5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d; \>= 10685681bafce6febb39770f3387621bf5d67d0b, \< b36a68192037d1614317a09b0d78c7814e2eecf9; \>= 10685681bafce6febb39770f3387621bf5d67d0b, \< b3bf8f63e6179076b57c9de660c9f80b5abefe70; \>= 6.1.129, \< 6.1.135; …
- Anyone running Linux 6.14

## Description

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

net\_sched: sch\_sfq: move the limit validation

It is not sufficient to directly validate the limit on the data that
the user passes as it can be updated based on how the other parameters
are changed.

Move the check at the end of the configuration update process to also
catch scenarios where the limit is indirectly updated, for example
with the following configurations:

tc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 depth 1
tc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 divisor 1

This fixes the following syzkaller reported crash:

------------\[ cut here \]------------
UBSAN: array-index-out-of-bounds in net/sched/sch\_sfq.c:203:6
index 65535 is out of range for type 'struct sfq\_head\[128\]'
CPU: 1 UID: 0 PID: 3037 Comm: syz.2.16 Not tainted 6.14.0-rc2-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Call Trace:
 \<TASK\>
 \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
 dump\_stack\_lvl+0x201/0x300 lib/dump\_stack.c:120
 ubsan\_epilogue lib/ubsan.c:231 \[inline\]
 \_\_ubsan\_handle\_out\_of\_bounds+0xf5/0x120 lib/ubsan.c:429
 sfq\_link net/sched/sch\_sfq.c:203 \[inline\]
 sfq\_dec+0x53c/0x610 net/sched/sch\_sfq.c:231
 sfq\_dequeue+0x34e/0x8c0 net/sched/sch\_sfq.c:493
 sfq\_reset+0x17/0x60 net/sched/sch\_sfq.c:518
 qdisc\_reset+0x12e/0x600 net/sched/sch\_generic.c:1035
 tbf\_reset+0x41/0x110 net/sched/sch\_tbf.c:339
 qdisc\_reset+0x12e/0x600 net/sched/sch\_generic.c:1035
 dev\_reset\_queue+0x100/0x1b0 net/sched/sch\_generic.c:1311
 netdev\_for\_each\_tx\_queue include/linux/netdevice.h:2590 \[inline\]
 dev\_deactivate\_many+0x7e5/0xe70 net/sched/sch\_generic.c:1375

## Affected and fixed versions

- Linux: \>= e12f6013d0a69660e8b99bfe381b9546ae667328, \< 8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4; \>= 1e6d9d87626cf89eeffb4d943db12cb5b10bf961, \< 7d62ded97db6b7c94c891f704151f372b1ba4688; \>= 1b562b7f9231432da40d12e19786c1bd7df653a7, \< 6c589aa318023690f1606c666a7fb5f4c1c9c219; \>= 35d0137305ae2f97260a9047f445bd4434bd6cc7, \< 1348214fa042a71406964097e743c87a42c85a49; \>= 833e9a1c27b82024db7ff5038a51651f48f05e5e, \< d2718324f9e329b10ddc091fba5a0ba2b9d4d96a; \>= 7d8947f2153ee9c5ab4cb17861a11cc45f30e8c4, \< f86293adce0c201cfabb283ef9d6f21292089bb8; \>= 7fefc294204f10a3405f175f4ac2be16d63f135e, \< 5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d; \>= 10685681bafce6febb39770f3387621bf5d67d0b, \< b36a68192037d1614317a09b0d78c7814e2eecf9; \>= 10685681bafce6febb39770f3387621bf5d67d0b, \< b3bf8f63e6179076b57c9de660c9f80b5abefe70; \>= 6.1.129, \< 6.1.135; … (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37752. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37752.md
Affected: Linux >= e12f6013d0a69660e8b99bfe381b9546ae667328, < 8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4; >= 1e6d9d87626cf89eeffb4d943db12cb5b10bf961, < 7d62ded97db6b7c94c891f704151f372b1ba4688; >= 1b562b7f9231432da40d12e19786c1bd7df653a7, < 6c589aa318023690f1606c666a7fb5f4c1c9c219; >= 35d0137305ae2f97260a904…
Fixed in: Linux 8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4, Linux 7d62ded97db6b7c94c891f704151f372b1ba4688, Linux 6c589aa318023690f1606c666a7fb5f4c1c9c219, Linux 1348214fa042a71406964097e743c87a42c85a49, Linux 5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d, Linux 6.1.135

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37752 being exploited?

There is no confirmed exploitation: CVE-2025-37752 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37752?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37752?

Linux \>= e12f6013d0a69660e8b99bfe381b9546ae667328, \< 8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4; \>= 1e6d9d87626cf89eeffb4d943db12cb5b10bf961, \< 7d62ded97db6b7c94c891f704151f372b1ba4688; \>= 1b562b7f9231432da40d12e19786c1bd7df653a7, \< 6c589aa318023690f1606c666a7fb5f4c1c9c219; \>= 35d0137305ae2f97260a9047f445bd4434bd6cc7, \< 1348214fa042a71406964097e743c87a42c85a49; \>= 833e9a1c27b82024db7ff5038a51651f48f05e5e, \< d2718324f9e329b10ddc091fba5a0ba2b9d4d96a; \>= 7d8947f2153ee9c5ab4cb17861a11cc45f30e8c4, \< f86293adce0c201cfabb283ef9d6f21292089bb8; \>= 7fefc294204f10a3405f175f4ac2be16d63f135e, \< 5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d; \>= 10685681bafce6febb39770f3387621bf5d67d0b, \< b36a68192037d1614317a09b0d78c7814e2eecf9; \>= 10685681bafce6febb39770f3387621bf5d67d0b, \< b3bf8f63e6179076b57c9de660c9f80b5abefe70; \>= 6.1.129, \< 6.1.135; …; Linux 6.14.

### Is there a fix for CVE-2025-37752?

Yes. Fixed in Linux 8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4, Linux 7d62ded97db6b7c94c891f704151f372b1ba4688, Linux 6c589aa318023690f1606c666a7fb5f4c1c9c219, Linux 1348214fa042a71406964097e743c87a42c85a49, Linux 5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d, Linux 6.1.135. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-37752?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8fadc871a42933aacb7f1ce9ed9a96485e2c9cf4>
- patch: <https://git.kernel.org/stable/c/7d62ded97db6b7c94c891f704151f372b1ba4688>
- patch: <https://git.kernel.org/stable/c/6c589aa318023690f1606c666a7fb5f4c1c9c219>
- patch: <https://git.kernel.org/stable/c/1348214fa042a71406964097e743c87a42c85a49>
- patch: <https://git.kernel.org/stable/c/d2718324f9e329b10ddc091fba5a0ba2b9d4d96a>
- patch: <https://git.kernel.org/stable/c/f86293adce0c201cfabb283ef9d6f21292089bb8>
- patch: <https://git.kernel.org/stable/c/5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d>
- patch: <https://git.kernel.org/stable/c/b36a68192037d1614317a09b0d78c7814e2eecf9>
- patch: <https://git.kernel.org/stable/c/b3bf8f63e6179076b57c9de660c9f80b5abefe70>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37752>

HTML: <https://flawdb.com/CVE-2025-37752> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37752>
