Description
In the Linux kernel, the following vulnerability has been resolved: batman-adv: clean untagged VLAN on netdev registration failure When an mesh interface is registered, it creates an untagged struct batadv_meshif_vlan on top of it via the NETDEV_REGISTER notifier. But in this process, another receiver of this notification can veto the registration. The netdev registration will be aborted because of this veto. The register_netdevice() call will try to clean up the net_device using unregister_netdevice_queue() - which only uses the .priv_destructor to free private resources. In this situation, .dellink will not be called. The cleanup of the untagged batadv_meshif_vlan must thefore be done in the destructor to avoid a leak of this object.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < 86e32dfb6a6fe29898f4a562b7b6e38e480bba4daffected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < 06ae245168268b705a204f93c318b30107d10e92affected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < dbca15fcbeed5276af440a53aed3901590fa7fc9affected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < f2423da55976ea249f73029e468aefda4b94acbaaffected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < f15ca6250591cfe78408114a54eaa8d58da51bfaaffected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < c945f6007e7851e74706c72f98763023699bcd97affected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < 5a82c558098889cc8bfff85cc62f563833205d91affected5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 to < 8669a550c752d86baebc5fdc83b8ff35c4372c0eaffected
Linux Linux
Default version status: affected
3.13affected0 to < 3.13unaffected5.10.261 to ≤ 5.10.*unaffected5.15.212 to ≤ 5.15.*unaffected6.1.178 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/86e32dfb6a6fe29898f4a562b7b6e38e480bba4d ↗
- https://git.kernel.org/stable/c/06ae245168268b705a204f93c318b30107d10e92 ↗
- https://git.kernel.org/stable/c/dbca15fcbeed5276af440a53aed3901590fa7fc9 ↗
- https://git.kernel.org/stable/c/f2423da55976ea249f73029e468aefda4b94acba ↗
- https://git.kernel.org/stable/c/f15ca6250591cfe78408114a54eaa8d58da51bfa ↗
- https://git.kernel.org/stable/c/c945f6007e7851e74706c72f98763023699bcd97 ↗
- https://git.kernel.org/stable/c/5a82c558098889cc8bfff85cc62f563833205d91 ↗
- https://git.kernel.org/stable/c/8669a550c752d86baebc5fdc83b8ff35c4372c0e ↗