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

Published

2024-10-01

·

Updated

2025-11-12

·

CVE-2024-49864

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.6.58
Description: The issue is related to a race condition between socket setup and I/O thread creation in the Linux kernel's rxrpc module. Specifically, in rxrpc open socket(), there is a gap between setting up the socket and the I/O thread that handles it, during which a packet may arrive from a UDP packet, causing an error when trying to wake the not-yet-created I/O thread. A quick fix involves making rxrpc encap rcv() discard the packet if there's no I/O thread yet. A more intrusive fix could involve rearranging the socket creation to be done by the I/O thread.
Recommendations: For Linux kernel versions prior to 6.6.58, update to version 6.6.58 or later to resolve the issue. As a temporary workaround, consider modifying rxrpc encap rcv() to discard packets when there's no I/O thread yet, or rearranging the socket creation to be done by the I/O thread.

Exploit

Fix

Race Condition

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

Weakness Enumeration

Related Identifiers

ALSA-2025:20518
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALSA-2025_18281
ALSA-2025_19102
ALSA-2025_19103
ALSA-2025_19409
ALSA-2025_20518
BDU:2025-03131
CVE-2024-49864
INFSA-2025_20518
MGASA-2024-0344
MGASA-2024-0345
OESA-2025-1097
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_3984-1
OPENSUSE-SU-2024_3986-1
OPENSUSE-SU-2025:14705-1
RHSA-2025:20518
RHSA-2025_20518
SUSE-SU-2024:3984-1
SUSE-SU-2024:3986-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7301-1
USN-7303-1
USN-7303-2
USN-7303-3
USN-7304-1
USN-7310-1
USN-7311-1
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1

Affected Products

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