netfilter: conntrack: re-fetch conntrack after insertion
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 71d8c47fc653711c41bc3282e5b0e605b3727956 · < 04f9e9104c969d8ce10a4a43634f641ed082092d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: conntrack: re-fetch conntrack after insertion
In case the conntrack is clashing, insertion can free skb->_nfct and set skb->_nfct to the already-confirmed entry.
This wasn't found before because the conntrack entry and the extension space used to free'd after an rcu grace period, plus the race needs events enabled to trigger.
From the CVE record · Linux
A race in Linux kernel netfilter conntrack can occur when an insertion clashes and events are enabled. The insertion can free the packet's conntrack reference and replace it with an already-confirmed entry. The input does not specify attacker access requirements or a resulting exploit impact.
Engineers running Linux kernels with netfilter conntrack should check their versions; affected versions are not specified.