Bug 1226788 (CVE-2024-38562) - VUL-0: CVE-2024-38562: kernel: wifi: nl80211: avoid address calculations via out of bounds array indexing
Summary: VUL-0: CVE-2024-38562: kernel: wifi: nl80211: avoid address calculations via ...
Status: RESOLVED FIXED
Alias: CVE-2024-38562
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/411451/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38562:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-21 14:34 UTC by SMASH SMASH
Modified: 2024-07-08 15:14 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-06-21 14:34:56 UTC
In the Linux kernel, the following vulnerability has been resolved:

wifi: nl80211: Avoid address calculations via out of bounds array indexing

Before request->channels[] can be used, request->n_channels must be set.
Additionally, address calculations for memory after the "channels" array
need to be calculated from the allocation base ("request") rather than
via the first "out of bounds" index of "channels", otherwise run-time
bounds checking will throw a warning.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38562
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-38562.mbox
https://git.kernel.org/stable/c/ed74398642fcb19f6ff385c35a7d512c6663e17b
https://git.kernel.org/stable/c/4e2a5566462b53db7d4c4722da86eedf0b8f546c
https://git.kernel.org/stable/c/8fa4d56564ee7cc2ee348258d88efe191d70dd7f
https://git.kernel.org/stable/c/838c7b8f1f278404d9d684c34a8cb26dc41aaaa1
https://www.cve.org/CVERecord?id=CVE-2024-38562
https://bugzilla.redhat.com/show_bug.cgi?id=2293431