CVE-2026-97958
net/sched: cls_api: Don't replay RTM_GETCHAIN in tc_ctl_chain().
Check your servers for CVE-2026-97958
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97958 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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>
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.29% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before 240251a4ca7cda213103694b6e21c4a5745e5d8b affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before 9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before 6558b0d46c5941ed1aa67da8878e224c54239cc5 affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before 96c2fc5daf983af2e0c1256c31e89c1f3f855279 affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before a1c2840d95af1fa3d83ba71e23fa0c674a4c6796 affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before 503ba58481e3ba69d28127d35a39cec529f9670c affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before e9ac395bb56122a057d0aa91a6b55d9e3fa37c26 affected from 2ed9db3074fcd8d12709fe40ff0e691d74229818, before dff39930ad5e53d202bfdfb14687d1d2fd753b4d
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97958 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97958
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97958
trivy image --scanners vuln IMAGE | grep CVE-2026-97958
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/240251a4ca7cda213103694b6e21c4a5745e5d8b git.kernel.org
- https://git.kernel.org/stable/c/9a0f07f7dbd1bfe8c2fd03ad055e9e60a703d5df git.kernel.org
- https://git.kernel.org/stable/c/6558b0d46c5941ed1aa67da8878e224c54239cc5 git.kernel.org
- https://git.kernel.org/stable/c/96c2fc5daf983af2e0c1256c31e89c1f3f855279 git.kernel.org
- https://git.kernel.org/stable/c/a1c2840d95af1fa3d83ba71e23fa0c674a4c6796 git.kernel.org
- https://git.kernel.org/stable/c/503ba58481e3ba69d28127d35a39cec529f9670c git.kernel.org
- https://git.kernel.org/stable/c/e9ac395bb56122a057d0aa91a6b55d9e3fa37c26 git.kernel.org
- https://git.kernel.org/stable/c/dff39930ad5e53d202bfdfb14687d1d2fd753b4d git.kernel.org
Source: the record CVE-2026-97958 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse