Security mailing lists by PureSourceCode

CVE-2025-38544

MEDIUM 5.5CVSS 3.1

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.

Published
16 Aug 2025
Last modified
5 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-617
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 4.9, < 6.6.99 6.6.99
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.12.39 6.12.39
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.13, < 6.15.7 6.15.7
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
= 6.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
= 6.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
= 6.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
= 6.16
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*
= 6.16

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 16 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.