Skip to main content
← All vulnerabilities
CVE-2026-63858

netfilter: nf_tables: add hook transactions for device deletions

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.11, 5.16, 5.18, 5.19, 6.18.57, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: add hook transactions for device deletions Restore the flag that indicates that the hook is going away, ie. NFT_HOOK_REMOVE, but add a new transaction object to track deletion of hooks without altering the basechain/flowtable hook_list during the preparation phase. The existing approach that moves the hook from the basechain/flowtable hook_list to transaction hook_list breaks netlink dump path readers of this RCU-protected list. It should be possible use an array for nft_trans_hook to store the deleted hooks to compact the representation but I am not expecting many hook object, specially now that wildcard support for devices is in place. Note that the nft_trans_chain_hooks() list contains a list of struct nft_trans_hook objects for DELCHAIN and DELFLOWTABLE commands, while this list stores struct nft_hook objects for NEWCHAIN and NEWFLOWTABLE. Note that new commands can be updated to use nft_trans_hook for consistency. This patch also adapts the event notification path to deal with the list of hook transactions.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From b6d9014a3335194590abdd2a2471ef5147a67645 · fixed in 768daa9f4276be4007e88dea61a378c8582ba008; From b6d9014a3335194590abdd2a2471ef5147a67645 · fixed in 4e69bfb32b2db323d9205fdb30e284481b37817c; From b6d9014a3335194590abdd2a2471ef5147a67645 · fixed in 10f79dbd7719d1da9f5884d13060322d8729f091; From 5.10.122 · fixed in 5.11; From 5.15.47 · fixed in 5.16; From 5.17.15 · fixed in 5.18; From 5.18.4 · fixed in 5.19

  • Linux Linux

    5.19

  • KernelLinux

    From 5.19.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.0.10

References 3

git.kernel.org