# CVE-2025-38524: rxrpc: Fix recv-recv race of completed call

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.48% (percentile 34, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2025-08-16T11:12:18.314Z
- **Modified:** 2026-10-30T13:18:05.443Z

## Who should check

- Anyone running Linux \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 4aed0eeca58e26d752bb08b293b8dc75c6820b23; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< cb720b068b18fb39c96980eb3c13f09427512be7; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 7692bde890061797f3dece0148d7859e85c55778; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 839fe96c15209dc2255c064bb44b636efe04f032; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 6c75a97a32a5fa2060c3dd30207e63b6914b606d; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc
- Anyone running Linux 4.9

## 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.

## Affected and fixed versions

- Linux: \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 4aed0eeca58e26d752bb08b293b8dc75c6820b23; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< cb720b068b18fb39c96980eb3c13f09427512be7; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 7692bde890061797f3dece0148d7859e85c55778; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 839fe96c15209dc2255c064bb44b636efe04f032; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 6c75a97a32a5fa2060c3dd30207e63b6914b606d; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38524. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38524.md
Affected: Linux >= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, < 4aed0eeca58e26d752bb08b293b8dc75c6820b23; >= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, < cb720b068b18fb39c96980eb3c13f09427512be7; >= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, < 7692bde890061797f3dece0148d7859e85c55778; >= 248f219cb8bcbfbd7f13275…
Fixed in: Linux 4aed0eeca58e26d752bb08b293b8dc75c6820b23, Linux 7692bde890061797f3dece0148d7859e85c55778, Linux 839fe96c15209dc2255c064bb44b636efe04f032, Linux 6c75a97a32a5fa2060c3dd30207e63b6914b606d, Linux 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38524 being exploited?

There is no confirmed exploitation: CVE-2025-38524 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38524?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-38524?

Linux \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 4aed0eeca58e26d752bb08b293b8dc75c6820b23; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< cb720b068b18fb39c96980eb3c13f09427512be7; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 7692bde890061797f3dece0148d7859e85c55778; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 839fe96c15209dc2255c064bb44b636efe04f032; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 6c75a97a32a5fa2060c3dd30207e63b6914b606d; \>= 248f219cb8bcbfbd7f132752d44afa2df7c241d1, \< 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc; Linux 4.9.

### Is there a fix for CVE-2025-38524?

Yes. Fixed in Linux 4aed0eeca58e26d752bb08b293b8dc75c6820b23, Linux 7692bde890061797f3dece0148d7859e85c55778, Linux 839fe96c15209dc2255c064bb44b636efe04f032, Linux 6c75a97a32a5fa2060c3dd30207e63b6914b606d, Linux 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc. Upgrade Linux to 962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc or later.

### How do I check if I'm affected by CVE-2025-38524?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/7692bde890061797f3dece0148d7859e85c55778>
- patch: <https://git.kernel.org/stable/c/839fe96c15209dc2255c064bb44b636efe04f032>
- patch: <https://git.kernel.org/stable/c/6c75a97a32a5fa2060c3dd30207e63b6914b606d>
- patch: <https://git.kernel.org/stable/c/962fb1f651c2cf2083e0c3ef53ba69e3b96d3fbc>
- other: <https://git.kernel.org/stable/c/4aed0eeca58e26d752bb08b293b8dc75c6820b23>
- other: <https://git.kernel.org/stable/c/cb720b068b18fb39c96980eb3c13f09427512be7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38524>

HTML: <https://flawdb.com/CVE-2025-38524> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38524>
