CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-49864: rxrpc: Fix a race between socket set up and I/O thread creation

4.7 CVSS

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.

Classification

CVE ID: CVE-2024-49864

CVSS Base Severity: MEDIUM

CVSS Base Score: 4.7

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 4.49% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-49864
https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f
https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec
https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2
https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6

Timeline