# CVE-2024-35892: net/sched: fix lockdep splat in qdisc\_tree\_reduce\_backlog()

> 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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-05-19T08:34:47.914Z
- **Modified:** 2026-06-17T07:35:39.257Z

## Who should check

- Anyone running Linux \>= 9d9a38b5639fcefacc1e977567fb4b4e4a74d0b3, \< b7d1ce2cc7192e8a037faa3f5d3ba72c25976460; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< c040b99461a5bfc14c2d0cbb1780fcc3a4706c7e; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< 07696415526bee0607e495017369c7303a4792e1; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< 7eb322360b0266481e560d1807ee79e0cef5742b; 3a4741bb13caf482b877b10ac1bcf7390cad7077; \>= 6.1.34, \< 6.1.85; \>= 6.3.8, \< 6.4
- Anyone running Linux 6.4

## Description

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

net/sched: fix lockdep splat in qdisc\_tree\_reduce\_backlog()

qdisc\_tree\_reduce\_backlog() is called with the qdisc lock held,
not RTNL.

We must use qdisc\_lookup\_rcu() instead of qdisc\_lookup()

syzbot reported:

WARNING: suspicious RCU usage
6.1.74-syzkaller \#0 Not tainted
-----------------------------
net/sched/sch\_api.c:305 suspicious rcu\_dereference\_protected() usage!

other info that might help us debug this:

rcu\_scheduler\_active = 2, debug\_locks = 1
3 locks held by udevd/1142:
  \#0: ffffffff87c729a0 (rcu\_read\_lock){....}-{1:2}, at: rcu\_lock\_acquire include/linux/rcupdate.h:306 \[inline\]
  \#0: ffffffff87c729a0 (rcu\_read\_lock){....}-{1:2}, at: rcu\_read\_lock include/linux/rcupdate.h:747 \[inline\]
  \#0: ffffffff87c729a0 (rcu\_read\_lock){....}-{1:2}, at: net\_tx\_action+0x64a/0x970 net/core/dev.c:5282
  \#1: ffff888171861108 (&sch-\>q.lock){+.-.}-{2:2}, at: spin\_lock include/linux/spinlock.h:350 \[inline\]
  \#1: ffff888171861108 (&sch-\>q.lock){+.-.}-{2:2}, at: net\_tx\_action+0x754/0x970 net/core/dev.c:5297
  \#2: ffffffff87c729a0 (rcu\_read\_lock){....}-{1:2}, at: rcu\_lock\_acquire include/linux/rcupdate.h:306 \[inline\]
  \#2: ffffffff87c729a0 (rcu\_read\_lock){....}-{1:2}, at: rcu\_read\_lock include/linux/rcupdate.h:747 \[inline\]
  \#2: ffffffff87c729a0 (rcu\_read\_lock){....}-{1:2}, at: qdisc\_tree\_reduce\_backlog+0x84/0x580 net/sched/sch\_api.c:792

