ieee802154: Avoid calling WARN_ON() on -ENOMEM in cfg802154_switch_netns()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 66e5c2672cd11b9310008099faf6a4ffb9dfb6d0 · < 0569f67ed6a7af838e2141da93c68e6b6013f483| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's cfg802154_switch_netns() calls WARN_ON() when an allocation fails during dev_change_net_namespace() or device_rename(). This can produce unnecessary warning splats; the issue was found through deliberate fault injection. The input does not specify attacker access or authentication requirements.
Engineers running Linux kernels with ieee802154 support should check their versions; affected versions are not specified.