CVE-2026-63858

netfilter: nf_tables: add hook transactions for device deletions

Published Jul 19, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability stems from improper handling of hook removal in the nf_tables subsystem. During device deletion, hooks are moved from the basechain/flowtable hook_list to a transaction hook_list without preserving the NFT_HOOK_REMOVE flag, so the RCU‑protected list is corrupted. Utilities that walk this list via netlink, such as nft or generic netlink dump commands, will crash or return incomplete data. Consequently, any user or application that enumerates nf_tables hooks could be denied service. The weakness involves a memory‑consistency race (CWE‑362) and an RCU protection violation (CWE‑821).

Affected Systems

All Linux kernel versions prior to the inclusion of the two commits that restore the NFT_HOOK_REMOVE flag and correct hook transaction handling. This includes every distribution that ships a vanilla kernel without these patches. The vulnerability is independent of distribution version because it resides in the core kernel nf_tables subsystem.

Risk and Exploitability

The CVSS score of 7.8 indicates a high‑impact local flaw. The EPSS score is less than 1 %, reflecting a very low probability of spontaneous exploitation. The vulnerability is not listed in the CISA KEV catalog. It is inferred that an attacker must have local privileged access, such as the ability to load kernel modules or invoke netlink commands, to manipulate nf_tables hooks. No remote interface is exposed. The flaw permits a denial‑of‑service condition by crashing or corrupting netlink dump utilities that enumerate nf_tables hooks, but it does not grant further compromise. The concurrency race (CWE‑362) could be leveraged during concurrent hook removal to accelerate corruption, though the practical impact remains limited to local denial of service.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains commits 10f79dbd7719d1da9f5884d13060322d8729f091 or 4e69bfb32b2db323d9205fdb30e284481b37817c, which restore the NFT_HOOK_REMOVE flag and correct hook transaction handling.
  • If an immediate kernel upgrade is not feasible, restrict dynamic modification of nf_tables hooks by disabling device removal events or locking the nf_tables configuration until the kernel can be updated.
  • After applying the patch or implementing restrictions, validate that netlink dump commands (e.g., nft list chains or nft list tables) no longer produce errors and monitor kernel logs for EFAULT or other indications of lingering corruption.

Generated by OpenCVE AI on October 20, 2026 at 08:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8781-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:5.19:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.19:rc8:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title netfilter: nf_tables: add hook transactions for device deletions
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-821

    Incorrect Synchronization

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:07 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 3:16 PM
Modified
Oct 26, 2026, 4:27 PM
Severity
Moderate
Public date
Jul 19, 2026, 12:00 AM