CVE-2026-64078

netfilter: x_tables: add and use xtables_unregister_table_exit

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: 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().

Analysis

AI-generated

Technical impact

In the Linux kernel’s netfilter x_tables module a function intended to clean up when the module is removed was replaced with a second-stage routine. The original code detached the table from the packet-path and removed it from the active list during rmmod. After the change, userspace that still has open set/getsockopt handles on that table can no longer re-instantiate it because the table has already been removed from the per-network-namespace list and its hooks freed. This mismatch causes network processing to fail for any traffic that would normally be handled by the missing table, effectively denying legitimate network operations. The weakness is a flaw in the handling of the module unload sequence and is characterized as CWE-459.

Affected Systems

All Linux kernels that include the legacy x_tables/xtables branch and are running a version before the fix are affected. The commit that added xtables_unregister_table_exit is present in the 7.1 release candidates rc1 through rc3 and is expected to appear in the stable 7.1 release and subsequent kernels. Any system that compiles and loads the x_tables module - whether it is the default netfilter configuration or a user-configured module - shall be considered vulnerable until the kernel is updated to a version that contains this change.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity, but the EPSS score of < 1 % indicates that public exploitation is currently unlikely. The flaw is only exploitable by a local attacker who has the ability to unload a kernel module, which typically requires CAP_SYS_MODULE privilege or root access. An attacker who gains such privileges could trigger a denial of service by unloading the affected module while a userspace program engages in set/getsockopt on it, leading to loss of network connectivity until the module is reloaded or the system is rebooted. The issue is not listed in the CISA KEV catalog, so no known publicly released exploit is available at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the xtables_unregister_table_exit patch.
  • If a kernel upgrade is not immediately possible, avoid unloading x_tables modules while user-space programs are performing set/getsockopt operations on those tables; ensure all such handling is completed before invoking rmmod.
  • Configure kernel log monitoring for netfilter errors and plan a system reboot if a table removal fails or networking functionality is disrupted.

Generated by OpenCVE AI on September 3, 2026 at 16:54 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-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-9002-1 Linux kernel (NVIDIA Tegra) vulnerabilities
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
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: 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
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:38 PM
Reserved
Jul 19, 2026, 7:54 AM
Status
Analyzed
Published
Jul 19, 2026, 4:17 PM
Modified
Sep 3, 2026, 2:32 PM
Severity
Low
Public date
Jul 19, 2026, 12:00 AM