batman-adv: clean untagged VLAN on netdev registration failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f2423da55976ea249f73029e468aefda4b94acba, Kernel 06ae245168268b705a204f93c318b30107d10e92, Kernel 5a82c558098889cc8bfff85cc62f563833205d91 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <f2423da55976ea249f73029e468aefda4b94acba, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <06ae245168268b705a204f93c318b30107d10e92, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <5a82c558098889cc8bfff85cc62f563833205d91, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <8669a550c752d86baebc5fdc83b8ff35c4372c0e, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <86e32dfb6a6fe29898f4a562b7b6e38e480bba4d, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <c945f6007e7851e74706c72f98763023699bcd97, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <dbca15fcbeed5276af440a53aed3901590fa7fc9, >=5d2c05b213377694a2aa8ce1ed9b23f7c39b0569 <f15ca6250591cfe78408114a54eaa8d58da51bfa, =3.13 | f2423da55976ea249f73029e468aefda4b94acba, 06ae245168268b705a204f93c318b30107d10e92, 5a82c558098889cc8bfff85cc62f563833205d91, 8669a550c752d86baebc5fdc83b8ff35c4372c0e, 86e32dfb6a6fe29898f4a562b7b6e38e480bba4d, c945f6007e7851e74706c72f98763023699bcd97, dbca15fcbeed5276af440a53aed3901590fa7fc9, f15ca6250591cfe78408114a54eaa8d58da51bfa |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=3.13.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket