# CVE-2021-47595: net/sched: sch\_ets: don't remove idle classes from the round-robin list

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.30% (percentile 16, 2026-11-26)
- **Published:** 2024-06-19T14:53:57.568Z
- **Modified:** 2026-06-17T04:17:50.403Z

## Who should check

- Anyone running Linux \>= ae2659d2c670252759ee9c823c4e039c0e05a6f2, \< 81fbdd45652d8605a029e78ef14a6aaa529c4e72; \>= e25bdbc7e951ae5728fee1f4c09485df113d013c, \< 491c1253441e2fdc8f6a6f4976e3f13440419b7a; \>= de6d25924c2a8c2988c6a385990cafbe742061bf, \< c062f2a0b04d86c5b8c9d973bea43493eaca3d32
- Anyone running Linux \>= 5.10.83, \< 5.10.88; \>= 5.15.6, \< 5.15.11

## Description

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

net/sched: sch\_ets: don't remove idle classes from the round-robin list

Shuang reported that the following script:

 1) tc qdisc add dev ddd0 handle 10: parent 1: ets bands 8 strict 4 priomap 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7
 2) mausezahn ddd0  -A 10.10.10.1 -B 10.10.10.2 -c 0 -a own -b 00:c1:a0:c1:a0:00 -t udp &
 3) tc qdisc change dev ddd0 handle 10: ets bands 4 strict 2 quanta 2500 2500 priomap 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3

crashes systematically when line 2) is commented:

 list\_del corruption, ffff8e028404bd30-\>next is LIST\_POISON1 (dead000000000100)
 ------------\[ cut here \]------------
 kernel BUG at lib/list\_debug.c:47!
 invalid opcode: 0000 \[\#1\] PREEMPT SMP NOPTI
 CPU: 0 PID: 954 Comm: tc Not tainted 5.16.0-rc4+ \#478
 Hardware name: Red Hat KVM, BIOS 1.11.1-4.module+el8.1.0+4066+0f1aadab 04/01/2014
 RIP: 0010:\_\_list\_del\_entry\_valid.cold.1+0x12/0x47
 Code: fe ff 0f 0b 48 89 c1 4c 89 c6 48 c7 c7 08 42 1b 87 e8 1d c5 fe ff 0f 0b 48 89 fe 48 89 c2 48 c7 c7 98 42 1b 87 e8 09 c5 fe ff \<0f\> 0b 48 c7 c7 48 43 1b 87 e8 fb c4 fe ff 0f 0b 48 89 f2 48 89 fe
 RSP: 0018:ffffae46807a3888 EFLAGS: 00010246
 RAX: 000000000000004e RBX: 0000000000000007 RCX: 0000000000000202
 RDX: 0000000000000000 RSI: ffffffff871ac536 RDI: 00000000ffffffff
 RBP: ffffae46807a3a10 R08: 0000000000000000 R09: c0000000ffff7fff
 R10: 0000000000000001 R11: ffffae46807a36a8 R12: ffff8e028404b800
 R13: ffff8e028404bd30 R14: dead000000000100 R15: ffff8e02fafa2400
 FS:  00007efdc92e4480(0000) GS:ffff8e02fb600000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000682f48 CR3: 00000001058be000 CR4: 0000000000350ef0
 Call Trace:
  \<TASK\>
  ets\_qdisc\_change+0x58b/0xa70 \[sch\_ets\]
  tc\_modify\_qdisc+0x323/0x880
  rtnetlink\_rcv\_msg+0x169/0x4a0
  netlink\_rcv\_skb+0x50/0x100
  netlink\_unicast+0x1a5/0x280
  netlink\_sendmsg+0x257/0x4d0
  sock\_sendmsg+0x5b/0x60
  \_\_\_\_sys\_sendmsg+0x1f2/0x260
  \_\_\_sys\_sendmsg+0x7c/0xc0
  \_\_sys\_sendmsg+0x57/0xa0
  do\_syscall\_64+0x3a/0x80
  entry\_SYSCALL\_64\_after\_hwframe+0x44/0xae
 RIP: 0033:0x7efdc8031338
 Code: 89 02 48 c7 c0 ff ff ff ff eb b5 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 8d 05 25 43 2c 00 8b 00 85 c0 75 17 b8 2e 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 58 c3 0f 1f 80 00 00 00 00 41 54 41 89 d4 55
 RSP: 002b:00007ffdf1ce9828 EFLAGS: 00000246 ORIG\_RAX: 000000000000002e
 RAX: ffffffffffffffda RBX: 0000000061b37a97 RCX: 00007efdc8031338
 RDX: 0000000000000000 RSI: 00007ffdf1ce9890 RDI: 0000000000000003
 RBP: 0000000000000000 R08: 0000000000000001 R09: 000000000078a940
 R10: 000000000000000c R11: 0000000000000246 R12: 0000000000000001
 R13: 0000000000688880 R14: 0000000000000000 R15: 0000000000000000
  \</TASK\>
 Modules linked in: sch\_ets sch\_tbf dummy rfkill iTCO\_wdt iTCO\_vendor\_support intel\_rapl\_msr intel\_rapl\_common joydev pcspkr i2c\_i801 virtio\_balloon i2c\_smbus lpc\_ich ip\_tables xfs libcrc32c crct10dif\_pclmul crc32\_pclmul crc32c\_intel serio\_raw ghash\_clmulni\_intel ahci libahci libata virtio\_blk virtio\_console virtio\_net net\_failover failover sunrpc dm\_mirror dm\_region\_hash dm\_log dm\_mod \[last unloaded: sch\_ets\]
 ---\[ end trace f35878d1912655c2 \]---
 RIP: 0010:\_\_list\_del\_entry\_valid.cold.1+0x12/0x47
 Code: fe ff 0f 0b 48 89 c1 4c 89 c6 48 c7 c7 08 42 1b 87 e8 1d c5 fe ff 0f 0b 48 89 fe 48 89 c2 48 c7 c7 98 42 1b 87 e8 09 c5 fe ff \<0f\> 0b 48 c7 c7 48 43 1b 87 e8 fb c4 fe ff 0f 0b 48 89 f2 48 89 fe
 RSP: 0018:ffffae46807a3888 EFLAGS: 00010246
 RAX: 000000000000004e RBX: 0000000000000007 RCX: 0000000000000202
 RDX: 0000000000000000 RSI: ffffffff871ac536 RDI: 00000000ffffffff
 RBP: ffffae46807a3a10 R08: 0000000000000000 R09: c0000000ffff7fff
 R10: 0000000000000001 R11: ffffae46807a36a8 R12: ffff8e028404b800
 R13: ffff8e028404bd30 R14: dead000000000100 R15: ffff8e02fafa2400
 FS:  00007efdc92e4480(0000) GS:ffff8e02fb600000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 000000000
---truncated---

## Affected and fixed versions

- Linux: \>= ae2659d2c670252759ee9c823c4e039c0e05a6f2, \< 81fbdd45652d8605a029e78ef14a6aaa529c4e72; \>= e25bdbc7e951ae5728fee1f4c09485df113d013c, \< 491c1253441e2fdc8f6a6f4976e3f13440419b7a; \>= de6d25924c2a8c2988c6a385990cafbe742061bf, \< c062f2a0b04d86c5b8c9d973bea43493eaca3d32 (cvelist)
- Linux: \>= 5.10.83, \< 5.10.88; \>= 5.15.6, \< 5.15.11 (cvelist)

## Mitigation

- Upgrade Linux to 5.15.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47595.md
Affected: Linux >= ae2659d2c670252759ee9c823c4e039c0e05a6f2, < 81fbdd45652d8605a029e78ef14a6aaa529c4e72; >= e25bdbc7e951ae5728fee1f4c09485df113d013c, < 491c1253441e2fdc8f6a6f4976e3f13440419b7a; >= de6d25924c2a8c2988c6a385990cafbe742061bf, < c062f2a0b04d86c5b8c9d973bea43493eaca3d32; Linux >= 5.10.83, < 5.10.8…
Fixed in: Linux 81fbdd45652d8605a029e78ef14a6aaa529c4e72, Linux 491c1253441e2fdc8f6a6f4976e3f13440419b7a, Linux 5.10.88, Linux 5.15.11

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-2021-47595 being exploited?

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

### How serious is CVE-2021-47595?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47595?

Linux \>= ae2659d2c670252759ee9c823c4e039c0e05a6f2, \< 81fbdd45652d8605a029e78ef14a6aaa529c4e72; \>= e25bdbc7e951ae5728fee1f4c09485df113d013c, \< 491c1253441e2fdc8f6a6f4976e3f13440419b7a; \>= de6d25924c2a8c2988c6a385990cafbe742061bf, \< c062f2a0b04d86c5b8c9d973bea43493eaca3d32; Linux \>= 5.10.83, \< 5.10.88; \>= 5.15.6, \< 5.15.11.

### Is there a fix for CVE-2021-47595?

Yes. Fixed in Linux 81fbdd45652d8605a029e78ef14a6aaa529c4e72, Linux 491c1253441e2fdc8f6a6f4976e3f13440419b7a, Linux 5.10.88, Linux 5.15.11. Upgrade Linux to 5.15.11 or later.

### How do I check if I'm affected by CVE-2021-47595?

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/81fbdd45652d8605a029e78ef14a6aaa529c4e72>
- patch: <https://git.kernel.org/stable/c/491c1253441e2fdc8f6a6f4976e3f13440419b7a>
- patch: <https://git.kernel.org/stable/c/c062f2a0b04d86c5b8c9d973bea43493eaca3d32>

## 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-2021-47595>

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