# CVE-2023-52829: wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-02)
- Published: 2024-05-21T15:31:32.164Z
- Modified: 2026-08-05T09:11:35.426Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before dfe13eaab043130f90dd3d57c7d88577c04adc97; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 4dd0547e8b45faf6f95373be5436b66cde326c0e; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before b302dce3d9edea5b93d1902a541684a967f3c63c; 6.3 (not affected: before 6.3; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: from 6.3 before 6.5.13; from 6.6 before 6.6.3

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/dfe13eaab043130f90dd3d57c7d88577c04adc97> (patch)
- <https://git.kernel.org/stable/c/4dd0547e8b45faf6f95373be5436b66cde326c0e> (patch)
- <https://git.kernel.org/stable/c/b302dce3d9edea5b93d1902a541684a967f3c63c> (patch)

## Sources

- CVE List: [CVE-2023-52829](https://www.cve.org/CVERecord?id=CVE-2023-52829), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52829](https://nvd.nist.gov/vuln/detail/CVE-2023-52829), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52829 · Whole record: https://cve.day/CVE-2023-52829.json · Rebuilt by cve.day 2026-11-25T22:58:34.041Z
