In the Linux kernel, the following vulnerability has been resolved:
ice: Fix KASAN error in LAG NETDEV_UNREGISTER 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 netdevnotifier_info 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.