CVE-2022-49558
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.4.99,
5.10.17,
5.11
and later are affected. Fixed in
5.4.262,
5.10.198,
5.15.45,
5.17.13,
5.18.2,
5.19
and their respective stable series.
References
The following references provide additional information about CVE-2022-49558 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/3fac8ce48fa9fd61ee9056d3ed48b2edefca8b82
-
PatchKernel patch commithttps://git.kernel.org/stable/c/86c0154f4c3a56c5db8b9dd09e3ce885382c2c19
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9c413a8c8bb49cc16796371805ecb260e885bb2b
Frequently asked questions
-
What is CVE-2022-49558?
CVE-2022-49558 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.4.99 onward and has been patched in 5.4.262, 5.10.198, 5.15.45 and others. CVE-2022-49558 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49558?
CVE-2022-49558 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49558?
Yes — CVE-2022-49558 has been patched. Fixed versions include 5.4.262, 5.10.198, 5.15.45 and others. If you are running Linux kernel 5.4.99 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49558 actively exploited?
No — CVE-2022-49558 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.