All reports
Medium

kernel: rxrpc: serialize kernel accept preallocation with socket teardown

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-74436

Probability of exploitation in the next 30 days: 0.40%

FIRST EPSS · 2026-11-19

Description

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.

A flaw was found in the Linux kernel. A synchronization issue in the rxrpc component, specifically between rxrpc_kernel_charge_accept() and rxrpc_discard_prealloc(), can lead to a use-after-free vulnerability. A local attacker could potentially exploit this flaw, causing a kernel preallocation worker to access freed memory. This could result in system instability or a denial of service (DoS).