netfilter: xt_CT: drop pending enqueued packets on template removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 24de58f465165298aaa8f286b2592f0163706cfe · < cb549925875fa06dd155e49db4ac2c5044c30f9c| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xt_CT: drop pending enqueued packets on template removal
Templates refer to objects that can go away while packets are sitting in nfqueue refer to:
- helper, this can be an issue on module removal. - timeout policy, nfnetlink_cttimeout might remove it.
The use of templates with zone and event cache filter are safe, since this just copies values.
Flush these enqueued packets in case the template rule gets removed.
From the CVE record · Linux
Linux kernel netfilter xt_CT templates can refer to a helper or timeout policy that is removed while packets remain queued in nfqueue. Removing the template rule without dropping those packets can lead to a use-after-free. The input does not specify attacker access requirements or whether user interaction is needed.
Engineers running the Linux kernel should check their systems; affected versions are not specified.