CVE-2024-49864
"Linux rxrpc: UDP Packet Handling Race Condition"
Description
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.
INFO
Published Date :
Oct. 21, 2024, 6:15 p.m.
Last Modified :
Nov. 13, 2024, 2:23 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.0
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49864
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49864
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49864
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 13, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec No Types Assigned https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec Patch Changed Reference Type https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6 No Types Assigned https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6 Patch Changed Reference Type https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2 No Types Assigned https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2 Patch Changed Reference Type https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f No Types Assigned https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f Patch Added CWE NIST CWE-362 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (including) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.10 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added Description 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. Added Reference kernel.org https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49864
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49864
weaknesses.