Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix a NULL pointer dereference in ath12k_mac_op_hw_scan() In ath12k_mac_op_hw_scan(), the return value of kzalloc() is directly used in memcpy(), which may lead to a NULL pointer dereference on failure of kzalloc(). Fix this bug by adding a check of arg.extraie.ptr. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 5a263df398b581189fe632b4ab8440f3dd76c251
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 8ad314da54c6dd223a6b6cc85019160aa842f659
6.5.5 (semver)
6.6 (original_commit_for_fix)
References
git.kernel.org/...c/5a263df398b581189fe632b4ab8440f3dd76c251
git.kernel.org/...c/8ad314da54c6dd223a6b6cc85019160aa842f659