PT-2024-10509 · Linux+10 · Linux Kernel+10

Syzbot

·

Published

2024-06-18

·

Updated

2025-09-29

·

CVE-2024-40995

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.9.0-rc4-syzkaller-00173-g3cdb45594619
Description The issue is related to a possible infinite loop in the tcf idr check alloc() function, which can cause tasks to hang when a request to add multiple actions with the same index is sent. This holds rtnl lock and causes tasks to hang. The problem can be resolved by returning -EAGAIN to prevent infinite looping while keeping documented behavior. A reproducer for this issue is available in the syzbot bug.
Recommendations To resolve this issue, update the Linux kernel to a version that includes the fix for the infinite loop in tcf idr check alloc(). As a temporary workaround, consider disabling the act api functionality until a patch is available. Restrict access to the vulnerable net/sched component to minimize the risk of exploitation. Avoid using the same index for multiple actions in the act api until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

DoS

Infinite Loop

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:7000
ALSA-2024:7001
ALSA-2024:8617
ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-12537
ALT-PU-2024-13979
ALT-PU-2024-14046
ALT-PU-2024-9967
BDU:2025-01060
CESA-2024_7000
CESA-2024_7001
CVE-2024-40995
DLA-4008-1
DSA-5730-1
DSA-5731-1
INFSA-2024_7000
INFSA-2024_7001
INFSA-2024_8617
OESA-2024-1941
OESA-2024-1942
OESA-2024-1943
OESA-2024-1944
OPENSUSE-SU-2024_3190-1
OPENSUSE-SU-2024_3209-1
OPENSUSE-SU-2024_3483-1
RHSA-2024:5672
RHSA-2024:5673
RHSA-2024:6156
RHSA-2024:6160
RHSA-2024:6990
RHSA-2024:6991
RHSA-2024:6993
RHSA-2024:7000
RHSA-2024:7001
RHSA-2024:8617
RHSA-2024_7000
RHSA-2024_7001
RHSA-2024_8617
RLSA-2024:7001
RLSA-2024:8617
SUSE-SU-2024:2892-1
SUSE-SU-2024:2901-1
SUSE-SU-2024:2940-1
SUSE-SU-2024:3190-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3209-1
SUSE-SU-2024:3383-1
SUSE-SU-2024:3483-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-6999-1
USN-6999-2
USN-7003-1
USN-7003-2
USN-7003-3
USN-7003-4
USN-7003-5
USN-7004-1
USN-7005-1
USN-7005-2
USN-7006-1
USN-7007-1
USN-7007-2
USN-7007-3
USN-7008-1
USN-7009-1
USN-7009-2
USN-7019-1
USN-7029-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu