CVE-2024-40995

Aliases:UBUNTU-CVE-2024-40995DEBIAN-CVE-2024-40995
Advisory lineage Upstream: 0 Downstream: 45
Modified
Published: 12 Jul 2024, 12:37
Last modified:12 May 2026, 11:56

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.29% LOW
0% probability +0.28%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

12 Jul 2024, 12:37
Published
Vulnerability first disclosed
12 May 2026, 11:56
Last Modified
Vulnerability information updated

Description

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] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 wiphy_lock include/net/cfg80211.h:5953 [inline] reg_leave_invalid_chans net/wireless/reg.c:2466 [inline] reg_check_chans_work+0x10a/0x10e0 net/wireless/reg.c:2481

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.29% Percentile: 22%

Techniques & Countermeasures

  • CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')

    The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Systems

  • debianlinux

    < 5.10.221-1 | < 6.1.99-1 | < 6.9.7-1 | < 6.9.7-1

  • debianlinux-6.1

    < 6.1.119-1~deb11u1

  • ubuntulinux

    < 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-44.44

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1015.16

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1069.75~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1132.142~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1015.16~22.04.1

  • ubuntulinux-aws-fips

    < 5.4.0-1132.142+fips1 | all | < 5.15.0-1069.75+fips1

  • ubuntulinux-azure

    all | < 5.4.0-1137.144 | < 5.15.0-1072.81 | < 6.8.0-1014.16

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1072.81~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1137.144~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1014.16~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | < 5.15.0-1072.81.1

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 5.4.0-1137.144+fips1 | all | < 5.15.0-1072.81+fips1

  • ubuntulinux-bluefield

    all | < 5.4.0-1092.99 | < 5.15.0-1052.54

  • ubuntulinux-fips

    < 5.4.0-1106.116 | all | < 5.15.0-121.131+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | < 5.4.0-1136.145 | < 5.15.0-1068.76 | < 6.8.0-1014.16

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1068.76~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1136.145~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1014.16~22.04.1

  • ubuntulinux-gcp-fips

    < 5.4.0-1136.145+fips1 | all | < 5.15.0-1068.76+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1066.72 | < 6.8.0-1010.13

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

Showing first 50 affected entries in server-rendered view.

References (34)