CVE-2024-49864

Source
https://cve.org/CVERecord?id=CVE-2024-49864
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49864.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49864
Downstream
Related
Published
2024-10-21T18:01:07.874Z
Modified
2026-03-20T12:38:07.933182Z
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:

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

In rxrpcopensocket(), 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 rxrpcencaprcv() from the UDP packet but we oops when trying to wake the not-yet created I/O thread.

As a quick fix, just make rxrpcencaprcv() 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49864.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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"