CVE-2024-49864

In the Linux kernel, the following vulnerability has been resolved: rxrpc: Fix a race between socket set up and I/O thread creation In rxrpc_open_socket(), it sets up the socket and then sets up the I/O thread that will handle it. This is a problem, however, as there's a gap between the two phases in which a packet may come into rxrpc_encap_rcv() from the UDP packet but we oops when trying to wake the not-yet created I/O thread. As a quick fix, just make rxrpc_encap_rcv() discard the packet if there's no I/O thread yet. A better, but more intrusive fix would perhaps be to rearrange things such that the socket creation is done by the I/O thread.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

13 Nov 2024, 14:23

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6 - () https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6 - Patch
References () https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2 - () https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2 - Patch
References () https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec - () https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec - Patch
References () https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f - () https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f - Patch
CPE cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.7
First Time Linux
Linux linux Kernel
CWE CWE-362

21 Oct 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-10-21 18:15

Updated : 2024-11-13 14:23


NVD link : CVE-2024-49864

Mitre link : CVE-2024-49864


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')