CVE-2024-38562

medium

Description

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

https://git.kernel.org/stable/c/ed74398642fcb19f6ff385c35a7d512c6663e17b

https://git.kernel.org/stable/c/8fa4d56564ee7cc2ee348258d88efe191d70dd7f

https://git.kernel.org/stable/c/838c7b8f1f278404d9d684c34a8cb26dc41aaaa1

https://git.kernel.org/stable/c/4e2a5566462b53db7d4c4722da86eedf0b8f546c

Details

Source: Mitre, NVD

Published: 2024-06-19

Updated: 2024-06-20

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium