CVE-2024-49864

Severity CVSS v4.0:
Pending analysis
Type:
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Publication date:
21/10/2024
Last modified:
13/11/2024

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.55 (including)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.10 (including) 6.10.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (including) 6.11.3 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*