In the Linux kernel, the following vulnerability has been resolved:
netfilter: x_tables: allocate hook ops while under mutex
arp/ip(6)t_register_table() add the table to the per-netns list via xt_register_table() before allocating the per-netns hook ops copy via kmemdup_array(). This leaves a window where the table is visible in the list with ops=NULL.
If the pernet exit happens runs concurrently the pre_exit callback finds the table via xt_find_table() and passes the NULL ops pointer to nf_unregister_net_hooks(), causing a NULL dereference:
general protection fault in nf_unregister_net_hooks+0xbc/0x150 RIP: nf_unregister_net_hooks (net/netfilter/core.c:613) Call Trace: ipt_unregister_table_pre_exit iptable_mangle_net_pre_exit ops_pre_exit_list cleanup_net
Fix by moving the ops allocation into the xtables core so the table is never in the list without valid ops. Also ensure the table is no longer processing packets before its torn down on error unwind. nf_register_net_hooks might have published at least one hook; call synchronize_rcu() if there was an error.
audit log register message gets deferred until all operations have passed, this avoids need to emit another ureg message in case of error unwinding.
Based on earlier patch by Tristan Madani.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Redhat_linux | — | No solution exists | Jul 22, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-gcp-7.0Upgrade linux-image-raspi-7.0Upgrade linux-image-ibm-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-azureUpgrade linux-image-7.0.0-1014-azureUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-nvidiaUpgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-nvidia-7.0Upgrade linux-image-azure-fde-7.0Upgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-7.0.0-1010-azureUpgrade linux-image-awsUpgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-oracleUpgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-azure-fdeUpgrade linux-image-raspi-realtime-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-raspiUpgrade linux-image-gcp-64kUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-aws-64k-7.0Upgrade linux-image-oracle-64kUpgrade linux-image-oracle-7.0Upgrade linux-image-gcpUpgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-aws-64kUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-ibmUpgrade linux-image-nvidia-64kUpgrade linux-image-7.0.0-1009-awsUpgrade linux-image-raspi-realtimeUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-nvidia-bos-7.0Upgrade linux-image-azure-7.0 | Jul 21, 2026 | Jul 20, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub