2019-10-10 05:04:30

by Yizhuo Zhai

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

Hi All:

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

The function iwl_mvm_vif_from_mac80211() could return NULL,
but some callers in this file does not check the return value while
directly dereference it, which seems potentially unsafe.
Such callers include iwl_mvm_update_d0i3_power_mode(),
iwl_mvm_power_configure_uapsd(),
iwl_mvm_power_allow_uapsd(), etc.



--
Kind Regards,

Yizhuo Zhai

Computer Science, Graduate Student
University of California, Riverside