CVE-2023-52829

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

State
Published
Severity
8.4 High
Published
May 21, 2024
Updated
Aug 5, 2026
Reserved
May 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before dfe13eaab043130f90dd3d57c7d88577c04adc97Affected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before 4dd0547e8b45faf6f95373be5436b66cde326c0eAffected
  • d889913205cf7ebda905b1e62c5867ed4e39f6c2 to before b302dce3d9edea5b93d1902a541684a967f3c63cAffected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.5.13 through 6.5.*Not affected
  • 6.6.3 through 6.6.*Not affected
  • 6.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.