# CVE-2023-54206: net/sched: flower: fix filter idr initialization

> 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.20% (percentile 6, 2026-11-26)
- **Published:** 2025-12-30T12:11:05.945Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 08a0063df3aed8d76a4034279117db12dbc1050f, \< 253a3a324e0ebc2825de76a0f5f17b8383b2023d; \>= 08a0063df3aed8d76a4034279117db12dbc1050f, \< dd4f6bbfa646f258e5bcdfac57a5c413d687f588
- Anyone running Linux 6.3

## Description

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

net/sched: flower: fix filter idr initialization

The cited commit moved idr initialization too early in fl\_change() which
allows concurrent users to access the filter that is still being
initialized and is in inconsistent state, which, in turn, can cause NULL
pointer dereference \[0\]. Since there is no obvious way to fix the ordering
without reverting the whole cited commit, alternative approach taken to
first insert NULL pointer into idr in order to allocate the handle but
still cause fl\_get() to return NULL and prevent concurrent users from
seeing the filter while providing miss-to-action infrastructure with valid
handle id early in fl\_change().

\[  152.434728\] general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 \[\#1\] SMP KASAN
\[  152.436163\] KASAN: null-ptr-deref in range \[0x0000000000000000-0x0000000000000007\]
\[  152.437269\] CPU: 4 PID: 3877 Comm: tc Not tainted 6.3.0-rc4+ \#5
\[  152.438110\] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
\[  152.439644\] RIP: 0010:fl\_dump\_key+0x8b/0x1d10 \[cls\_flower\]
\[  152.440461\] Code: 01 f2 02 f2 c7 40 08 04 f2 04 f2 c7 40 0c 04 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 00 01 00 00 48 89 c8 48 c1 e8 03 \<0f\> b6 04 10 84 c0 74 08 3c 03 0f 8e 98 19 00 00 8b 13 85 d2 74 57
\[  152.442885\] RSP: 0018:ffff88817a28f158 EFLAGS: 00010246
\[  152.443851\] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
\[  152.444826\] RDX: dffffc0000000000 RSI: ffffffff8500ae80 RDI: ffff88810a987900
\[  152.445791\] RBP: ffff888179d88240 R08: ffff888179d8845c R09: ffff888179d88240
\[  152.446780\] R10: ffffed102f451e48 R11: 00000000fffffff2 R12: ffff88810a987900
\[  152.447741\] R13: ffffffff8500ae80 R14: ffff88810a987900 R15: ffff888149b3c738
\[  152.448756\] FS:  00007f5eb2a34800(0000) GS:ffff88881ec00000(0000) knlGS:0000000000000000
\[  152.449888\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  152.450685\] CR2: 000000000046ad19 CR3: 000000010b0bd006 CR4: 0000000000370ea0
\[  152.451641\] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
\[  152.452628\] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
\[  152.453588\] Call Trace:
\[  152.454032\]  \<TASK\>
\[  152.454447\]  ? netlink\_sendmsg+0x7a1/0xcb0
\[  152.455109\]  ? sock\_sendmsg+0xc5/0x190
\[  152.455689\]  ? \_\_\_\_sys\_sendmsg+0x535/0x6b0
\[  152.456320\]  ? \_\_\_sys\_sendmsg+0xeb/0x170
\[  152.456916\]  ? do\_syscall\_64+0x3d/0x90
\[  152.457529\]  ? entry\_SYSCALL\_64\_after\_hwframe+0x46/0xb0
\[  152.458321\]  ? \_\_\_sys\_sendmsg+0xeb/0x170
\[  152.458958\]  ? \_\_sys\_sendmsg+0xb5/0x140
\[  152.459564\]  ? do\_syscall\_64+0x3d/0x90
\[  152.460122\]  ? entry\_SYSCALL\_64\_after\_hwframe+0x46/0xb0
\[  152.460852\]  ? fl\_dump\_key\_options.part.0+0xea0/0xea0 \[cls\_flower\]
\[  152.461710\]  ? \_raw\_spin\_lock+0x7a/0xd0
\[  152.462299\]  ? \_raw\_read\_lock\_irq+0x30/0x30
\[  152.462924\]  ? nla\_put+0x15e/0x1c0
\[  152.463480\]  fl\_dump+0x228/0x650 \[cls\_flower\]
\[  152.464112\]  ? fl\_tmplt\_dump+0x210/0x210 \[cls\_flower\]
\[  152.464854\]  ? \_\_kmem\_cache\_alloc\_node+0x1a7/0x330
\[  152.465592\]  ? nla\_put+0x15e/0x1c0
\[  152.466160\]  tcf\_fill\_node+0x515/0x9a0
\[  152.466766\]  ? tc\_setup\_offload\_action+0xf0/0xf0
\[  152.467463\]  ? \_\_alloc\_skb+0x13c/0x2a0
\[  152.468067\]  ? \_\_build\_skb\_around+0x330/0x330
\[  152.468814\]  ? fl\_get+0x107/0x1a0 \[cls\_flower\]
\[  152.469503\]  tc\_del\_tfilter+0x718/0x1330
\[  152.470115\]  ? is\_bpf\_text\_address+0xa/0x20
\[  152.470765\]  ? tc\_ctl\_chain+0xee0/0xee0
\[  152.471335\]  ? \_\_kernel\_text\_address+0xe/0x30
\[  152.471948\]  ? unwind\_get\_return\_address+0x56/0xa0
\[  152.472639\]  ? \_\_thaw\_task+0x150/0x150
\[  152.473218\]  ? arch\_stack\_walk+0x98/0xf0
\[  152.473839\]  ? \_\_stack\_depot\_save+0x35/0x4c0
\[  152.474501\]  ? stack\_trace\_save+0x91/0xc0
\[  152.475119\]  ? security\_capable+0x51/0x90
\[  152.475741\]  rtnetlink\_rcv\_msg+0x2c1/0x9d0
\[  152.476387\]  ? rtnl\_calcit.isra.0+0x2b0/0x2b0
\[  152.477042\]
---truncated---

## Affected and fixed versions

- Linux: \>= 08a0063df3aed8d76a4034279117db12dbc1050f, \< 253a3a324e0ebc2825de76a0f5f17b8383b2023d; \>= 08a0063df3aed8d76a4034279117db12dbc1050f, \< dd4f6bbfa646f258e5bcdfac57a5c413d687f588 (cvelist)
- Linux: 6.3 (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-2023-54206. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54206.md
Affected: Linux >= 08a0063df3aed8d76a4034279117db12dbc1050f, < 253a3a324e0ebc2825de76a0f5f17b8383b2023d; >= 08a0063df3aed8d76a4034279117db12dbc1050f, < dd4f6bbfa646f258e5bcdfac57a5c413d687f588; Linux 6.3
Fixed in: Linux 253a3a324e0ebc2825de76a0f5f17b8383b2023d

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-2023-54206 being exploited?

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

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

### Which versions are affected by CVE-2023-54206?

Linux \>= 08a0063df3aed8d76a4034279117db12dbc1050f, \< 253a3a324e0ebc2825de76a0f5f17b8383b2023d; \>= 08a0063df3aed8d76a4034279117db12dbc1050f, \< dd4f6bbfa646f258e5bcdfac57a5c413d687f588; Linux 6.3.

### Is there a fix for CVE-2023-54206?

Yes. Fixed in Linux 253a3a324e0ebc2825de76a0f5f17b8383b2023d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54206?

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

- other: <https://git.kernel.org/stable/c/253a3a324e0ebc2825de76a0f5f17b8383b2023d>
- other: <https://git.kernel.org/stable/c/dd4f6bbfa646f258e5bcdfac57a5c413d687f588>

## 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-2023-54206>

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