CVE-2025-38544

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*

History

18 Nov 2025, 18:09

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/432c5363cd6fe5a928bbc94524d28b05515684dd - () https://git.kernel.org/stable/c/432c5363cd6fe5a928bbc94524d28b05515684dd - Patch
References () https://git.kernel.org/stable/c/5385ad53793de2ab11e396bdcdaa65bb04b4dad6 - () https://git.kernel.org/stable/c/5385ad53793de2ab11e396bdcdaa65bb04b4dad6 - Patch
References () https://git.kernel.org/stable/c/69e4186773c6445b258fb45b6e1df18df831ec45 - () https://git.kernel.org/stable/c/69e4186773c6445b258fb45b6e1df18df831ec45 - Patch
References () https://git.kernel.org/stable/c/d8ffb47a443919277cb093c3db1ec6c0a06880b1 - () https://git.kernel.org/stable/c/d8ffb47a443919277cb093c3db1ec6c0a06880b1 - Patch
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CWE CWE-617
CPE cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*

Information

Published : 2025-08-16 12:15

Updated : 2025-11-18 18:09


NVD link : CVE-2025-38544

Mitre link : CVE-2025-38544

CVE.ORG link : CVE-2025-38544


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-617

Reachable Assertion