{"id":"CVE-2025-38544","summary":"rxrpc: Fix bug due to prealloc collision","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix bug due to prealloc collision\n\nWhen userspace is using AF_RXRPC to provide a server, it has to preallocate\nincoming calls and assign to them call IDs that will be used to thread\nrelated recvmsg() and sendmsg() together.  The preallocated call IDs will\nautomatically be attached to calls as they come in until the pool is empty.\n\nTo the kernel, the call IDs are just arbitrary numbers, but userspace can\nuse the call ID to hold a pointer to prepared structs.  In any case, the\nuser isn't permitted to create two calls with the same call ID (call IDs\nbecome available again when the call ends) and EBADSLT should result from\nsendmsg() if an attempt is made to preallocate a call with an in-use call\nID.\n\nHowever, the cleanup in the error handling will trigger both assertions in\nrxrpc_cleanup_call() because the call isn't marked complete and isn't\nmarked as having been released.\n\nFix this by setting the call state in rxrpc_service_prealloc_one() and then\nmarking it as being released before calling the cleanup function.","modified":"2026-03-20T12:42:54.883620Z","published":"2025-08-16T11:22:18.541Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03601-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3725-1","SUSE-SU-2025:3751-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38544.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/432c5363cd6fe5a928bbc94524d28b05515684dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5385ad53793de2ab11e396bdcdaa65bb04b4dad6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69e4186773c6445b258fb45b6e1df18df831ec45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8ffb47a443919277cb093c3db1ec6c0a06880b1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38544.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38544"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"00e907127e6f86d0f9b122d9b4347a8aa09a8b61"},{"fixed":"432c5363cd6fe5a928bbc94524d28b05515684dd"},{"fixed":"5385ad53793de2ab11e396bdcdaa65bb04b4dad6"},{"fixed":"d8ffb47a443919277cb093c3db1ec6c0a06880b1"},{"fixed":"69e4186773c6445b258fb45b6e1df18df831ec45"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38544.json"}}],"schema_version":"1.7.5"}