PT-2024-6130 · Linux+9 · Linux Kernel+9

Breno Leitao

·

Published

2024-05-10

·

Updated

2025-09-29

·

CVE-2024-38596

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/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-rc7
Description A data-race condition has been identified in the af unix component of the Linux kernel. This issue occurs because the write function unix release sock() atomically writes to sk->sk shutdown using WRITE ONCE, but the reader side, unix stream sendmsg(), does not read it atomically. This can cause a KCSAN splat to occur, indicating a data-race in unix release sock and unix stream sendmsg. The issue is related to the unix stream sendmsg() function not being protected by unix state lock(), unlike other reads.
Recommendations To resolve this issue, update the Linux kernel to version 6.9-rc7 or later. As a temporary workaround, consider disabling the unix stream sendmsg() function until a patch is available. Restrict access to the vulnerable af unix module to minimize the risk of exploitation. Avoid using the sk->sk shutdown variable in the affected API endpoints until the issue is resolved. At the moment, there is no information about additional mitigation measures.

Exploit

Fix

Race Condition

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

Weakness Enumeration

Related Identifiers

ALSA-2024:5101
ALSA-2024:5102
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2024-07049
CESA-2024_5101
CESA-2024_5102
CVE-2024-38596
DLA-3840-1
DSA-5730-1
INFSA-2024_5101
INFSA-2024_5102
INFSA-2024_9315
MGASA-2024-0263
MGASA-2024-0266
OESA-2024-1765
OESA-2024-1766
OESA-2024-1767
OESA-2024-1838
OPENSUSE-SU-2024_3551-1
OPENSUSE-SU-2024_3561-1
OPENSUSE-SU-2024_3564-1
OPENSUSE-SU-2024_3587-1
OPENSUSE-SU-2024_3592-1
RHSA-2024:4823
RHSA-2024:4831
RHSA-2024:4902
RHSA-2024:5101
RHSA-2024:5102
RHSA-2024:6206
RHSA-2024:9315
RHSA-2024:9546
RHSA-2024_5101
RHSA-2024_5102
RHSA-2024_9315
RLSA-2024:5101
RLSA-2024:5102
RXSA-2024:5101
SUSE-SU-2024:3551-1
SUSE-SU-2024:3559-1
SUSE-SU-2024:3561-1
SUSE-SU-2024:3564-1
SUSE-SU-2024:3566-1
SUSE-SU-2024:3569-1
SUSE-SU-2024:3587-1
SUSE-SU-2024:3591-1
SUSE-SU-2024:3592-1
SUSE-SU-2025:20073-1
SUSE-SU-2025:20077-1
USN-6949-1
USN-6949-2
USN-6951-1
USN-6951-2
USN-6951-3
USN-6951-4
USN-6952-1
USN-6952-2
USN-6953-1
USN-6955-1
USN-6979-1
USN-7007-1
USN-7007-2
USN-7007-3
USN-7009-1
USN-7009-2
USN-7019-1
USN-7121-1
USN-7121-2
USN-7121-3

Affected Products

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