PT-2024-35605 · Linux+7 · Linux Kernel+7

Syzkaller

·

Published

2024-11-05

·

Updated

2025-10-03

·

CVE-2024-53140

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.6.65
Description The Linux kernel had a vulnerability that has been resolved. Netlink supports iterative dumping of data, providing the following operations: start, dump, and done. The process is asynchronous, and repeated calls to dump are triggered in response to recvmsg() on the socket. This gives the user full control over the dump, but also means that the user can close the socket without getting to the end of the dump. To ensure that start is always paired with done, the kernel checks if there is an ongoing dump before freeing the socket and calls done if necessary. However, the use of a workqueue to defer the call does not work correctly, as it defers the release of a reference on the socket instead of the cleanup. Since only the user can interact with dumps, the kernel can clean up when the socket is closed, and close always happens in process context.
Recommendations For Linux kernel versions prior to 6.6.65, update to version 6.6.65 or later to resolve the issue. As a temporary workaround, consider disabling the dump operation until a patch is available. Restrict access to the Netlink socket to minimize the risk of exploitation. Avoid using the start and done operations in the affected API endpoint until the issue is resolved.

Exploit

Fix

Double Free

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

Weakness Enumeration

Related Identifiers

ALT-PU-2024-16040
ALT-PU-2024-17211
ALT-PU-2024-17888
ALT-PU-2025-12647
AZL-54183
AZL-54197
BDU:2025-03319
CVE-2024-53140
DLA-4008-1
DLA-4075-1
LSN-0110-1
MGASA-2024-0392
MGASA-2024-0393
OESA-2025-1034
OESA-2025-1093
OESA-2025-1097
OPENSUSE-SU-2025_1177-1
OPENSUSE-SU-2025_1178-1
OPENSUSE-SU-2025_1180-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01951-1
SUSE-SU-2025:01967-1
SUSE-SU-2025:1177-1
SUSE-SU-2025:1178-1
SUSE-SU-2025:1180-1
SUSE-SU-2025:1293-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
SUSE-SU-2025_01951-1
SUSE-SU-2025_01967-1
SUSE-SU-2025_1177-1
SUSE-SU-2025_1178-1
SUSE-SU-2025_1180-1
SUSE-SU-2025_1293-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7387-1
USN-7387-2
USN-7387-3
USN-7388-1
USN-7389-1
USN-7390-1
USN-7391-1
USN-7392-1
USN-7392-2
USN-7392-3
USN-7392-4
USN-7393-1
USN-7401-1
USN-7402-1
USN-7402-2
USN-7402-3
USN-7402-4
USN-7402-5
USN-7403-1
USN-7407-1
USN-7413-1
USN-7421-1
USN-7451-1
USN-7458-1
USN-7459-1
USN-7459-2
USN-7463-1
USN-7468-1
USN-7496-1
USN-7496-2
USN-7496-3
USN-7496-4
USN-7496-5
USN-7506-1
USN-7506-2
USN-7506-3
USN-7506-4
USN-7523-1
USN-7524-1
USN-7539-1
USN-7540-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu