CVE-2022-49558
publishednetfilter: nf_tables: double hook unregistration in netns path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb110391d1e806167254d3c7ae5d637191d913175 to < b09e6ccf0d12f9356e8e3508d3e3dce126298538 · 0a0e5d47670b753d3dbf88f3c77a97a30864d9bd to < 3fac8ce48fa9fd61ee9056d3ed48b2edefca8b82 · 767d1216bff82507c945e92fe719dff2083bb2f4 to < 9c413a8c8bb49cc16796371805ecb260e885bb2b · 767d1216bff82507c945e92fe719dff2083bb2f4 to < a3940dcf552f2393d1e8f263b386593f98abe829 · 767d1216bff82507c945e92fe719dff2083bb2f4 to < 86c0154f4c3a56c5db8b9dd09e3ce885382c2c19 · 767d1216bff82507c945e92fe719dff2083bb2f4 to < f9a43007d3f7ba76d5e7f9421094f00f2ef202f8 · 5.4.99 to < 5.4.262 · 5.10.17 to < 5.10.198 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.11 (affected) · 0 to < 5.11 (unaffected · semver) · 5.4.262 through 5.4.* (unaffected · semver) · 5.10.198 through 5.10.* (unaffected · semver) · 5.15.45 through 5.15.* (unaffected · semver) · 5.17.13 through 5.17.* (unaffected · semver) · 5.18.2 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-042 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2022-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2024-057 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-042 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-057 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-042 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-057 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-042 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-057 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-042 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2022-002 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2024-057 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b110391d1e806167254d3c7ae5d637191d913175 to < b09e6ccf0d12f9356e8e3508d3e3dce126298538 (affected · git)0a0e5d47670b753d3dbf88f3c77a97a30864d9bd to < 3fac8ce48fa9fd61ee9056d3ed48b2edefca8b82 (affected · git)767d1216bff82507c945e92fe719dff2083bb2f4 to < 9c413a8c8bb49cc16796371805ecb260e885bb2b (affected · git)767d1216bff82507c945e92fe719dff2083bb2f4 to < a3940dcf552f2393d1e8f263b386593f98abe829 (affected · git)767d1216bff82507c945e92fe719dff2083bb2f4 to < 86c0154f4c3a56c5db8b9dd09e3ce885382c2c19 (affected · git)767d1216bff82507c945e92fe719dff2083bb2f4 to < f9a43007d3f7ba76d5e7f9421094f00f2ef202f8 (affected · git)5.4.99 to < 5.4.262 (affected · semver)5.10.17 to < 5.10.198 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 5.11 (affected)0 to < 5.11 (unaffected · semver)5.4.262 through 5.4.* (unaffected · semver)5.10.198 through 5.10.* (unaffected · semver)5.15.45 through 5.15.* (unaffected · semver)5.17.13 through 5.17.* (unaffected · semver)5.18.2 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/3fac8ce48fa9fd61ee9056d3ed48b2edefca8b82
- https://git.kernel.org/stable/c/86c0154f4c3a56c5db8b9dd09e3ce885382c2c19
- https://git.kernel.org/stable/c/9c413a8c8bb49cc16796371805ecb260e885bb2b
- https://git.kernel.org/stable/c/a3940dcf552f2393d1e8f263b386593f98abe829
- https://git.kernel.org/stable/c/b09e6ccf0d12f9356e8e3508d3e3dce126298538
- https://git.kernel.org/stable/c/f9a43007d3f7ba76d5e7f9421094f00f2ef202f8
Provider assertions
1Linux · cna
netfilter: nf_tables: double hook unregistration in netns path
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d47b36c3372cbebf0a6bac0e589af5e4afe0b1276f13f8f33ebc4c96aa165ea6
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record