Linux
netfilter: nf_dup_netdev: add nf_dev_xmit_recursion*() helpers and use them
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_dup_netdev: add nf_dev_xmit_recursion*() helpers and use them Update nft_dup and nft_fwd to use the nf_dev_xmit_recursion() helpers. This patch also disables BH when transmitting the skb to address a possible migration to different CPU leading to imbalanced decrementation of the recursion counters. This is modeled after Florian Westphal's dev_xmit_recursion*() API available since commit 97cdcf37b57e ("net: place xmit recursion in softnet data") according to its current state in the tree.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= f37ad91270397a6d053e8623bdb3cf79859691d2, < 53fb46cf933dc4361c1a72491e247841d0b0fc85
- >= f37ad91270397a6d053e8623bdb3cf79859691d2, < edf234f71fb327792196f813048ab8f5bd3bb712
- >= f37ad91270397a6d053e8623bdb3cf79859691d2, < 2354e975932dabb06fad239f07a3b68fd1809737
Fixed in 53fb46cf933dc4361c1a72491e247841d0b0fc85, edf234f71fb327792196f813048ab8f5bd3bb712, 2354e975932dabb06fad239f07a3b68fd1809737
- 6.16
Fixed in 0, 6.18.57, 7.1.5, 7.2
Mitigation
Upgrade Linux to 53fb46cf933dc4361c1a72491e247841d0b0fc85 or edf234f71fb327792196f813048ab8f5bd3bb712 or 2354e975932dabb06fad239f07a3b68fd1809737 or later.
Upgrade Linux to 0 or 6.18.57 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.