PT-2024-8490 · Linux+6 · Linux Kernel+6

Published

2024-04-02

·

Updated

2025-09-29

·

CVE-2024-35886

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to the fixed version
Description The issue is related to an infinite recursion in the fib6 dump done() function during netlink socket destruction. This occurs when syzkaller sends an AF UNSPEC RTM GETROUTE message and the response is generated, but the first call of inet6 dump fib() fails at kzalloc() due to fault injection. The fib6 dump done() function calls fib6 dump end() and nlk sk(sk)->cb.done() if it is still not NULL, and fib6 dump end() rewrites nlk sk(sk)->cb.done() by nlk sk(sk)->cb.args[3], leading to recursive calls and a stack guard page hit.
Recommendations To resolve the issue, set the destructor after kzalloc(). As a temporary workaround, consider disabling the fib6 dump done() function until a patch is available. Restrict access to the vulnerable netlink sock destruct() function to minimize the risk of exploitation. Avoid using the recvmmsg() function in the affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Uncontrolled Recursion

Memory Corruption

Infinite Loop

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

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-10050
CVE-2024-35886
DLA-3840-1
DLA-3842-1
INFSA-2024_9315
OESA-2024-1677
OESA-2024-1678
OESA-2024-1682
OESA-2024-1706
OPENSUSE-SU-2024_2372-1
OPENSUSE-SU-2024_2394-1
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2360-1
SUSE-SU-2024:2372-1
SUSE-SU-2024:2381-1
SUSE-SU-2024:2394-1
SUSE-SU-2024:2561-1
SUSE-SU-2024:2571-1
SUSE-SU-2024:2896-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2973-1
SUSE-SU-2025:20008-1
SUSE-SU-2025:20028-1
USN-6893-1
USN-6893-2
USN-6893-3
USN-6896-1
USN-6896-2
USN-6896-3
USN-6896-4
USN-6896-5
USN-6898-1
USN-6898-2
USN-6898-3
USN-6898-4
USN-6917-1
USN-6918-1
USN-6919-1
USN-6927-1
USN-7019-1
USN-7183-1
USN-7184-1
USN-7185-1
USN-7185-2

Affected Products

Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu