CVE-2024-49864
rxrpc: Fix a race between socket set up and I/O thread creation
Check your servers for CVE-2024-49864
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-49864 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.45%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 40.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Oct 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a275da62e8c111b897b9cb73eb91df2f4e475ca5, before cdf4bbbdb956d7426f687f38757ebca2a2759a0f affected from a275da62e8c111b897b9cb73eb91df2f4e475ca5, before 56e415202b8a17de6496f4023e545fcb66f118ec affected from a275da62e8c111b897b9cb73eb91df2f4e475ca5, before c64f5fc95e9612fdf75587c8e21e494e614c18e2 affected from a275da62e8c111b897b9cb73eb91df2f4e475ca5, before bc212465326e8587325f520a052346f0b57360e6
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 6.6.55 up to and including 6.6.* unaffected from 6.10.14 up to and including 6.10.* unaffected from 6.11.3 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-49864 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-49864
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-49864
trivy image --scanners vuln IMAGE | grep CVE-2024-49864
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f git.kernel.org
- https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec git.kernel.org
- https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2 git.kernel.org
- https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6 git.kernel.org
Source: the record CVE-2024-49864 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse