wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()
Published May 21, 2024
8.4
HIGHCVSS 3.1
EPSS 0.26%
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
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 6.3StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<6.3
- Version 6.5.13StatusunaffectedConstraints<=6.5.*
- Version 6.6.3StatusunaffectedConstraints<=6.6.*
- Version 6.7StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 6.3 · < 6.5.13
- ≥ 6.6 · < 6.6.3
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (9)
- https://access.redhat.com/security/cve/CVE-2023-52829 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2282692 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-59643 Advisory
- https://git.kernel.org/stable/c/4dd0547e8b45faf6f95373be5436b66cde326c0e Patch
- https://git.kernel.org/stable/c/b302dce3d9edea5b93d1902a541684a967f3c63c Patch
- https://git.kernel.org/stable/c/dfe13eaab043130f90dd3d57c7d88577c04adc97 Patch
- https://lore.kernel.org/linux-cve-announce/2024052108-CVE-2023-52829-3283@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2023-52829
- https://www.cve.org/CVERecord?id=CVE-2023-52829
Change history (0)
No recorded changes yet.