# CVE-2026-97958: net/sched: cls\_api: Don't replay RTM\_GETCHAIN in tc\_ctl\_chain().

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:03.753Z
- **Modified:** 2026-10-19T10:17:47.123Z

## Who should check

- Anyone running Linux \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 240251a4ca7cda213103694b6e21c4a5745e5d8b; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 6558b0d46c5941ed1aa67da8878e224c54239cc5; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 96c2fc5daf983af2e0c1256c31e89c1f3f855279; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< a1c2840d95af1fa3d83ba71e23fa0c674a4c6796; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 503ba58481e3ba69d28127d35a39cec529f9670c; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< e9ac395bb56122a057d0aa91a6b55d9e3fa37c26; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< dff39930ad5e53d202bfdfb14687d1d2fd753b4d
- Anyone running Linux 4.19

## Description

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

net/sched: cls\_api: Don't replay RTM\_GETCHAIN in tc\_ctl\_chain().

If a netlink socket sends RTM\_GETCHAIN requests repeatedly
without recv()ing the responses, tc\_ctl\_chain() hogs CPU and
triggers Hung Task splat. \[0\]

As caught in the stack trace, netlink\_attachskb() could confuse
tc\_ctl\_chain() by returning -EAGAIN when the userspace netlink
socket's receive buffer is full.

The replay: label exists since commit 32a4f5ecd738 ("net: sched:
introduce chain object to uapi") but was not used initially.

Since commit 9f407f1768d3 ("net: sched: introduce chain templates"),
the label is needed for RTM\_NEWCHAIN because tcf\_proto\_lookup\_ops()
may release RTNL to call request\_module().

However, the replay logic is unnecessary for RTM\_GETCHAIN.

Let's apply the replay logic only for RTM\_NEWCHAIN.

\[0\]:
INFO: task repro:1018 is blocked on a mutex likely owned by task repro:1022.
task:repro           state:R  running task     stack:14096 pid:1022  tgid:1014  ppid:961    task\_flags:0x400040 flags:0x00080000
Call Trace:
 \<TASK\>
 ? clockevents\_program\_event (kernel/time/clockevents.c:372)
 ? pskb\_expand\_head (net/core/skbuff.c:615)
 ? skb\_release\_data (net/core/skbuff.c:1122)
 ? netlink\_attachskb (./include/linux/skbuff.h:1323 ./include/linux/skbuff.h:1332 net/netlink/af\_netlink.c:1232)
 ? \_\_netlink\_lookup (./include/linux/rcupdate.h:882 ./include/linux/rhashtable.h:711 net/netlink/af\_netlink.c:499)
 ? tc\_chain\_notify (net/sched/cls\_api.c:3045)
 ? tc\_chain\_notify (./include/linux/skbuff.h:1384 net/sched/cls\_api.c:3041)
 ? netlink\_unicast (net/netlink/af\_netlink.c:1335)
 ? rtnl\_unicast (./include/net/netlink.h:1198 net/core/rtnetlink.c:985)
 ? tc\_ctl\_chain (net/sched/cls\_api.c:3242)
 ? rtnetlink\_rcv\_msg (net/core/rtnetlink.c:7146)
 ? netlink\_unicast (net/netlink/af\_netlink.c:1354)
 ? \_\_pfx\_rtnetlink\_rcv\_msg (net/core/rtnetlink.c:7177)
 ? netlink\_rcv\_skb (net/netlink/af\_netlink.c:2556)
 ? netlink\_unicast (net/netlink/af\_netlink.c:1319)
 ? netlink\_sendmsg (net/netlink/af\_netlink.c:1900)
 ? \_\_sock\_sendmsg (net/socket.c:800)
 ? \_\_sys\_sendto (net/socket.c:2281)
 ? \_\_x64\_sys\_sendto (net/socket.c:2288 net/socket.c:2284 net/socket.c:2284)
 ? do\_syscall\_64 (arch/x86/entry/syscall\_64.c:61 arch/x86/entry/syscall\_64.c:84)
 ? entry\_SYSCALL\_64\_after\_hwframe (arch/x86/entry/entry\_64.S:121)
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 240251a4ca7cda213103694b6e21c4a5745e5d8b; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 6558b0d46c5941ed1aa67da8878e224c54239cc5; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 96c2fc5daf983af2e0c1256c31e89c1f3f855279; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< a1c2840d95af1fa3d83ba71e23fa0c674a4c6796; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 503ba58481e3ba69d28127d35a39cec529f9670c; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< e9ac395bb56122a057d0aa91a6b55d9e3fa37c26; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< dff39930ad5e53d202bfdfb14687d1d2fd753b4d (cvelist)
- Linux: 4.19 (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-97958. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97958.md
Affected: Linux >= 2ed9db3074fcd8d12709fe40ff0e691d74229818, < 240251a4ca7cda213103694b6e21c4a5745e5d8b; >= 2ed9db3074fcd8d12709fe40ff0e691d74229818, < 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df; >= 2ed9db3074fcd8d12709fe40ff0e691d74229818, < 6558b0d46c5941ed1aa67da8878e224c54239cc5; >= 2ed9db3074fcd8d12709fe4…
Fixed in: Linux 240251a4ca7cda213103694b6e21c4a5745e5d8b, Linux 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df, Linux 6558b0d46c5941ed1aa67da8878e224c54239cc5, Linux 96c2fc5daf983af2e0c1256c31e89c1f3f855279, Linux 503ba58481e3ba69d28127d35a39cec529f9670c

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 240251a4ca7cda213103694b6e21c4a5745e5d8b; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 6558b0d46c5941ed1aa67da8878e224c54239cc5; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 96c2fc5daf983af2e0c1256c31e89c1f3f855279; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< a1c2840d95af1fa3d83ba71e23fa0c674a4c6796; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< 503ba58481e3ba69d28127d35a39cec529f9670c; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< e9ac395bb56122a057d0aa91a6b55d9e3fa37c26; \>= 2ed9db3074fcd8d12709fe40ff0e691d74229818, \< dff39930ad5e53d202bfdfb14687d1d2fd753b4d; Linux 4.19.

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

Yes. Fixed in Linux 240251a4ca7cda213103694b6e21c4a5745e5d8b, Linux 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df, Linux 6558b0d46c5941ed1aa67da8878e224c54239cc5, Linux 96c2fc5daf983af2e0c1256c31e89c1f3f855279, Linux 503ba58481e3ba69d28127d35a39cec529f9670c. No fix listed yet: follow the vendor advisory.

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

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/240251a4ca7cda213103694b6e21c4a5745e5d8b>
- other: <https://git.kernel.org/stable/c/9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df>
- other: <https://git.kernel.org/stable/c/6558b0d46c5941ed1aa67da8878e224c54239cc5>
- other: <https://git.kernel.org/stable/c/96c2fc5daf983af2e0c1256c31e89c1f3f855279>
- other: <https://git.kernel.org/stable/c/a1c2840d95af1fa3d83ba71e23fa0c674a4c6796>
- other: <https://git.kernel.org/stable/c/503ba58481e3ba69d28127d35a39cec529f9670c>
- other: <https://git.kernel.org/stable/c/e9ac395bb56122a057d0aa91a6b55d9e3fa37c26>
- other: <https://git.kernel.org/stable/c/dff39930ad5e53d202bfdfb14687d1d2fd753b4d>

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

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