CVE-2026-80616: ieee802154: Avoid calling WARN_ON() on -ENOMEM in cfg802154_switch_netns()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ieee802154: Avoid calling WARN_ON() on -ENOMEM in cfg802154_switch_netns()
It's pointless to call WARN_ON() in case of an allocation failure in dev_change_net_namespace() and device_rename(), since it only leads to useless splats caused by deliberate fault injections, so avoid it.
Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
The Linux kernel CVE team has assigned CVE-2026-80616 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.8 with commit 66e5c2672cd11b9310008099faf6a4ffb9dfb6d0 and fixed in 6.18.40 with commit f4860dd988b1041d70595f2ed84de80f90cb7ebc Issue introduced in 4.8 with commit 66e5c2672cd11b9310008099faf6a4ffb9dfb6d0 and fixed in 7.1.5 with commit 6fcba77571c53f656a2f109259601a7570d4c74a Issue introduced in 4.8 with commit 66e5c2672cd11b9310008099faf6a4ffb9dfb6d0 and fixed in 7.2 with commit 0569f67ed6a7af838e2141da93c68e6b6013f483
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80616
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/ieee802154/core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f4860dd988b1041d70595f2ed84de80f90cb7ebc https://git.kernel.org/stable/c/6fcba77571c53f656a2f109259601a7570d4c74a https://git.kernel.org/stable/c/0569f67ed6a7af838e2141da93c68e6b6013f483