CVE-2022-48807: ice: Fix KASAN error in LAG NETDEV_UNREGISTER handler
In the Linux kernel, the following vulnerability has been resolved:
ice: Fix KASAN error in LAG NETDEVUNREGISTER handler
Currently, the same handler is called for both a NETDEVBONDINGINFO LAG unlink notification as for a NETDEVUNREGISTER call. This is causing a problem though, since the netdevnotifierinfo passed has a different structure depending on which event is passed. The problem manifests as a call trace from a BUG: KASAN stack-out-of-bounds error.
Fix this by creating a handler specific to NETDEVUNREGISTER that only is passed valid elements in the netdevnotifierinfo struct for the NETDEVUNREGISTER event.
Also included is the removal of an unbalanced devput on the peernetdev and related braces.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.24 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.16.10 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.16.10-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-48807?
CVE-2022-48807 has a medium severity level, impacting the stability of the Linux kernel.
What versions of the Linux kernel are affected by CVE-2022-48807?
CVE-2022-48807 affects Linux kernel versions between 5.14.16 and 5.15.24, as well as 5.17 release candidates.
How do I fix CVE-2022-48807?
To address CVE-2022-48807, ensure you update your Linux kernel to the latest version that includes the fix.
What type of vulnerability is CVE-2022-48807?
CVE-2022-48807 is a kernel memory access vulnerability that affects the handling of network device unregistration.
Is there a workaround for CVE-2022-48807?
There is no specific workaround for CVE-2022-48807; the primary mitigation is to upgrade to a secure version.