CVE-2025-38544

rxrpc: Fix bug due to prealloc collision

MEDIUM
5.5
CVSS Score
Published: August 16, 2025 at 11:22 AM UTC
Updated: June 17, 2026 at 09:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.9 ≤ v < 6.12.394.9 ≤ v < 6.15.74.9 ≤ v < 6.164.9 ≤ v < 6.6.996.13 ≤ v < 6.15.76.7 ≤ v < 6.12.390e907127e6f86d0f9b122d9b4347a8aa9a8b614.96.16 rc16.16 rc26.16 rc36.16 rc46.16 rc5
Vendor states this is fixed in 432c5363cd6fe5a928bbc94524d28b05515684dd (fixed)
Vendor states this is fixed in 5385ad53793de2ab11e396bdcdaa65bb04b4dad6 (fixed)
Vendor states this is fixed in 69e4186773c6445b258fb45b6e1df18df831ec45 (fixed)
Vendor states this is fixed in d8ffb47a443919277cb093c3db1ec6c0a06880b1 (fixed)
Vendor states this is fixed in 4.9 (unaffected)
Vendor states this is fixed in 6.12.39 (unaffected)
Vendor states this is fixed in 6.15.7 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.99 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/432c5363cd6fe5a928bbc94524d28b05515684dd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5385ad53793de2ab11e396bdcdaa65bb04b4dad6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/69e4186773c6445b258fb45b6e1df18df831ec45
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d8ffb47a443919277cb093c3db1ec6c0a06880b1

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-617

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card