CVE-2025-38524
rxrpc: Fix recv-recv race of completed call
Reported by linux · Published August 16, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 248f219cb8bcbfbd7f132752d44afa2df7c241d1, 248f219cb8bcbfbd7f132752d44afa2df7c241d1, 248f219cb8bcbfbd7f132752d44afa2df7c241d1 |
| Linux | Linux | 4.9, 0, 5.10.266 |
| linux | linux_kernel | 4.9, 4.9, 4.9 |
| Linux | Linux | 248f219cb8bcbfbd7f132752d44afa2df7c241d1, 248f219cb8bcbfbd7f132752d44afa2df7c241d1, 248f219cb8bcbfbd7f132752d44afa2df7c241d1 |
Timeline
- Aug 16, 2025 EPSS Score (30 in total, the first dated here)
- Aug 16, 2025 CVE Published
- Oct 12, 2025 PoC Published (10 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (155 in total, the first dated here)
- Mar 29, 2026 Security Advisory (163 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38524
vulnetix vdb fixes CVE-2025-38524
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38524/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart