PT-2024-36943 · Linux+4 · Linux Kernel+4

Syzbot

·

Published

2024-12-05

·

Updated

2025-10-03

·

CVE-2024-56635

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 6.6.74
Description The issue is a race between device and netns dismantles, which can lead to a potential use-after-free (UAF) in the default operstate() function. This occurs after calling rtnl unlock() from netdev run todo(), where it cannot be assumed that the netns of each device is still alive. The problem is mitigated by ensuring the device is not in the NETREG UNREGISTERED state and adding an ASSERT RTNL() before the call to dev get by index().
Recommendations To resolve the issue, update the Linux kernel to version 6.6.74 or later. As a temporary workaround, consider disabling the default operstate() function until a patch is available. Restrict access to the vulnerable dev get by index() function to minimize the risk of exploitation. Avoid using the netdev run todo() function in conjunction with rtnl unlock() until the issue is resolved.

Exploit

Fix

Use After Free

Race Condition

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
ALT-PU-2024-17881
ALT-PU-2024-17897
ALT-PU-2025-12647
AZL-56300
BDU:2025-06977
CVE-2024-56635
MGASA-2025-0030
MGASA-2025-0032
OESA-2025-1372
OESA-2025-1450
OPENSUSE-SU-2025_0428-1
OPENSUSE-SU-2025_0499-1
OPENSUSE-SU-2025_0557-1
SUSE-SU-2025:0289-1
SUSE-SU-2025:0428-1
SUSE-SU-2025:0499-1
SUSE-SU-2025:0557-1
SUSE-SU-2025:20165-1
SUSE-SU-2025:20166-1
SUSE-SU-2025:20248-1
SUSE-SU-2025:20249-1
SUSE-SU-2025_0428-1
SUSE-SU-2025_0499-1
SUSE-SU-2025_0557-1
USN-7379-1
USN-7379-2
USN-7380-1
USN-7381-1
USN-7382-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Linuxmint
Linux Kernel
Suse
Ubuntu