Skip to content
CVE PROGRAM SOURCE RECORD8.4 High

CVE-2023-52829

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

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps() 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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to < dfe13eaab043130f90dd3d57c7d88577c04adc97affected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to < 4dd0547e8b45faf6f95373be5436b66cde326c0eaffected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to < b302dce3d9edea5b93d1902a541684a967f3c63caffected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.5.13 to ≤ 6.5.*unaffected
  • 6.6.3 to ≤ 6.6.*unaffected
  • 6.7 to ≤ *unaffected

References