Not scored
wifi: ath12k: Fix a NULL pointer dereference in ath12k_mac_op_hw_scan()
- Severity
- Not scored
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 5a263df398b581189fe632b4ab8440f3dd76c251, from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 8ad314da54c6dd223a6b6cc85019160aa842f659, 6.3 Not affected: before 6.3, from 6.5.5 up to 6.5.*, from 6.6 up to * | CVE List |
What each source says
CVE List
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
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: wifi: ath12k: Se corrige una desreferencia de puntero NULL en ath12k_mac_op_hw_scan() En ath12k_mac_op_hw_scan(), el valor de retorno de kzalloc() se utiliza directamente en memcpy(), lo que puede llevar a una desreferencia de puntero NULL ante un fallo de kzalloc(). Se corrige este error añadiendo una comprobación de arg.extraie.ptr. Probado en: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53721 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53721 changed 2026-10-28 | Public domain |