CVE-2024-49864
JSON

7.5high

rxrpc: Fix a race between socket set up and I/O thread creation

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.58% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom a275da62e8c111b897b9cb73eb91df2f4e475ca5 before cdf4bbbdb956d7426f687f38757ebca2a2759a0f, from a275da62e8c111b897b9cb73eb91df2f4e475ca5 before 56e415202b8a17de6496f4023e545fcb66f118ec, from a275da62e8c111b897b9cb73eb91df2f4e475ca5 before c64f5fc95e9612fdf75587c8e21e494e614c18e2, from a275da62e8c111b897b9cb73eb91df2f4e475ca5 before bc212465326e8587325f520a052346f0b57360e6, 6.2
Not affected: before 6.2, from 6.6.55 up to 6.6.*, from 6.10.14 up to 6.10.*, from 6.11.3 up to 6.11.*, from 6.12 up to *
CVE List
linux linux_kernelfrom 6.2 up to 6.6.55, from 6.10 before 6.10.14, from 6.11 before 6.11.3, 6.12NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rxrpc: Corrige una ejecución entre la configuración del socket y la creación del hilo de E/S En rxrpc_open_socket(), configura el socket y luego configura el hilo de E/S que lo manejará. Sin embargo, esto es un problema, ya que hay una brecha entre las dos fases en las que un paquete puede llegar a rxrpc_encap_rcv() desde el paquete UDP, pero fallo al intentar despertar el hilo de E/S aún no creado. Como solución rápida, simplemente haga que rxrpc_encap_rcv() descarte el paquete si aún no hay un hilo de E/S. Una solución mejor, pero más intrusiva, tal vez sería reorganizar las cosas de modo que la creación del socket la realice el hilo de E/S.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-49864 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-49864 changed 2026-08-04Public domain