CVE-2024-40995
CVE-2024-40995 — net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc() syzbot found hanging tasks waiting on rtnl_lock [1] A reproducer is available in the syzbot bug. When a request to add multiple actions with the same index is sent, the second request will block forever on the first request. This holds rtnl_lock, and causes tasks to hang. Return -EAGAIN to prevent infinite looping, while keeping documented behavior. [1] INFO: task kworker/1:0:5088 blocked for more than 143 seconds. Not tainted 6.9.0-rc4-syzkaller-00173-g3cdb45594619 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:23744 pid:5088 tgid:5088 ppid:2 flags:0x00004000 Workqueue: events_power_efficient reg_check_chans_work Call Trace: <TASK> context_switch kernel/sched/core.c:5409 [inline]…
Published Updated Sources: cvelistV5, Linux
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
Unscored
no source published a base score
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /sched, /1:0:5088, /proc/sys/kernel/hung_task_timeout_secs, /1:0, /sched/core.c:5409.
References
11 on the record
- git.kernel.org/stable/c/0d8a2d287c8a394c0d4653f0c6c7be4c688e5a74
reference
- git.kernel.org/stable/c/c6a7da65a296745535a964be1019ec7691b0cb90
reference
- git.kernel.org/stable/c/25987a97eec4d5f897cd04ee1b45170829c610da
reference
- git.kernel.org/stable/c/6fc78d67f51aeb9a542d39a8714e16bc411582d4
reference
- git.kernel.org/stable/c/5f926aa96b08b6c47178fe1171e7ae331c695fc2
reference
- git.kernel.org/stable/c/7a0e497b597df7c4cf2b63fc6e9188b6cabe5335
reference
- git.kernel.org/stable/c/d864319871b05fadd153e0aede4811ca7008f5d6
reference
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.