# CVE-2026-22976: net/sched: sch\_qfq: Fix NULL deref when deactivating inactive aggregate in qfq\_reset

> 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.20% (percentile 6, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-01-21T06:57:23.939Z
- **Modified:** 2026-10-19T19:17:29.773Z

## Who should check

- Anyone running Linux \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 6116a83ec167d3ab1390cded854d237481f41b63; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 0809c4bc06c9c961222df29f2eccfd449304056f; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< cdb24200b043438a144df501f1ebbd926bb1a2c7; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 11bf9134613f6c71fc0ff36c5d8d33856f6ae3bb; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 43497313d0da3e12b5cfcd97aa17bf48ee663f95; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 51ffd447bc37bf1a5776b85523f51d2bc69977f6; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< c1d73b1480235731e35c81df70b08f4714a7d095
- Anyone running Linux 3.0

## Description

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

net/sched: sch\_qfq: Fix NULL deref when deactivating inactive aggregate in qfq\_reset

\`qfq\_class-\>leaf\_qdisc-\>q.qlen \> 0\` does not imply that the class
itself is active.

Two qfq\_class objects may point to the same leaf\_qdisc. This happens
when:

1. one QFQ qdisc is attached to the dev as the root qdisc, and

2. another QFQ qdisc is temporarily referenced (e.g., via qdisc\_get()
/ qdisc\_put()) and is pending to be destroyed, as in function
tc\_new\_tfilter.

When packets are enqueued through the root QFQ qdisc, the shared
leaf\_qdisc-\>q.qlen increases. At the same time, the second QFQ
qdisc triggers qdisc\_put and qdisc\_destroy: the qdisc enters
qfq\_reset() with its own q-\>q.qlen == 0, but its class's leaf
qdisc-\>q.qlen \> 0. Therefore, the qfq\_reset would wrongly deactivate
an inactive aggregate and trigger a null-deref in qfq\_deactivate\_agg:

\[    0.903172\] BUG: kernel NULL pointer dereference, address: 0000000000000000
\[    0.903571\] \#PF: supervisor write access in kernel mode
\[    0.903860\] \#PF: error\_code(0x0002) - not-present page
\[    0.904177\] PGD 10299b067 P4D 10299b067 PUD 10299c067 PMD 0
\[    0.904502\] Oops: Oops: 0002 \[\#1\] SMP NOPTI
\[    0.904737\] CPU: 0 UID: 0 PID: 135 Comm: exploit Not tainted 6.19.0-rc3+ \#2 NONE
\[    0.905157\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014
\[    0.905754\] RIP: 0010:qfq\_deactivate\_agg (include/linux/list.h:992 (discriminator 2) include/linux/list.h:1006 (discriminator 2) net/sched/sch\_qfq.c:1367 (discriminator 2) net/sched/sch\_qfq.c:1393 (discriminator 2))
\[    0.906046\] Code: 0f 84 4d 01 00 00 48 89 70 18 8b 4b 10 48 c7 c2 ff ff ff ff 48 8b 78 08 48 d3 e2 48 21 f2 48 2b 13 48 8b 30 48 d3 ea 8b 4b 18 0

Code starting with the faulting instruction
===========================================
   0:	0f 84 4d 01 00 00    	je     0x153
   6:	48 89 70 18          	mov    %rsi,0x18(%rax)
   a:	8b 4b 10             	mov    0x10(%rbx),%ecx
   d:	48 c7 c2 ff ff ff ff 	mov    $0xffffffffffffffff,%rdx
  14:	48 8b 78 08          	mov    0x8(%rax),%rdi
  18:	48 d3 e2             	shl    %cl,%rdx
  1b:	48 21 f2             	and    %rsi,%rdx
  1e:	48 2b 13             	sub    (%rbx),%rdx
  21:	48 8b 30             	mov    (%rax),%rsi
  24:	48 d3 ea             	shr    %cl,%rdx
  27:	8b 4b 18             	mov    0x18(%rbx),%ecx
	...
\[    0.907095\] RSP: 0018:ffffc900004a39a0 EFLAGS: 00010246
\[    0.907368\] RAX: ffff8881043a0880 RBX: ffff888102953340 RCX: 0000000000000000
\[    0.907723\] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
\[    0.908100\] RBP: ffff888102952180 R08: 0000000000000000 R09: 0000000000000000
\[    0.908451\] R10: ffff8881043a0000 R11: 0000000000000000 R12: ffff888102952000
\[    0.908804\] R13: ffff888102952180 R14: ffff8881043a0ad8 R15: ffff8881043a0880
\[    0.909179\] FS:  000000002a1a0380(0000) GS:ffff888196d8d000(0000) knlGS:0000000000000000
\[    0.909572\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[    0.909857\] CR2: 0000000000000000 CR3: 0000000102993002 CR4: 0000000000772ef0
\[    0.910247\] PKRU: 55555554
\[    0.910391\] Call Trace:
\[    0.910527\]  \<TASK\>
\[    0.910638\]  qfq\_reset\_qdisc (net/sched/sch\_qfq.c:357 net/sched/sch\_qfq.c:1485)
\[    0.910826\]  qdisc\_reset (include/linux/skbuff.h:2195 include/linux/skbuff.h:2501 include/linux/skbuff.h:3424 include/linux/skbuff.h:3430 net/sched/sch\_generic.c:1036)
\[    0.911040\]  \_\_qdisc\_destroy (net/sched/sch\_generic.c:1076)
\[    0.911236\]  tc\_new\_tfilter (net/sched/cls\_api.c:2447)
\[    0.911447\]  rtnetlink\_rcv\_msg (net/core/rtnetlink.c:6958)
\[    0.911663\]  ? \_\_pfx\_rtnetlink\_rcv\_msg (net/core/rtnetlink.c:6861)
\[    0.911894\]  netlink\_rcv\_skb (net/netlink/af\_netlink.c:2550)
\[    0.912100\]  netlink\_unicast (net/netlink/af\_netlink.c:1319 net/netlink/af\_netlink.c:1344)
\[    0.912296\]  ? \_\_alloc\_skb (net/core/skbuff.c:706)
\[    0.912484\]  netlink\_sendmsg (net/netlink/af
---truncated---

## Affected and fixed versions

- Linux: \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 6116a83ec167d3ab1390cded854d237481f41b63; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 0809c4bc06c9c961222df29f2eccfd449304056f; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< cdb24200b043438a144df501f1ebbd926bb1a2c7; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 11bf9134613f6c71fc0ff36c5d8d33856f6ae3bb; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 43497313d0da3e12b5cfcd97aa17bf48ee663f95; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 51ffd447bc37bf1a5776b85523f51d2bc69977f6; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< c1d73b1480235731e35c81df70b08f4714a7d095 (cvelist)
- Linux: 3.0 (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-2026-22976. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-22976.md
Affected: Linux >= 0545a3037773512d3448557ba048cebb73b3e4af, < 6116a83ec167d3ab1390cded854d237481f41b63; >= 0545a3037773512d3448557ba048cebb73b3e4af, < 0809c4bc06c9c961222df29f2eccfd449304056f; >= 0545a3037773512d3448557ba048cebb73b3e4af, < cdb24200b043438a144df501f1ebbd926bb1a2c7; >= 0545a3037773512d3448557…
Fixed in: Linux 6116a83ec167d3ab1390cded854d237481f41b63, Linux 0809c4bc06c9c961222df29f2eccfd449304056f, Linux 11bf9134613f6c71fc0ff36c5d8d33856f6ae3bb, Linux 43497313d0da3e12b5cfcd97aa17bf48ee663f95, Linux 51ffd447bc37bf1a5776b85523f51d2bc69977f6

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-2026-22976 being exploited?

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

### How serious is CVE-2026-22976?

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

### Which versions are affected by CVE-2026-22976?

Linux \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 6116a83ec167d3ab1390cded854d237481f41b63; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 0809c4bc06c9c961222df29f2eccfd449304056f; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< cdb24200b043438a144df501f1ebbd926bb1a2c7; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 11bf9134613f6c71fc0ff36c5d8d33856f6ae3bb; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 43497313d0da3e12b5cfcd97aa17bf48ee663f95; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< 51ffd447bc37bf1a5776b85523f51d2bc69977f6; \>= 0545a3037773512d3448557ba048cebb73b3e4af, \< c1d73b1480235731e35c81df70b08f4714a7d095; Linux 3.0.

### Is there a fix for CVE-2026-22976?

Yes. Fixed in Linux 6116a83ec167d3ab1390cded854d237481f41b63, Linux 0809c4bc06c9c961222df29f2eccfd449304056f, Linux 11bf9134613f6c71fc0ff36c5d8d33856f6ae3bb, Linux 43497313d0da3e12b5cfcd97aa17bf48ee663f95, Linux 51ffd447bc37bf1a5776b85523f51d2bc69977f6. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-22976?

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/6116a83ec167d3ab1390cded854d237481f41b63>
- patch: <https://git.kernel.org/stable/c/0809c4bc06c9c961222df29f2eccfd449304056f>
- patch: <https://git.kernel.org/stable/c/cdb24200b043438a144df501f1ebbd926bb1a2c7>
- patch: <https://git.kernel.org/stable/c/11bf9134613f6c71fc0ff36c5d8d33856f6ae3bb>
- patch: <https://git.kernel.org/stable/c/43497313d0da3e12b5cfcd97aa17bf48ee663f95>
- patch: <https://git.kernel.org/stable/c/51ffd447bc37bf1a5776b85523f51d2bc69977f6>
- patch: <https://git.kernel.org/stable/c/c1d73b1480235731e35c81df70b08f4714a7d095>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-253495.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-2026-22976>

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