Vulnerabilities > CVE-2024-38562 - Improper Validation of Array Index vulnerability in Linux Kernel
Attack vector
LOCAL Attack complexity
LOW Privileges required
LOW Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
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.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Overflow Buffers Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
References
- https://git.kernel.org/stable/c/4e2a5566462b53db7d4c4722da86eedf0b8f546c
- https://git.kernel.org/stable/c/838c7b8f1f278404d9d684c34a8cb26dc41aaaa1
- https://git.kernel.org/stable/c/8fa4d56564ee7cc2ee348258d88efe191d70dd7f
- https://git.kernel.org/stable/c/ed74398642fcb19f6ff385c35a7d512c6663e17b
- https://git.kernel.org/stable/c/4e2a5566462b53db7d4c4722da86eedf0b8f546c
- https://git.kernel.org/stable/c/ed74398642fcb19f6ff385c35a7d512c6663e17b
- https://git.kernel.org/stable/c/8fa4d56564ee7cc2ee348258d88efe191d70dd7f
- https://git.kernel.org/stable/c/838c7b8f1f278404d9d684c34a8cb26dc41aaaa1