CVE-2025-38524

rxrpc: Fix recv-recv race of completed call

7.5 high EPSS 0.34%

Published 16 Aug 2025 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2025-38524

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-2025-38524 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: Fix recv-recv race of completed call

If a call receives an event (such as incoming data), the call gets placed on the socket's queue and a thread in recvmsg can be awakened to go and process it. Once the thread has picked up the call off of the queue, further events will cause it to be requeued, and once the socket lock is dropped (recvmsg uses call->user_mutex to allow the socket to be used in parallel), a second thread can come in and its recvmsg can pop the call off the socket queue again.

In such a case, the first thread will be receiving stuff from the call and the second thread will be blocked on call->user_mutex. The first thread can, at this point, process both the event that it picked call for and the event that the second thread picked the call for and may see the call terminate - in which case the call will be "released", decoupling the call from the user call ID assigned to it (RXRPC_USER_CALL_ID in the control message).

The first thread will return okay, but then the second thread will wake up holding the user_mutex and, if it sees that the call has been released by the first thread, it will BUG thusly:

kernel BUG at net/rxrpc/recvmsg.c:474!

Fix this by just dequeuing the call and ignoring it if it is seen to be already released. We can't tell userspace about it anyway as the user call ID has become stale.

Severity (CVSS)

7.5 high CVSS 3.1 from Linux (CNA)
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.34%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 29.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 248f219cb8bcbfbd7f132752d44afa2df7c241d1, before 4aed0eeca58e26d752bb08b293b8dc75c6820b23
affected from 248f219cb8bcbfbd7f132752d44afa2df7c241d1, before cb720b068b18fb39c96980eb3c13f09427512be7
affected from 248f219cb8bcbfbd7f132752d44afa2df7c241d1, before 7692bde890061797f3dece0148d7859e85c55778
affected from 248f219cb8bcbfbd7f132752d44afa2df7c241d1, before 839fe96c15209dc2255c064bb44b636efe04f032
affected from 248f219cb8bcbfbd7f132752d44afa2df7c241d1, before 6c75a97a32a5fa2060c3dd30207e63b6914b606d
affected from 248f219cb8bcbfbd7f132752d44afa2df7c241d1, before 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc
Other versions: unaffected
Linux
affected 4.9
unaffected before 4.9
unaffected from 5.10.266 up to and including 5.10.*
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.100 up to and including 6.6.*
unaffected from 6.12.40 up to and including 6.12.*
unaffected from 6.15.8 up to and including 6.15.*
unaffected 6.16 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-2025-38524 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38524

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-2025-38524
trivy image --scanners vuln IMAGE | grep CVE-2025-38524

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

Source: the record CVE-2025-38524 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.