# CVE-2026-64012: net/sched: sch\_sfb: Replace direct dequeue call with peek and qdisc\_dequeue\_peeked

> 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-19T14:56:26.608Z
- **Modified:** 2026-10-13T13:54:56.043Z

## Who should check

- Anyone running Linux \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< e5ea51e5f3fbba41d50cd84a530f33bc1c8f4d57; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 1e70274d3b81de28973bcdbce40a512bcb181ff9; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< e125f5980b730c67c92a30cf150ec8c3d6777318; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 6c153d97c100f5b282c424101d8ff63122306997; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 84bfbfc0c48731bcce74cdf4f9c497547ec525e0; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< dbc560858da8b77dd9e4ef0cd93d421e0e4d7e0e; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 9ad3288632c859cf84183199832d822e7a70bdae; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 1b9bc71153b01dbde8045b9edede4240f4f5520e
- Anyone running Linux 2.6.39

## Description

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

net/sched: sch\_sfb: Replace direct dequeue call with peek and qdisc\_dequeue\_peeked

When sfb has children (eg qfq qdisc) whose peek() callback is
qdisc\_peek\_dequeued(), we could get a kernel panic. When the parent of such
qdiscs (eg illustrated in patch \#3 as tbf) wants to retrieve an skb from
its child (sfb in this case), it will do the following:
 1a. do a peek() - and when sensing there's an skb the child can offer, then
     - the child in this case(sfb) calls its child's (qfq) peek.
        qfq does the right thing and will return the gso\_skb queue packet.
        Note: if there wasnt a gso\_skb entry then qfq will store it there.
 1b. invoke a dequeue() on the child (sfb). And herein lies the problem.
     - sfb will call the child's dequeue() which will essentially just
       try to grab something of qfq's queue.

\[  127.594489\]\[  T453\] KASAN: null-ptr-deref in range \[0x0000000000000048-0x000000000000004f\]
\[  127.594741\]\[  T453\] CPU: 2 UID: 0 PID: 453 Comm: ping Not tainted 7.1.0-rc1-00035-gac961974495b-dirty \#793 PREEMPT(full)
\[  127.595059\]\[  T453\] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
\[  127.595254\]\[  T453\] RIP: 0010:qfq\_dequeue+0x35c/0x1650 \[sch\_qfq\]
\[  127.595461\]\[  T453\] Code: 00 fc ff df 80 3c 02 00 0f 85 17 0e 00 00 4c 8d 73 48 48 89 9d b8 02 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 \<80\> 3c 02 00 0f 85 76 0c 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b
\[  127.596081\]\[  T453\] RSP: 0018:ffff88810e5af440 EFLAGS: 00010216
\[  127.596337\]\[  T453\] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: dffffc0000000000
\[  127.596623\]\[  T453\] RDX: 0000000000000009 RSI: 0000001880000000 RDI: ffff888104fd82b0
\[  127.596917\]\[  T453\] RBP: ffff888104fd8000 R08: ffff888104fd8280 R09: 1ffff110211893a3
\[  127.597165\]\[  T453\] R10: 1ffff110211893a6 R11: 1ffff110211893a7 R12: 0000001880000000
\[  127.597404\]\[  T453\] R13: ffff888104fd82b8 R14: 0000000000000048 R15: 0000000040000000
\[  127.597644\]\[  T453\] FS:  00007fc380cbfc40(0000) GS:ffff88816f2a8000(0000) knlGS:0000000000000000
\[  127.597956\]\[  T453\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  127.598160\]\[  T453\] CR2: 00005610aa9890a8 CR3: 000000010369e000 CR4: 0000000000750ef0
\[  127.598390\]\[  T453\] PKRU: 55555554
\[  127.598509\]\[  T453\] Call Trace:
\[  127.598629\]\[  T453\]  \<TASK\>
\[  127.598718\]\[  T453\]  ? mark\_held\_locks+0x40/0x70
\[  127.598890\]\[  T453\]  ? srso\_alias\_return\_thunk+0x5/0xfbef5
\[  127.599053\]\[  T453\]  sfb\_dequeue+0x88/0x4d0
\[  127.599174\]\[  T453\]  ? ktime\_get+0x137/0x230
\[  127.599328\]\[  T453\]  ? srso\_alias\_return\_thunk+0x5/0xfbef5
\[  127.599480\]\[  T453\]  ? qdisc\_peek\_dequeued+0x7b/0x350 \[sch\_qfq\]
\[  127.599670\]\[  T453\]  ? srso\_alias\_return\_thunk+0x5/0xfbef5
\[  127.599831\]\[  T453\]  tbf\_dequeue+0x6b1/0x1098 \[sch\_tbf\]
\[  127.599988\]\[  T453\]  \_\_qdisc\_run+0x169/0x1900

The right thing to do in \#1b is to grab the skb off gso\_skb queue.
This patchset fixes that issue by changing \#1b to use qdisc\_dequeue\_peeked()
method instead.

## Affected and fixed versions

- Linux: \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< e5ea51e5f3fbba41d50cd84a530f33bc1c8f4d57; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 1e70274d3b81de28973bcdbce40a512bcb181ff9; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< e125f5980b730c67c92a30cf150ec8c3d6777318; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 6c153d97c100f5b282c424101d8ff63122306997; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 84bfbfc0c48731bcce74cdf4f9c497547ec525e0; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< dbc560858da8b77dd9e4ef0cd93d421e0e4d7e0e; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 9ad3288632c859cf84183199832d822e7a70bdae; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 1b9bc71153b01dbde8045b9edede4240f4f5520e (cvelist)
- Linux: 2.6.39 (cvelist)

## Mitigation

- Upgrade Linux to 1b9bc71153b01dbde8045b9edede4240f4f5520e or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64012.md
Affected: Linux >= e13e02a3c68d899169c78d9a18689bd73491d59a, < e5ea51e5f3fbba41d50cd84a530f33bc1c8f4d57; >= e13e02a3c68d899169c78d9a18689bd73491d59a, < 1e70274d3b81de28973bcdbce40a512bcb181ff9; >= e13e02a3c68d899169c78d9a18689bd73491d59a, < e125f5980b730c67c92a30cf150ec8c3d6777318; >= e13e02a3c68d899169c78d9…
Fixed in: Linux 1e70274d3b81de28973bcdbce40a512bcb181ff9, Linux 6c153d97c100f5b282c424101d8ff63122306997, Linux 84bfbfc0c48731bcce74cdf4f9c497547ec525e0, Linux 9ad3288632c859cf84183199832d822e7a70bdae, Linux 1b9bc71153b01dbde8045b9edede4240f4f5520e

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

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

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

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

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

Linux \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< e5ea51e5f3fbba41d50cd84a530f33bc1c8f4d57; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 1e70274d3b81de28973bcdbce40a512bcb181ff9; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< e125f5980b730c67c92a30cf150ec8c3d6777318; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 6c153d97c100f5b282c424101d8ff63122306997; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 84bfbfc0c48731bcce74cdf4f9c497547ec525e0; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< dbc560858da8b77dd9e4ef0cd93d421e0e4d7e0e; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 9ad3288632c859cf84183199832d822e7a70bdae; \>= e13e02a3c68d899169c78d9a18689bd73491d59a, \< 1b9bc71153b01dbde8045b9edede4240f4f5520e; Linux 2.6.39.

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

Yes. Fixed in Linux 1e70274d3b81de28973bcdbce40a512bcb181ff9, Linux 6c153d97c100f5b282c424101d8ff63122306997, Linux 84bfbfc0c48731bcce74cdf4f9c497547ec525e0, Linux 9ad3288632c859cf84183199832d822e7a70bdae, Linux 1b9bc71153b01dbde8045b9edede4240f4f5520e. Upgrade Linux to 1b9bc71153b01dbde8045b9edede4240f4f5520e or later.

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

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/e5ea51e5f3fbba41d50cd84a530f33bc1c8f4d57>
- patch: <https://git.kernel.org/stable/c/1e70274d3b81de28973bcdbce40a512bcb181ff9>
- patch: <https://git.kernel.org/stable/c/e125f5980b730c67c92a30cf150ec8c3d6777318>
- patch: <https://git.kernel.org/stable/c/6c153d97c100f5b282c424101d8ff63122306997>
- patch: <https://git.kernel.org/stable/c/84bfbfc0c48731bcce74cdf4f9c497547ec525e0>
- patch: <https://git.kernel.org/stable/c/dbc560858da8b77dd9e4ef0cd93d421e0e4d7e0e>
- patch: <https://git.kernel.org/stable/c/9ad3288632c859cf84183199832d822e7a70bdae>
- patch: <https://git.kernel.org/stable/c/1b9bc71153b01dbde8045b9edede4240f4f5520e>

## 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-64012>

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