Description
In the Linux kernel, the following vulnerability has been resolved:

netfilter: x_tables: add and use xtables_unregister_table_exit

Previous change added xtables_unregister_table_pre_exit to detach the
table from the packetpath and to unlink it from the active table list.
In case of rmmod, userspace that is doing set/getsockopt for this table
will not be able to re-instantiate the table:
1. The larval table has been removed already
2. existing instantiated table is no longer on the xt pernet table list.

This adds the second stage helper:

unlink the table from the dying list, free the hook ops (if any) and do
the audit notification. It replaces xt_unregister_table().
Published: 2026-07-19
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s netfilter x_tables component. It involves the cleanup process executed when an x_tables module is removed with rmmod. The original code detached the filtering table from the packet path and removed it from the active list before fully unlinking its instance and freeing hook operations. As a result, userspace programs that were performing set/getsockopt operations on the table could fail to re‑instantiate the table because its resources had already been released. This inconsistency could leave the system in an unstable state and deny legitimate networking functions. The flaw is a classic example of CWE‑459 – creation.

Affected Systems

All Linux kernel distributions that use the legacy x_tables module are potentially affected. No specific version range is listed, so any kernel release prior to the fix that contains the old unlinking logic could be vulnerable. The affected vendor is the Linux kernel itself.

Risk and Exploitability

The CVSS score of 7.8 indicates a high probability of a successful exploit that could deny service. The EPSS score of less than 1% suggests that public exploitation is unlikely but the risk remains for targeted, privileged attackers. Based on the description, the likely attack vector is local, as module unloading requires CAP_SYS_MODULE or root privileges. A malicious local user or compromised service with sufficient privileges could trigger buggy cleanup, causing users to lose networking functionality until the system is rebooted or the module is reloaded.

Generated by OpenCVE AI on July 30, 2026 at 20:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the xtables_unregister_table_exit fix
  • If an immediate kernel upgrade is not possible, avoid unloading x_tables modules while user space is actively using them; postpone rmmod until all set/getsockopt calls have completed
  • Enable system auditing and monitor kernel logs for abnormal netfilter activity or failures and reboot the system if an interruption occurs

Generated by OpenCVE AI on July 30, 2026 at 20:42 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

Tue, 21 Jul 2026 00:15:00 +0000


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 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: x_tables: add and use xtables_unregister_table_exit Previous change added xtables_unregister_table_pre_exit to detach the table from the packetpath and to unlink it from the active table list. In case of rmmod, userspace that is doing set/getsockopt for this table will not be able to re-instantiate the table: 1. The larval table has been removed already 2. existing instantiated table is no longer on the xt pernet table list. This adds the second stage helper: unlink the table from the dying list, free the hook ops (if any) and do the audit notification. It replaces xt_unregister_table().
Title netfilter: x_tables: add and use xtables_unregister_table_exit
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:38:58.654Z

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

Link: CVE-2026-64078

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Low

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

Links: CVE-2026-64078 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:45:17Z

Weaknesses