No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
gaurank kathpalia b4539e1cf1 qcacld-3.0: Check vdev state before ACS cb
Currently the driver calls the pre bss scan cb
which is used to calculate the weight to start
the SAP on best channel. This API depends upon
the SAP context pointer which is passed as a arg
to the scan module, which in turn returns the arg
as part of the scan cb. But it may happen that
the SAP was deleted before the scan cb was called.
In that case pre bss scan cb and weight calculation
does not matter to the driver as SAP in any case is
OFF. Here the sap context which was passed as an arg
to the ACS cb is used after free, and there is no way
currently to validate the pointer. But as part of scan
cb, the driver gets a vdev pointer, which would be in a
logically deleted state, if the stop adapter for SAP has
been done. Using this data, the driver can know the object
status, and then decide to continue with the weight calculation.

Fix is to try get vdev ref before the weight calculation algo
kicks in, and return if the reference cannot be taken to avoid
use after free for SAP-context.

Change-Id: Ib9c3bde4a36ee49efdadab3dc531991b8688f79e
CRs-Fixed: 2509249
2019-08-15 12:28:34 -07:00
components qcacld-3.0: Handle channel switch in SAP+SAP SCC 2019-08-14 14:30:07 -07:00
configs qcacld-3.0: Enable IPA3 for sdxprairie arch 2019-08-12 05:35:15 -07:00
core qcacld-3.0: Check vdev state before ACS cb 2019-08-15 12:28:34 -07:00
os_if qcacld-3.0: Fix nan disable issue on NAN+SAP concurrency 2019-07-16 17:15:00 -07:00
uapi/linux
Android.mk qcacld-3.0: set LOCAL_MODULE_TAGS to optional variant 2019-05-27 10:37:31 -07:00
Kbuild qcacld-3.0: Add SERIALIZE_VDEV_RESP_TIMER in Kbuild 2019-08-13 11:01:31 -07:00
Kconfig
Makefile
README.txt

This is CNSS WLAN Host Driver for products starting from iHelium