In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix possible out-of-bound write in ath12kwmiexthalreg_caps()
regcap.phyid 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->halregcap. Fix it by validating regcap.phyid before using it.
This is found during code review.
Compile tested only.