In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: avoid NULL pointer dereference When iterating over the links of a vif, we need to make sure that the pointer is valid (in other words - that the link exists) before dereferncing it. Use for_each_vif_active_link that also does the check.
https://git.kernel.org/stable/c/fbb563ad5032a07ac83c746ce5c8de5f25b5ffd0
https://git.kernel.org/stable/c/cf704a7624f99eb2ffca1a16c69183e85544a613
https://git.kernel.org/stable/c/7f6fb4b7611eb6371c493c42fefad84a1742bcbb