Bug 1225081 (CVE-2023-52829) - VUL-0: CVE-2023-52829: kernel: wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps()
Summary: VUL-0: CVE-2023-52829: kernel: wifi: ath12k: fix possible out-of-bound write ...
Status: RESOLVED FIXED
Alias: CVE-2023-52829
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P2 - High : Major
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/407180/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52829:7.5:(AV:...
Keywords:
Depends on:
Blocks: 1227474
  Show dependency treegraph
 
Reported: 2024-05-23 08:14 UTC by SMASH SMASH
Modified: 2024-07-08 15:02 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-05-23 08:14:13 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52829
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52829.mbox
https://git.kernel.org/stable/c/dfe13eaab043130f90dd3d57c7d88577c04adc97
https://git.kernel.org/stable/c/4dd0547e8b45faf6f95373be5436b66cde326c0e
https://git.kernel.org/stable/c/b302dce3d9edea5b93d1902a541684a967f3c63c
https://www.cve.org/CVERecord?id=CVE-2023-52829
Comment 2 Takashi Iwai 2024-05-24 17:01:46 UTC
cve/linux-5.14 and earlier don't contain ath12 driver at all, hence unaffected.
Reassigned back.
Comment 3 Andrea Mattiazzo 2024-05-29 12:11:37 UTC
All done, closing.