Linux
rxrpc: serialize kernel accept preallocation with socket teardown
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < d6207326b4ca0ae1041281b6af9df53f8080669a
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 11b429b84c87cb5a0152f14e7d6cb649ed363901
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < c20d983968f239574290cf804a58cde18ad1c559
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 0337cdba0c477f176c0459bed012109453184573
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < dfa0b2bbc5e50119f89c6b5407faa5ed86dfa7c5
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 35a967ff8b24db09ee429c39c5b5e6571639997d
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < 1741378a7a83dfd8e53a9196730df709b903cd33
- >= 00e907127e6f86d0f9b122d9b4347a8aa09a8b61, < dc175389b18c29a5303ee83169ec653adfae3e17
Fixed in d6207326b4ca0ae1041281b6af9df53f8080669a, 11b429b84c87cb5a0152f14e7d6cb649ed363901, c20d983968f239574290cf804a58cde18ad1c559, 0337cdba0c477f176c0459bed012109453184573, dfa0b2bbc5e50119f89c6b5407faa5ed86dfa7c5, 35a967ff8b24db09ee429c39c5b5e6571639997d, 1741378a7a83dfd8e53a9196730df709b903cd33, dc175389b18c29a5303ee83169ec653adfae3e17
- 4.9
Fixed in 0, 5.10.266, 5.15.217, 6.1.184, 6.6.148, 6.12.101, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to d6207326b4ca0ae1041281b6af9df53f8080669a or 11b429b84c87cb5a0152f14e7d6cb649ed363901 or c20d983968f239574290cf804a58cde18ad1c559 or 0337cdba0c477f176c0459bed012109453184573 or dfa0b2bbc5e50119f89c6b5407faa5ed86dfa7c5 or 35a967ff8b24db09ee429c39c5b5e6571639997d or 1741378a7a83dfd8e53a9196730df709b903cd33 or dc175389b18c29a5303ee83169ec653adfae3e17 or later.
Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.148 or 6.12.101 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.