CVE-2022-49558 Details
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: double hook unregistration in netns path __nft_release_hooks() is called from pre_netns exit path which unregisters the hooks, then the NETDEV_UNREGISTER event is triggered which unregisters the hooks again. [ 565.221461] WARNING: CPU: 18 PID: 193 at net/netfilter/core.c:495 __nf_unregister_net_hook+0x247/0x270 [...] [ 565.246890] CPU: 18 PID: 193 Comm: kworker/u64:1 Tainted: G E 5.18.0-rc7+ #27 [ 565.253682] Workqueue: netns cleanup_net [ 565.257059] RIP: 0010:__nf_unregister_net_hook+0x247/0x270 [...] [ 565.297120] Call Trace: [ 565.300900] <TASK> [ 565.304683] nf_tables_flowtable_event+0x16a/0x220 [nf_tables] [ 565.308518] raw_notifier_call_chain+0x63/0x80 [ 565.312386] unregister_netdevice_many+0x54f/0xb50 Unregister and destroy netdev hook from netns pre_exit via kfree_rcu so the NETDEV_UNREGISTER path see unregistered hooks.
A vulnerability in the Linux kernel's netfilter component, specifically in the nf_tables subsystem, has been identified. This issue arises from a double unregistration of hooks in the network namespace path. The vulnerability occurs because the __nft_release_hooks() function is called during the pre_netns exit phase, which first unregisters the hooks. Subsequently, the NETDEV_UNREGISTER event is triggered, causing the hooks to be unregistered again. This flaw can lead to inconsistencies and potential misuse of the netfilter hook management.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3fac8ce48fa9fd61ee9056d3ed48b2edefca8b82 | kernel.org | Patch |
| https://git.kernel.org/stable/c/86c0154f4c3a56c5db8b9dd09e3ce885382c2c19 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9c413a8c8bb49cc16796371805ecb260e885bb2b | kernel.org | Patch |
| https://git.kernel.org/stable/c/a3940dcf552f2393d1e8f263b386593f98abe829 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b09e6ccf0d12f9356e8e3508d3e3dce126298538 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f9a43007d3f7ba76d5e7f9421094f00f2ef202f8 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4.99, < 5.4.262 >= 5.10.17, < 5.10.198 >= 5.11.1, < 5.15.45 >= 5.16, < 5.17.13 >= 5.18, < 5.18.2 5.11 - |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 22, 2025 | Initial Analysis | [email protected] |
| Jun 19, 2025 | CVE Modified | kernel.org |
| Feb 26, 2025 | New CVE Received | kernel.org |