Bug 1225078 (CVE-2023-52827) - VUL-0: CVE-2023-52827: kernel: wifi: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats()
Summary: VUL-0: CVE-2023-52827: kernel: wifi: ath12k: fix possible out-of-bound read i...
Status: RESOLVED FIXED
Alias: CVE-2023-52827
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/407201/
Whiteboard:
Keywords:
Depends on:
Blocks: 1227321
  Show dependency treegraph
 
Reported: 2024-05-23 08:02 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:02:12 UTC
In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats()

len is extracted from HTT message and could be an unexpected value in
case errors happen, so add validation before using to avoid possible
out-of-bound read in the following message iteration and parsing.

The same issue also applies to ppdu_info->ppdu_stats.common.num_users,
so validate it before using too.

These are found during code review.

Compile test only.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52827
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52827.mbox
https://git.kernel.org/stable/c/79527c21a3ce04cffc35ea54f74ee087e532be57
https://git.kernel.org/stable/c/c9e44111da221246efb2e623ae1be40a5cf6542c
https://git.kernel.org/stable/c/1bc44a505a229bb1dd4957e11aa594edeea3690e
https://www.cve.org/CVERecord?id=CVE-2023-52827
Comment 2 Takashi Iwai 2024-05-24 07:24:45 UTC
SLE15-SP5 and older branches don't contain ath12 driver at all, so unaffected.
Reassigned back.
Comment 3 Andrea Mattiazzo 2024-05-24 10:39:12 UTC
All done, closing.