# CVE-2026-53080: net/sched: cls\_fw: fix NULL dereference of "old" filters before change()

> 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.17% (percentile 3, 2026-11-28)
- **CWE:** CWE-476
- **Published:** 2026-06-24T16:30:21.172Z
- **Modified:** 2026-11-06T17:18:04.990Z

## Who should check

- Anyone running Linux \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< a719275da488835e987d28effc04679b4aace3a0; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< c205da704c84eeb4247d770150440294fd547049; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 5dcce34c57d5e5990869384d69deeb9414bf9b92; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 5df49f0579f7e625f2358a219d31fbc7621be799; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 829808cbf8cf8a6d07a0e67a5ea2c3fcd63a9e5c; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 41845bc5bb64f3d615abe575ad655b5e7f193634; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 4fabcfea7a9dd159df32c5df6587fe858cb0d748; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 65782b2db7321d5f97c16718c4c7f6c7205a56be
- Anyone running Linux 5.1

## Description

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

net/sched: cls\_fw: fix NULL dereference of "old" filters before change()

Like pointed out by Sashiko \[1\], since commit ed76f5edccc9 ("net: sched:
protect filter\_chain list with filter\_chain\_lock mutex") TC filters are
added to a shared block and published to datapath before their -\>change()
function is called. This is a problem for cls\_fw: an invalid filter
created with the "old" method can still classify some packets before it
is destroyed by the validation logic added by Xiang.
Therefore, insisting with repeated runs of the following script:

 \# ip link add dev crash0 type dummy
 \# ip link set dev crash0 up
 \# mausezahn  crash0 -c 100000 -P 10 \\
 \> -A 4.3.2.1 -B 1.2.3.4 -t udp "dp=1234" -q &
 \# sleep 1
 \# tc qdisc add dev crash0 egress\_block 1 clsact
 \# tc filter add block 1 protocol ip prio 1 matchall \\
 \> action skbedit mark 65536 continue
 \# tc filter add block 1 protocol ip prio 2 fw
 \# ip link del dev crash0

can still make fw\_classify() hit the WARN\_ON() in \[2\]:

 WARNING: ./include/net/pkt\_cls.h:88 at fw\_classify+0x244/0x250 \[cls\_fw\], CPU\#18: mausezahn/1399
 Modules linked in: cls\_fw(E) act\_skbedit(E)
 CPU: 18 UID: 0 PID: 1399 Comm: mausezahn Tainted: G            E       7.0.0-rc6-virtme \#17 PREEMPT(full)
 Tainted: \[E\]=UNSIGNED\_MODULE
 Hardware name: Red Hat KVM, BIOS 1.16.3-2.el9 04/01/2014
 RIP: 0010:fw\_classify+0x244/0x250 \[cls\_fw\]
 Code: 5c 49 c7 45 00 00 00 00 00 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 5b b8 ff ff ff ff 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 \<0f\> 0b 90 eb a0 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90
 RSP: 0018:ffffd1b7026bf8a8 EFLAGS: 00010202
 RAX: ffff8c5ac9c60800 RBX: ffff8c5ac99322c0 RCX: 0000000000000004
 RDX: 0000000000000001 RSI: ffff8c5b74d7a000 RDI: ffff8c5ac8284f40
 RBP: ffffd1b7026bf8d0 R08: 0000000000000000 R09: ffffd1b7026bf9b0
 R10: 00000000ffffffff R11: 0000000000000000 R12: 0000000000010000
 R13: ffffd1b7026bf930 R14: ffff8c5ac8284f40 R15: 0000000000000000
 FS:  00007fca40c37740(0000) GS:ffff8c5b74d7a000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007fca40e822a0 CR3: 0000000005ca0001 CR4: 0000000000172ef0
 Call Trace:
  \<TASK\>
  tcf\_classify+0x17d/0x5c0
  tc\_run+0x9d/0x150
  \_\_dev\_queue\_xmit+0x2ab/0x14d0
  ip\_finish\_output2+0x340/0x8f0
  ip\_output+0xa4/0x250
  raw\_sendmsg+0x147d/0x14b0
  \_\_sys\_sendto+0x1cc/0x1f0
  \_\_x64\_sys\_sendto+0x24/0x30
  do\_syscall\_64+0x126/0xf80
  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
 RIP: 0033:0x7fca40e822ba
 Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89
 RSP: 002b:00007ffc248a42c8 EFLAGS: 00000246 ORIG\_RAX: 000000000000002c
 RAX: ffffffffffffffda RBX: 000055ef233289d0 RCX: 00007fca40e822ba
 RDX: 000000000000001e RSI: 000055ef23328c30 RDI: 0000000000000003
 RBP: 000055ef233289d0 R08: 00007ffc248a42d0 R09: 0000000000000010
 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000001e
 R13: 00000000000186a0 R14: 0000000000000000 R15: 00007fca41043000
  \</TASK\>
 irq event stamp: 1045778
 hardirqs last  enabled at (1045784): \[\<ffffffff864ec042\>\] \_\_up\_console\_sem+0x52/0x60
 hardirqs last disabled at (1045789): \[\<ffffffff864ec027\>\] \_\_up\_console\_sem+0x37/0x60
 softirqs last  enabled at (1045426): \[\<ffffffff874d48c7\>\] \_\_alloc\_skb+0x207/0x260
 softirqs last disabled at (1045434): \[\<ffffffff874fe8f8\>\] \_\_dev\_queue\_xmit+0x78/0x14d0

Then, because of the value in the packet's mark, dereference on 'q-\>handle'
with NULL 'q' occurs:

 BUG: kernel NULL  pointer dereference, address: 0000000000000038
 \[...\]
 RIP: 0010:fw\_classify+0x1fe/0x250 \[cls\_fw\]
 \[...\]

Skip "old-style" classification on shared blocks, so that the NULL
dereference is fixed and WARN\_ON() is not hit anymore in the short
lifetime of invalid cls\_fw "old-style" filters.

\[1\] https://sashiko.dev/\#/patchset/2
---truncated---

## Affected and fixed versions

- Linux: \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< a719275da488835e987d28effc04679b4aace3a0; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< c205da704c84eeb4247d770150440294fd547049; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 5dcce34c57d5e5990869384d69deeb9414bf9b92; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 5df49f0579f7e625f2358a219d31fbc7621be799; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 829808cbf8cf8a6d07a0e67a5ea2c3fcd63a9e5c; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 41845bc5bb64f3d615abe575ad655b5e7f193634; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 4fabcfea7a9dd159df32c5df6587fe858cb0d748; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 65782b2db7321d5f97c16718c4c7f6c7205a56be (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 65782b2db7321d5f97c16718c4c7f6c7205a56be 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-53080. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53080.md
Affected: Linux >= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, < a719275da488835e987d28effc04679b4aace3a0; >= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, < c205da704c84eeb4247d770150440294fd547049; >= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, < 5dcce34c57d5e5990869384d69deeb9414bf9b92; >= ed76f5edccc98fa66f2337f…
Fixed in: Linux 5dcce34c57d5e5990869384d69deeb9414bf9b92, Linux 5df49f0579f7e625f2358a219d31fbc7621be799, Linux 829808cbf8cf8a6d07a0e67a5ea2c3fcd63a9e5c, Linux 41845bc5bb64f3d615abe575ad655b5e7f193634, Linux 4fabcfea7a9dd159df32c5df6587fe858cb0d748, Linux 65782b2db7321d5f97c16718c4c7f6c7205a56be

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

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

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

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

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

Linux \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< a719275da488835e987d28effc04679b4aace3a0; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< c205da704c84eeb4247d770150440294fd547049; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 5dcce34c57d5e5990869384d69deeb9414bf9b92; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 5df49f0579f7e625f2358a219d31fbc7621be799; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 829808cbf8cf8a6d07a0e67a5ea2c3fcd63a9e5c; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 41845bc5bb64f3d615abe575ad655b5e7f193634; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 4fabcfea7a9dd159df32c5df6587fe858cb0d748; \>= ed76f5edccc98fa66f2337f0b3b255d6e1a568b7, \< 65782b2db7321d5f97c16718c4c7f6c7205a56be; Linux 5.1.

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

Yes. Fixed in Linux 5dcce34c57d5e5990869384d69deeb9414bf9b92, Linux 5df49f0579f7e625f2358a219d31fbc7621be799, Linux 829808cbf8cf8a6d07a0e67a5ea2c3fcd63a9e5c, Linux 41845bc5bb64f3d615abe575ad655b5e7f193634, Linux 4fabcfea7a9dd159df32c5df6587fe858cb0d748, Linux 65782b2db7321d5f97c16718c4c7f6c7205a56be. Upgrade Linux to 65782b2db7321d5f97c16718c4c7f6c7205a56be or later.

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

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/a719275da488835e987d28effc04679b4aace3a0>
- patch: <https://git.kernel.org/stable/c/c205da704c84eeb4247d770150440294fd547049>
- patch: <https://git.kernel.org/stable/c/5dcce34c57d5e5990869384d69deeb9414bf9b92>
- patch: <https://git.kernel.org/stable/c/5df49f0579f7e625f2358a219d31fbc7621be799>
- patch: <https://git.kernel.org/stable/c/829808cbf8cf8a6d07a0e67a5ea2c3fcd63a9e5c>
- patch: <https://git.kernel.org/stable/c/41845bc5bb64f3d615abe575ad655b5e7f193634>
- patch: <https://git.kernel.org/stable/c/4fabcfea7a9dd159df32c5df6587fe858cb0d748>
- patch: <https://git.kernel.org/stable/c/65782b2db7321d5f97c16718c4c7f6c7205a56be>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.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-53080>

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