Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria.
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/06ae245168268b705a204f93c318b30107d10e92
- Riferimentohttps://git.kernel.org/stable/c/5a82c558098889cc8bfff85cc62f563833205d91
- Riferimentohttps://git.kernel.org/stable/c/8669a550c752d86baebc5fdc83b8ff35c4372c0e
- Riferimentohttps://git.kernel.org/stable/c/86e32dfb6a6fe29898f4a562b7b6e38e480bba4d
- Riferimentohttps://git.kernel.org/stable/c/c945f6007e7851e74706c72f98763023699bcd97
- Riferimentohttps://git.kernel.org/stable/c/dbca15fcbeed5276af440a53aed3901590fa7fc9
- Riferimentohttps://git.kernel.org/stable/c/f15ca6250591cfe78408114a54eaa8d58da51bfa
- Riferimentohttps://git.kernel.org/stable/c/f2423da55976ea249f73029e468aefda4b94acba