# CVE-2025-38544: rxrpc: Fix bug due to prealloc collision

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2025-08-16T11:22:18.541Z
- **Modified:** 2026-11-05T22:17:17.837Z

## Who should check

- Anyone running Linux \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 3838acfc347b803b66a2c8eb510da1c489d44ca1; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 432c5363cd6fe5a928bbc94524d28b05515684dd; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 5385ad53793de2ab11e396bdcdaa65bb04b4dad6; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< d8ffb47a443919277cb093c3db1ec6c0a06880b1; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 69e4186773c6445b258fb45b6e1df18df831ec45
- Anyone running Linux 4.9

## Description

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

rxrpc: Fix bug due to prealloc collision

When userspace is using AF\_RXRPC to provide a server, it has to preallocate
incoming calls and assign to them call IDs that will be used to thread
related recvmsg() and sendmsg() together.  The preallocated call IDs will
automatically be attached to calls as they come in until the pool is empty.

To the kernel, the call IDs are just arbitrary numbers, but userspace can
use the call ID to hold a pointer to prepared structs.  In any case, the
user isn't permitted to create two calls with the same call ID (call IDs
become available again when the call ends) and EBADSLT should result from
sendmsg() if an attempt is made to preallocate a call with an in-use call
ID.

However, the cleanup in the error handling will trigger both assertions in
rxrpc\_cleanup\_call() because the call isn't marked complete and isn't
marked as having been released.

Fix this by setting the call state in rxrpc\_service\_prealloc\_one() and then
marking it as being released before calling the cleanup function.

## Affected and fixed versions

- Linux: \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 3838acfc347b803b66a2c8eb510da1c489d44ca1; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 432c5363cd6fe5a928bbc94524d28b05515684dd; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 5385ad53793de2ab11e396bdcdaa65bb04b4dad6; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< d8ffb47a443919277cb093c3db1ec6c0a06880b1; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 69e4186773c6445b258fb45b6e1df18df831ec45 (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 69e4186773c6445b258fb45b6e1df18df831ec45 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-38544. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38544.md
Affected: Linux >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 3838acfc347b803b66a2c8eb510da1c489d44ca1; >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 432c5363cd6fe5a928bbc94524d28b05515684dd; >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 5385ad53793de2ab11e396bdcdaa65bb04b4dad6; >= 00e907127e6f86d0f9b122d…
Fixed in: Linux 3838acfc347b803b66a2c8eb510da1c489d44ca1, Linux 432c5363cd6fe5a928bbc94524d28b05515684dd, Linux 5385ad53793de2ab11e396bdcdaa65bb04b4dad6, Linux 69e4186773c6445b258fb45b6e1df18df831ec45

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-38544 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 3838acfc347b803b66a2c8eb510da1c489d44ca1; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 432c5363cd6fe5a928bbc94524d28b05515684dd; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 5385ad53793de2ab11e396bdcdaa65bb04b4dad6; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< d8ffb47a443919277cb093c3db1ec6c0a06880b1; \>= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, \< 69e4186773c6445b258fb45b6e1df18df831ec45; Linux 4.9.

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

Yes. Fixed in Linux 3838acfc347b803b66a2c8eb510da1c489d44ca1, Linux 432c5363cd6fe5a928bbc94524d28b05515684dd, Linux 5385ad53793de2ab11e396bdcdaa65bb04b4dad6, Linux 69e4186773c6445b258fb45b6e1df18df831ec45. Upgrade Linux to 69e4186773c6445b258fb45b6e1df18df831ec45 or later.

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

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/432c5363cd6fe5a928bbc94524d28b05515684dd>
- patch: <https://git.kernel.org/stable/c/5385ad53793de2ab11e396bdcdaa65bb04b4dad6>
- patch: <https://git.kernel.org/stable/c/d8ffb47a443919277cb093c3db1ec6c0a06880b1>
- patch: <https://git.kernel.org/stable/c/69e4186773c6445b258fb45b6e1df18df831ec45>
- other: <https://git.kernel.org/stable/c/3838acfc347b803b66a2c8eb510da1c489d44ca1>

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

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