wifi: ath12k: Fix a NULL pointer dereference in ath12k_mac_op_hw_scan() (Linux Linux)

CVE-2023-53721
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 5a263df398b581189fe632b4ab8440f3dd76c251 ; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 8ad314da54c6dd223a6b6cc85019160aa842f659
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.5.5 ≤ 6.5.* ; unaffected 6.6 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD