{"id":"CVE-2024-49864","summary":"rxrpc: Fix a race between socket set up and I/O thread creation","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix a race between socket set up and I/O thread creation\n\nIn rxrpc_open_socket(), it sets up the socket and then sets up the I/O\nthread that will handle it.  This is a problem, however, as there's a gap\nbetween the two phases in which a packet may come into rxrpc_encap_rcv()\nfrom the UDP packet but we oops when trying to wake the not-yet created I/O\nthread.\n\nAs a quick fix, just make rxrpc_encap_rcv() discard the packet if there's\nno I/O thread yet.\n\nA better, but more intrusive fix would perhaps be to rearrange things such\nthat the socket creation is done by the I/O thread.","modified":"2026-03-20T12:38:07.933182Z","published":"2024-10-21T18:01:07.874Z","related":["ALSA-2025:20518","MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49864.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49864.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49864"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a275da62e8c111b897b9cb73eb91df2f4e475ca5"},{"fixed":"cdf4bbbdb956d7426f687f38757ebca2a2759a0f"},{"fixed":"56e415202b8a17de6496f4023e545fcb66f118ec"},{"fixed":"c64f5fc95e9612fdf75587c8e21e494e614c18e2"},{"fixed":"bc212465326e8587325f520a052346f0b57360e6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49864.json"}}],"schema_version":"1.7.5"}