Bug 1225004 (CVE-2023-52768) - VUL-0: CVE-2023-52768: kernel: wifi: wilc1000: use vmm_table as array in wilc struct
Summary: VUL-0: CVE-2023-52768: kernel: wifi: wilc1000: use vmm_table as array in wilc...
Status: RESOLVED INVALID
Alias: CVE-2023-52768
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/407138/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52768:5.6:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 13:10 UTC by SMASH SMASH
Modified: 2024-07-08 15:01 UTC (History)
2 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-22 13:10:04 UTC
In the Linux kernel, the following vulnerability has been resolved:

wifi: wilc1000: use vmm_table as array in wilc struct

Enabling KASAN and running some iperf tests raises some memory issues with
vmm_table:

BUG: KASAN: slab-out-of-bounds in wilc_wlan_handle_txq+0x6ac/0xdb4
Write of size 4 at addr c3a61540 by task wlan0-tx/95

KASAN detects that we are writing data beyond range allocated to vmm_table.
There is indeed a mismatch between the size passed to allocator in
wilc_wlan_init, and the range of possible indexes used later: allocation
size is missing a multiplication by sizeof(u32)

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52768
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2023/CVE-2023-52768.mbox
https://git.kernel.org/stable/c/541b3757fd443a68ed8d25968eae511a8275e7c8
https://git.kernel.org/stable/c/4b0d6ddb6466d10df878a7787f175a0e4adc3e27
https://git.kernel.org/stable/c/6aaf7cd8bdfe245d3c9a8b48fe70c2011965948e
https://git.kernel.org/stable/c/3ce1c2c3999b232258f7aabab311d47dda75605c
https://git.kernel.org/stable/c/05ac1a198a63ad66bf5ae8b7321407c102d40ef3
https://www.cve.org/CVERecord?id=CVE-2023-52768
Comment 2 Carlos López 2024-05-28 10:04:48 UTC
Nothing to do, closing.