stack backtrace:
CPU: 1 PID: 1142 Comm: udevd Not tainted 6.1.74-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
 \<TASK\>
  \[\<ffffffff85b85f14\>\] \_\_dump\_stack lib/dump\_stack.c:88 \[inline\]
  \[\<ffffffff85b85f14\>\] dump\_stack\_lvl+0x1b1/0x28f lib/dump\_stack.c:106
  \[\<ffffffff85b86007\>\] dump\_stack+0x15/0x1e lib/dump\_stack.c:113
  \[\<ffffffff81802299\>\] lockdep\_rcu\_suspicious+0x1b9/0x260 kernel/locking/lockdep.c:6592
  \[\<ffffffff84f0054c\>\] qdisc\_lookup+0xac/0x6f0 net/sched/sch\_api.c:305
  \[\<ffffffff84f037c3\>\] qdisc\_tree\_reduce\_backlog+0x243/0x580 net/sched/sch\_api.c:811
  \[\<ffffffff84f5b78c\>\] pfifo\_tail\_enqueue+0x32c/0x4b0 net/sched/sch\_fifo.c:51
  \[\<ffffffff84fbcf63\>\] qdisc\_enqueue include/net/sch\_generic.h:833 \[inline\]
  \[\<ffffffff84fbcf63\>\] netem\_dequeue+0xeb3/0x15d0 net/sched/sch\_netem.c:723
  \[\<ffffffff84eecab9\>\] dequeue\_skb net/sched/sch\_generic.c:292 \[inline\]
  \[\<ffffffff84eecab9\>\] qdisc\_restart net/sched/sch\_generic.c:397 \[inline\]
  \[\<ffffffff84eecab9\>\] \_\_qdisc\_run+0x249/0x1e60 net/sched/sch\_generic.c:415
  \[\<ffffffff84d7aa96\>\] qdisc\_run+0xd6/0x260 include/net/pkt\_sched.h:125
  \[\<ffffffff84d85d29\>\] net\_tx\_action+0x7c9/0x970 net/core/dev.c:5313
  \[\<ffffffff85e002bd\>\] \_\_do\_softirq+0x2bd/0x9bd kernel/softirq.c:616
  \[\<ffffffff81568bca\>\] invoke\_softirq kernel/softirq.c:447 \[inline\]
  \[\<ffffffff81568bca\>\] \_\_irq\_exit\_rcu+0xca/0x230 kernel/softirq.c:700
  \[\<ffffffff81568ae9\>\] irq\_exit\_rcu+0x9/0x20 kernel/softirq.c:712
  \[\<ffffffff85b89f52\>\] sysvec\_apic\_timer\_interrupt+0x42/0x90 arch/x86/kernel/apic/apic.c:1107
  \[\<ffffffff85c00ccb\>\] asm\_sysvec\_apic\_timer\_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:656

## Affected and fixed versions

- Linux: \>= 9d9a38b5639fcefacc1e977567fb4b4e4a74d0b3, \< b7d1ce2cc7192e8a037faa3f5d3ba72c25976460; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< c040b99461a5bfc14c2d0cbb1780fcc3a4706c7e; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< 07696415526bee0607e495017369c7303a4792e1; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< 7eb322360b0266481e560d1807ee79e0cef5742b; 3a4741bb13caf482b877b10ac1bcf7390cad7077; \>= 6.1.34, \< 6.1.85; \>= 6.3.8, \< 6.4 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 6.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-35892.md
Affected: Linux >= 9d9a38b5639fcefacc1e977567fb4b4e4a74d0b3, < b7d1ce2cc7192e8a037faa3f5d3ba72c25976460; >= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, < c040b99461a5bfc14c2d0cbb1780fcc3a4706c7e; >= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, < 07696415526bee0607e495017369c7303a4792e1; >= d636fc5dd692c8f4e00ae6e…
Fixed in: Linux 07696415526bee0607e495017369c7303a4792e1, Linux 7eb322360b0266481e560d1807ee79e0cef5742b, Linux 6.1.85, Linux 6.4

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-2024-35892 being exploited?

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

### How serious is CVE-2024-35892?

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

### Which versions are affected by CVE-2024-35892?

Linux \>= 9d9a38b5639fcefacc1e977567fb4b4e4a74d0b3, \< b7d1ce2cc7192e8a037faa3f5d3ba72c25976460; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< c040b99461a5bfc14c2d0cbb1780fcc3a4706c7e; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< 07696415526bee0607e495017369c7303a4792e1; \>= d636fc5dd692c8f4e00ae6e0359c0eceeb5d9bdb, \< 7eb322360b0266481e560d1807ee79e0cef5742b; 3a4741bb13caf482b877b10ac1bcf7390cad7077; \>= 6.1.34, \< 6.1.85; \>= 6.3.8, \< 6.4; Linux 6.4.

### Is there a fix for CVE-2024-35892?

Yes. Fixed in Linux 07696415526bee0607e495017369c7303a4792e1, Linux 7eb322360b0266481e560d1807ee79e0cef5742b, Linux 6.1.85, Linux 6.4. Upgrade Linux to 6.4 or later.

### How do I check if I'm affected by CVE-2024-35892?

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/b7d1ce2cc7192e8a037faa3f5d3ba72c25976460>
- patch: <https://git.kernel.org/stable/c/c040b99461a5bfc14c2d0cbb1780fcc3a4706c7e>
- patch: <https://git.kernel.org/stable/c/07696415526bee0607e495017369c7303a4792e1>
- patch: <https://git.kernel.org/stable/c/7eb322360b0266481e560d1807ee79e0cef5742b>

## 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-2024-35892>

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