# CVE-2022-49558: linux: In the Linux kernel, the following vulnerability has been resolved:  netfilter: nf_tables: double hook unregistration...

CVE-2022-49558 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49558, released February 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2022-49558
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 26, 2025

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.18.2-1 | [DEBIAN-CVE-2022-49558](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49558.md) | Feb 26, 2025 |
| Linux | linux Debian 13.5 (trixie) | 5.18.2-1 | [DEBIAN-CVE-2022-49558](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49558.md) | Feb 26, 2025 |
| Linux | linux Debian 14 | 5.18.2-1 | [DEBIAN-CVE-2022-49558](https://patchblox.com/security/data/fix/linux/debian-cve-2022-49558.md) | Feb 26, 2025 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
