Kernel Tree For Xiaomi 11 Lite NE 5G
Go to file
Ryan Hsu 4df4138eb6 qcacld-3.0: sanitize the mode and state in testmode handler
This is to fix a null pointer dereference in testmode handler.

In the case of driver is close state, userspace still sends testmode
command to the callback, where the hdd_ctx->pdev is already deallocated,
and reset to NULL that causes a null pointer reference.

The failure callstack as below.

012|QDF_DEBUG_PANIC()
013|wlan_objmgr_pdev_get_comp_private_obj(pdev=null)
014|wlan_cfg80211_ftm_testmode_cmd()
015|__wlan_hdd_cfg80211_testmode(inline)

Change-Id: I26cb132a3f5b2eb9cd83892a80bea25a8d511962
CRs-fixed: 2261847
2018-06-19 22:42:18 -07:00
components qcacld-3.0: Send enable/disable flag separately in hw filter command 2018-06-18 16:33:30 -07:00
configs qcacld-3.0: Add Kbuild options for SDIO transfer methods 2018-06-19 14:54:08 -07:00
core qcacld-3.0: sanitize the mode and state in testmode handler 2018-06-19 22:42:18 -07:00
uapi/linux qcacld-3.0: Fix for parsing raw pktlog data 2018-06-13 12:30:32 -07:00
Android.mk qcacld-3.0: Correct symbolic link for wlan.ko 2017-08-06 05:00:09 -07:00
Kbuild qcacld-3.0: Add Kbuild options for SDIO transfer methods 2018-06-19 14:54:08 -07:00
Kconfig qcacld-3.0: Remove obsolete CONFIG_PRIMA_WLAN_11AC_HIGH_TP 2018-04-11 03:37:50 -07:00
Makefile qcacld-3.0: Pass WLAN_ROOT value for make clean 2018-06-09 00:09:16 -07:00
README.txt Initial readme for WLAN Host Driver for iHelium 2015-04-06 11:45:23 -07:00

This is CNSS WLAN Host Driver for products starting from iHelium