CVE-2024-49864CWE-362

CVE-2024-49864

High · published October 21, 2024

CVSS v3.1
7.5
EPSS
0%
Percentile
38.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00449 · 38.0th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2024-10-21T22:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.2, ≤ 6.6.55—
linux/linux_kernel≥ 6.10, < 6.10.146.10.14
linux/linux_kernel≥ 6.11, < 6.11.36.11.3
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 21 OCT 18:01Z
    rxrpc: Fix a race between socket set up and I/O thread creation
    cvelistv5