netfilter: nft_ct: drop pending enqueued packets on removal
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7e0b2b57f01d183e1c84114f1f2287737358d748 · < f29a055e4f593e577805b41228b142b58f48df1b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_ct: drop pending enqueued packets on removal
Packets sitting in nfqueue might hold a reference to:
- templates that specify the conntrack zone, because a percpu area is used and module removal is possible. - conntrack timeout policies and helper, where object removal leave a stale reference.
Since these objects can just go away, drop enqueued packets to avoid stale reference to them.
If there is a need for finer grain removal, this logic can be revisited to make selective packet drop upon dependencies.
From the CVE record · Linux
In the Linux kernel, packets waiting in nfqueue can retain references to conntrack-related objects after those objects are removed. This can lead to a use-after-free when queued packets are processed. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Linux kernels with netfilter nft_ct should check their vendor advisory for affected versions.