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.
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In Linux kernels that include the nf_tables subsystem, a flaw in the handling of hook removal records misdirects hooks that are being deleted into a transaction list while simultaneously dismantling the RCU‑protected hook list. That corruption causes diagnostic utilities such as netlink dump and nft command parsing to crash or produce incomplete data, resulting in a denial‑of‑service condition for any process that enumerates nf_tables hooks. The weakness is a memory‑consistency issue identified as CWE‑821.

Affected Systems

All Linux kernels that incorporate the nf_tables subsystem prior to the incorporation of the patches identified by commits 10f79dbd and 4e69bfb3. Any distribution running an unpatched kernel that enables device removal or dynamic hook manipulation for nf_tables is vulnerable. The issue is tied to the core kernel and not confined to a specific distribution version.

Risk and Exploitability

The CVSS score of 7.8 indicates a high‑impact local flaw. The EPSS score is less than 1 %, demonstrating a very low likelihood of spontaneous exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker must have local privileged access or the ability to load a kernel module to modify netfilter hooks via netlink; no remote interface is exposed. Thus the primary attack vector is local privileged manipulation of nf_tables configuration, leading to kernel‑level denial of service.

Generated by OpenCVE AI on August 4, 2026 at 18:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes commits 10f79dbd or 4e69bfb3, which restore the NFT_HOOK_REMOVE flag and correct the hook transaction handling.
  • If an immediate kernel upgrade is not possible, restrict dynamic modification of nf_tables hooks by locking the configuration or disabling device removals that trigger hook cleanup to prevent list corruption.
  • After applying the patch or implementing restriction, test netlink dump commands such as nft list chains and nft list tables for consistent output and monitor kernel logs for EFAULT or other errors indicating lingering corruption.

Generated by OpenCVE AI on August 4, 2026 at 18:28 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
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-821
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

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'}


Sun, 19 Jul 2026 14:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:36:37.055Z

Reserved: 2026-07-19T07:54:57.016Z

Link: CVE-2026-63858

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63858 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:30:12Z

Weaknesses
  • CWE-821

    Incorrect Synchronization