CVE-2026-63858

netfilter: nf_tables: add hook transactions for device deletions

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • b6d9014a3335194590abdd2a2471ef5147a67645 to before 768daa9f4276be4007e88dea61a378c8582ba008Affected
  • b6d9014a3335194590abdd2a2471ef5147a67645 to before 4e69bfb32b2db323d9205fdb30e284481b37817cAffected
  • b6d9014a3335194590abdd2a2471ef5147a67645 to before 10f79dbd7719d1da9f5884d13060322d8729f091Affected
  • 7a248f9c74f9f62799718c12efd9e9e391d60b6fAffected
  • f275989ad04159dbfc62cefb65ba9c5ba1d7c34fAffected
  • 62d91062058b42bf70b2c3446aec397bb0ce15eeAffected
  • 99180dec5ae582227219d1fdd0dd5ccf53ec7491Affected
  • 5.10.122 to before 5.11Affected
  • 5.15.47 to before 5.16Affected
  • 5.17.15 to before 5.18Affected
  • 5.18.4 to before 5.19Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.18.57 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.