{"id":"CVE-2025-38514","state":"PUBLISHED","title":"rxrpc: Fix oops due to non-existence of prealloc backlog struct","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix oops due to non-existence of prealloc backlog struct\n\nIf an AF_RXRPC service socket is opened and bound, but calls are\npreallocated, then rxrpc_alloc_incoming_call() will oops because the\nrxrpc_backlog struct doesn't get allocated until the first preallocation is\nmade.\n\nFix this by returning NULL from rxrpc_alloc_incoming_call() if there is no\nbacklog struct.  This will cause the incoming call to be aborted.","publishedAt":"2025-08-16T10:55:01.150Z","updatedAt":"2026-10-15T21:52:18.287Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"bf0ca6a1bc4fb904b598137c6718785a107e3adf","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"f7afb3ff01c42c49e8a143cdce400b95844bb506","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"f5e72b7824d08c206ce106d30cb37c4642900ccc","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"0eef29385d715d4c7fd707b18d4a9b76c76dd5e6","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"efc1b2b7c1a308b60df8f36bc2d7ce16d3999364","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"d1ff5f9d2c5405681457262e23c720b08977c11f","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"2c2e9ebeb036f9b1b09325ec5cfdfe0e78f357c3","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rxrpc/call_accept.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"5.4.296","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.240","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.189","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.146","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.99","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.39","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.7","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rxrpc/call_accept.c"]}],"references":["https://git.kernel.org/stable/c/bf0ca6a1bc4fb904b598137c6718785a107e3adf","https://git.kernel.org/stable/c/f7afb3ff01c42c49e8a143cdce400b95844bb506","https://git.kernel.org/stable/c/f5e72b7824d08c206ce106d30cb37c4642900ccc","https://git.kernel.org/stable/c/0eef29385d715d4c7fd707b18d4a9b76c76dd5e6","https://git.kernel.org/stable/c/efc1b2b7c1a308b60df8f36bc2d7ce16d3999364","https://git.kernel.org/stable/c/d1ff5f9d2c5405681457262e23c720b08977c11f","https://git.kernel.org/stable/c/2c2e9ebeb036f9b1b09325ec5cfdfe0e78f357c3","https://git.kernel.org/stable/c/880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4","https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38514.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38514","state":"PUBLISHED","datePublished":"2025-08-16T10:55:01.150Z","dateUpdated":"2026-10-15T21:52:18.287Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.023Z"},"containers":{"cna":{"title":"rxrpc: Fix oops due to non-existence of prealloc backlog struct","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix oops due to non-existence of prealloc backlog struct\n\nIf an AF_RXRPC service socket is opened and bound, but calls are\npreallocated, then rxrpc_alloc_incoming_call() will oops because the\nrxrpc_backlog struct doesn't get allocated until the first preallocation is\nmade.\n\nFix this by returning NULL from rxrpc_alloc_incoming_call() if there is no\nbacklog struct.  This will cause the incoming call to be aborted."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"bf0ca6a1bc4fb904b598137c6718785a107e3adf","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"f7afb3ff01c42c49e8a143cdce400b95844bb506","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"f5e72b7824d08c206ce106d30cb37c4642900ccc","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"0eef29385d715d4c7fd707b18d4a9b76c76dd5e6","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"efc1b2b7c1a308b60df8f36bc2d7ce16d3999364","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"d1ff5f9d2c5405681457262e23c720b08977c11f","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"2c2e9ebeb036f9b1b09325ec5cfdfe0e78f357c3","versionType":"git"},{"version":"248f219cb8bcbfbd7f132752d44afa2df7c241d1","status":"affected","lessThan":"880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rxrpc/call_accept.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.9","versionType":"semver"},{"version":"5.4.296","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.240","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.189","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.146","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.99","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.39","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.7","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/rxrpc/call_accept.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/bf0ca6a1bc4fb904b598137c6718785a107e3adf"},{"url":"https://git.kernel.org/stable/c/f7afb3ff01c42c49e8a143cdce400b95844bb506"},{"url":"https://git.kernel.org/stable/c/f5e72b7824d08c206ce106d30cb37c4642900ccc"},{"url":"https://git.kernel.org/stable/c/0eef29385d715d4c7fd707b18d4a9b76c76dd5e6"},{"url":"https://git.kernel.org/stable/c/efc1b2b7c1a308b60df8f36bc2d7ce16d3999364"},{"url":"https://git.kernel.org/stable/c/d1ff5f9d2c5405681457262e23c720b08977c11f"},{"url":"https://git.kernel.org/stable/c/2c2e9ebeb036f9b1b09325ec5cfdfe0e78f357c3"},{"url":"https://git.kernel.org/stable/c/880a88f318cf1d2a0f4c0a7ff7b07e2062b434a4"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - The oops is driven entirely by a received UDP/rxrpc datagram processed in the endpoint's I/O thread (`rxrpc_encap_rcv` → `rxrpc_input_packet` → `rxrpc_new_incoming_call`), and AF_RXRPC services live on routable UDP ports such as the well-known AFS callback port 7001. Any remote host able to send a packet to that port reaches the vulnerable function.\nAC:L - A single well-formed rxrpc DATA packet (seq!=0, callNumber!=0, matching serviceId, securityIndex 0) deterministically dereferences the NULL backlog pointer — no race, memory-layout, or timing dependency in the packet path itself, and the well-known service IDs are protocol constants. The attacker can simply keep the port fed so any bind→listen window (as in `afs_open_socket`) is hit, and sockets bound without listening are persistently exposed.\nPR:N - The attacker is an unauthenticated remote peer holding no credentials on the victim: `rxrpc_get_incoming_security()` accepts `RXRPC_SECURITY_NONE` with no key at all, and even for secured services the CHALLENGE is only queued after `rxrpc_alloc_incoming_call()` has already crashed. The same crash is also reachable by a plain unprivileged local user, since `rxrpc_create()`/`rxrpc_bind()` require no capability.\nUI:N - The crash happens autonomously inside the rxrpc I/O kernel thread while processing an inbound packet against an already-bound service socket. No victim action, mount, or file access is part of the attack.\nS:U - The NULL dereference and its consequences are confined to the kernel of the host running the AF_RXRPC service socket, with no crossing into a hypervisor, IOMMU, or sandbox authority.\nC:N - The faulting access is a read of `b->call_backlog_head` at offset 4 from NULL, which is below `mmap_min_addr` and faults immediately. No kernel memory contents are returned to the attacker or leaked to userspace.\nI:N - Execution aborts on the very first load in `rxrpc_alloc_incoming_call()`, before any of the subsequent stores (`peer->srx = *peer_srx`, `conn->local = ...`) are reached. Nothing is written or corrupted, so no overwrite or control-flow hijack primitive exists.\nA:H - The dereference oopses the rxrpc I/O kthread while it holds `read_lock_irq(&local->services_lock)` and `spin_lock(&rx->incoming_lock)`, so the thread dies with IRQs disabled and both locks permanently held — all rxrpc/AFS traffic on that endpoint stops and any later bind or socket release spins forever. Under the common `panic_on_oops=1` configuration it is an immediate full system panic, repeatable with one packet."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:02:34.827Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.4.296"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.10.240"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"5.15.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.1.146"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.6.99"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.12.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.15.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9","versionEndExcluding":"6.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T17:39:18.150Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-38514","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-15T21:51:16.938257Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-15T21:52:18.287Z"}}]}}}