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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2024-10-21T18:01:07.874Z
- Modified: 2026-08-05T11:40:12.232Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.2 up to 6.6.55; from 6.10 before 6.10.14; from 6.11 before 6.11.3; 6.12

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f> (patch)
- <https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec> (patch)
- <https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2> (patch)
- <https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6> (patch)

## Sources

- CVE List: [CVE-2024-49864](https://www.cve.org/CVERecord?id=CVE-2024-49864), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-49864](https://nvd.nist.gov/vuln/detail/CVE-2024-49864), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-49864 · Whole record: https://cve.day/CVE-2024-49864.json · Rebuilt by cve.day 2026-11-25T22:58:47.014Z
