netfilter: nf_tables: netlink notifier might race to release objects
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.15.786.0.86.1In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: netlink notifier might race to release objects
commit release path is invoked via call_rcu and it runs lockless to release the objects after rcu grace period. The netlink notifier handler might win race to remove objects that the transaction context is still referencing from the commit release path.
Call rcu_barrier() to ensure pending rcu callbacks run to completion if the list of transactions to be destroyed is not empty.
From the CVE record · Linux
The Linux kernel’s netfilter nf_tables netlink notifier can race with the commit release path and remove objects still referenced by a transaction. The input does not specify what an attacker can achieve, whether access is local or network-based, or whether authentication or user interaction is required.
Teams running Linux kernels with netfilter nf_tables should check their versions; affected versions are not specified in the input.