# CVE-2025-21692: net: sched: fix ets qdisc OOB Indexing

> 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 17, 2026-11-26)
- **CWE:** CWE-129
- **Published:** 2025-02-10T15:58:48.087Z
- **Modified:** 2026-10-15T02:17:26.860Z

## Who should check

- Anyone running Linux \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 03c56665dab1f4ac844bc156652d50d639093fa5; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< bcf0d815e728a3a304b50455b32a3170c16e1eaa; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 1332c6ed446be787f901ed1064ec6a3c694f028a; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< f4168299e553f17aa2ba4016e77a9c38da40eb1d; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 997f6ec4208b23c87daf9f044689685f091826f7; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< f6b0f05fbfa4044f890e8a348288c0d9a20bd1d0; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< d62b04fca4340a0d468d7853bd66e511935a18cb
- Anyone running Linux 5.6

## Description

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

net: sched: fix ets qdisc OOB Indexing

Haowei Yan \<g1042620637@gmail.com\> found that ets\_class\_from\_arg() can
index an Out-Of-Bound class in ets\_class\_from\_arg() when passed clid of
0. The overflow may cause local privilege escalation.

 \[   18.852298\] ------------\[ cut here \]------------
 \[   18.853271\] UBSAN: array-index-out-of-bounds in net/sched/sch\_ets.c:93:20
 \[   18.853743\] index 18446744073709551615 is out of range for type 'ets\_class \[16\]'
 \[   18.854254\] CPU: 0 UID: 0 PID: 1275 Comm: poc Not tainted 6.12.6-dirty \#17
 \[   18.854821\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
 \[   18.856532\] Call Trace:
 \[   18.857441\]  \<TASK\>
 \[   18.858227\]  dump\_stack\_lvl+0xc2/0xf0
 \[   18.859607\]  dump\_stack+0x10/0x20
 \[   18.860908\]  \_\_ubsan\_handle\_out\_of\_bounds+0xa7/0xf0
 \[   18.864022\]  ets\_class\_change+0x3d6/0x3f0
 \[   18.864322\]  tc\_ctl\_tclass+0x251/0x910
 \[   18.864587\]  ? lock\_acquire+0x5e/0x140
 \[   18.865113\]  ? \_\_mutex\_lock+0x9c/0xe70
 \[   18.866009\]  ? \_\_mutex\_lock+0xa34/0xe70
 \[   18.866401\]  rtnetlink\_rcv\_msg+0x170/0x6f0
 \[   18.866806\]  ? \_\_lock\_acquire+0x578/0xc10
 \[   18.867184\]  ? \_\_pfx\_rtnetlink\_rcv\_msg+0x10/0x10
 \[   18.867503\]  netlink\_rcv\_skb+0x59/0x110
 \[   18.867776\]  rtnetlink\_rcv+0x15/0x30
 \[   18.868159\]  netlink\_unicast+0x1c3/0x2b0
 \[   18.868440\]  netlink\_sendmsg+0x239/0x4b0
 \[   18.868721\]  \_\_\_\_sys\_sendmsg+0x3e2/0x410
 \[   18.869012\]  \_\_\_sys\_sendmsg+0x88/0xe0
 \[   18.869276\]  ? rseq\_ip\_fixup+0x198/0x260
 \[   18.869563\]  ? rseq\_update\_cpu\_node\_id+0x10a/0x190
 \[   18.869900\]  ? trace\_hardirqs\_off+0x5a/0xd0
 \[   18.870196\]  ? syscall\_exit\_to\_user\_mode+0xcc/0x220
 \[   18.870547\]  ? do\_syscall\_64+0x93/0x150
 \[   18.870821\]  ? \_\_memcg\_slab\_free\_hook+0x69/0x290
 \[   18.871157\]  \_\_sys\_sendmsg+0x69/0xd0
 \[   18.871416\]  \_\_x64\_sys\_sendmsg+0x1d/0x30
 \[   18.871699\]  x64\_sys\_call+0x9e2/0x2670
 \[   18.871979\]  do\_syscall\_64+0x87/0x150
 \[   18.873280\]  ? do\_syscall\_64+0x93/0x150
 \[   18.874742\]  ? lock\_release+0x7b/0x160
 \[   18.876157\]  ? do\_user\_addr\_fault+0x5ce/0x8f0
 \[   18.877833\]  ? irqentry\_exit\_to\_user\_mode+0xc2/0x210
 \[   18.879608\]  ? irqentry\_exit+0x77/0xb0
 \[   18.879808\]  ? clear\_bhb\_loop+0x15/0x70
 \[   18.880023\]  ? clear\_bhb\_loop+0x15/0x70
 \[   18.880223\]  ? clear\_bhb\_loop+0x15/0x70
 \[   18.880426\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
 \[   18.880683\] RIP: 0033:0x44a957
 \[   18.880851\] Code: ff ff e8 fc 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 8974 24 10
 \[   18.881766\] RSP: 002b:00007ffcdd00fad8 EFLAGS: 00000246 ORIG\_RAX: 000000000000002e
 \[   18.882149\] RAX: ffffffffffffffda RBX: 00007ffcdd010db8 RCX: 000000000044a957
 \[   18.882507\] RDX: 0000000000000000 RSI: 00007ffcdd00fb70 RDI: 0000000000000003
 \[   18.885037\] RBP: 00007ffcdd010bc0 R08: 000000000703c770 R09: 000000000703c7c0
 \[   18.887203\] R10: 0000000000000080 R11: 0000000000000246 R12: 0000000000000001
 \[   18.888026\] R13: 00007ffcdd010da8 R14: 00000000004ca7d0 R15: 0000000000000001
 \[   18.888395\]  \</TASK\>
 \[   18.888610\] ---\[ end trace \]---

## Affected and fixed versions

- Linux: \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 03c56665dab1f4ac844bc156652d50d639093fa5; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< bcf0d815e728a3a304b50455b32a3170c16e1eaa; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 1332c6ed446be787f901ed1064ec6a3c694f028a; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< f4168299e553f17aa2ba4016e77a9c38da40eb1d; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 997f6ec4208b23c87daf9f044689685f091826f7; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< f6b0f05fbfa4044f890e8a348288c0d9a20bd1d0; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< d62b04fca4340a0d468d7853bd66e511935a18cb (cvelist)
- Linux: 5.6 (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-21692. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21692.md
Affected: Linux >= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, < 03c56665dab1f4ac844bc156652d50d639093fa5; >= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, < bcf0d815e728a3a304b50455b32a3170c16e1eaa; >= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, < 1332c6ed446be787f901ed1064ec6a3c694f028a; >= dcc68b4d8084e1ac9af0d40…
Fixed in: Linux 03c56665dab1f4ac844bc156652d50d639093fa5, Linux 1332c6ed446be787f901ed1064ec6a3c694f028a, Linux 997f6ec4208b23c87daf9f044689685f091826f7

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-21692 being exploited?

There is no confirmed exploitation: CVE-2025-21692 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-21692?

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

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

Linux \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 03c56665dab1f4ac844bc156652d50d639093fa5; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< bcf0d815e728a3a304b50455b32a3170c16e1eaa; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 1332c6ed446be787f901ed1064ec6a3c694f028a; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< f4168299e553f17aa2ba4016e77a9c38da40eb1d; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< 997f6ec4208b23c87daf9f044689685f091826f7; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< f6b0f05fbfa4044f890e8a348288c0d9a20bd1d0; \>= dcc68b4d8084e1ac9af0d4022d6b1aff6a139a33, \< d62b04fca4340a0d468d7853bd66e511935a18cb; Linux 5.6.

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

Yes. Fixed in Linux 03c56665dab1f4ac844bc156652d50d639093fa5, Linux 1332c6ed446be787f901ed1064ec6a3c694f028a, Linux 997f6ec4208b23c87daf9f044689685f091826f7. No fix listed yet: follow the vendor advisory.

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

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/03c56665dab1f4ac844bc156652d50d639093fa5>
- patch: <https://git.kernel.org/stable/c/bcf0d815e728a3a304b50455b32a3170c16e1eaa>
- patch: <https://git.kernel.org/stable/c/1332c6ed446be787f901ed1064ec6a3c694f028a>
- patch: <https://git.kernel.org/stable/c/f4168299e553f17aa2ba4016e77a9c38da40eb1d>
- patch: <https://git.kernel.org/stable/c/997f6ec4208b23c87daf9f044689685f091826f7>
- patch: <https://git.kernel.org/stable/c/f6b0f05fbfa4044f890e8a348288c0d9a20bd1d0>
- patch: <https://git.kernel.org/stable/c/d62b04fca4340a0d468d7853bd66e511935a18cb>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.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-21692>

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