CVE-2026-74436 PUBLISHED

rxrpc: serialize kernel accept preallocation with socket teardown

Assigner: Linux
Reserved: 15.08.2026 Published: 15.08.2026 Updated: 17.08.2026

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: serialize kernel accept preallocation with socket teardown

rxrpc_kernel_charge_accept() reads rx->backlog without any socket/backlog synchronization and passes that raw pointer into rxrpc_service_prealloc_one(). A concurrent rxrpc_discard_prealloc() sets rx->backlog = NULL and frees the backlog rings, so a kernel preallocation worker can keep using a freed struct rxrpc_backlog while updating *_backlog_head/tail and array slots.

Serialize the state check and backlog lookup with the socket lock, and reject kernel preallocation once teardown has disabled listening or discarded the service backlog.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8

AV:N - RxRPC is a UDP network protocol; remote peers can send packets to AFS callback-manager listeners (port 7001) that instantiate incoming calls and queue kernel preallocation work reaching rxrpc_kernel_charge_accept(). AC:L - The attacker controls the preallocation side by flooding concurrent rxrpc/AFS callback traffic while a peer thread tears down the same socket via listen(0), shutdown, or close during AFS netns exit, creating a winnable race. PR:N - No local account, capability, or authentication is required to reach the vulnerable preallocation path; any remote host that can deliver rxrpc/UDP packets to a listening AFS callback manager can drive the charge_accept worker. UI:N - Exploitation requires no victim interaction beyond normal background AFS service operation; the attacker triggers the bug purely through network traffic timed against automatic or administrative socket teardown. S:U - The use-after-free corrupts kernel heap metadata and rxrpc backlog structures within kernel memory, enabling local privilege escalation but not crossing a VM, container, or IOMMU security boundary by itself. C:H - Concurrent use of a freed struct rxrpc_backlog allows reads and corruption of recycled slab memory, providing a standard kmalloc UAF primitive that can leak kernel pointers and sensitive data. I:H - The race writes peer, connection, and call pointers plus head/tail indices into freed backlog ring slots, enabling heap grooming and arbitrary kernel memory corruption exploitable for code execution. A:H - Use-after-free on the backlog structure during concurrent head/tail and pointer-array updates can cause kernel oops, panic, or hang, and repeated triggering enables sustained denial of service.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to 0337cdba0c477f176c0459bed012109453184573 (excl.)
  • affected from 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to dfa0b2bbc5e50119f89c6b5407faa5ed86dfa7c5 (excl.)
  • affected from 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to 35a967ff8b24db09ee429c39c5b5e6571639997d (excl.)
  • affected from 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to 1741378a7a83dfd8e53a9196730df709b903cd33 (excl.)
  • affected from 00e907127e6f86d0f9b122d9b4347a8aa09a8b61 to dc175389b18c29a5303ee83169ec653adfae3e17 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.9 is affected
  • unaffected from 0 to 4.9 (excl.)
  • unaffected from 6.6.148 to 6.6.* (incl.)
  • unaffected from 6.12.101 to 6.12.* (incl.)
  • unaffected from 6.18.40 to 6.18.* (incl.)
  • unaffected from 7.1.5 to 7.1.* (incl.)
  • unaffected from 7.2 to * (incl.)

References