2019-10-07 19:16:54

by Yizhuo Zhai

[permalink] [raw]
Subject: Potential NULL pointer deference in iwlwifi

Hi All:

drivers/net/wireless/intel/iwlwifi/mvm/power.c:

Inside function iwl_mvm_power_ps_disabled_iterator(),
iwl_mvm_vif_from_mac80211()
could return NULL,however, the return value of
iwl_mvm_vif_from_mac80211() is not
checked and get
used. This could potentially be unsafe.

--
Kind Regards,

Yizhuo Zhai

Computer Science, Graduate Student
University of California, Riverside