CVE-2024-49864

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

State
Published
Severity
7.5 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a275da62e8c111b897b9cb73eb91df2f4e475ca5 to before cdf4bbbdb956d7426f687f38757ebca2a2759a0fAffected
  • a275da62e8c111b897b9cb73eb91df2f4e475ca5 to before 56e415202b8a17de6496f4023e545fcb66f118ecAffected
  • a275da62e8c111b897b9cb73eb91df2f4e475ca5 to before c64f5fc95e9612fdf75587c8e21e494e614c18e2Affected
  • a275da62e8c111b897b9cb73eb91df2f4e475ca5 to before bc212465326e8587325f520a052346f0b57360e6Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.6.55 through 6.6.*Not affected
  • 6.10.14 through 6.10.*Not affected
  • 6.11.3 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.