Back

HIGH

wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()

Published May 21, 2024

Description

reg_cap.phy_id is extracted from WMI event and could be an unexpected value in case some errors happen. As a result out-of-bound write may occur to soc->hal_reg_cap. Fix it by validating reg_cap.phy_id before using it.

This is found during code review.

Compile tested only.

Affected products

Remediation

No remediation recorded yet.

References (9)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner Linux
Published May 21, 2024
Updated Aug 5, 2026
Reserved May 21, 2024
CISA Vulnrichment
Updated Jun 17, 2024
NVD
Status Modified
Modified Aug 4, 2026
Red Hat
Severity Moderate
Public date May 21, 2024
ENISA EUVD
Assigner Linux
Published May 21, 2024
Updated Aug 5, 2026
Exploited since n/a
EUVD-2023-59643