CVE-2024-38562

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

State
Published
Severity
7.8 High
Published
Jun 19, 2024
Updated
May 11, 2026
Reserved
Jun 18, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-129 Improper Validation of Array Index

Affected Products

ProductVersions
LinuxLinux
  • e3eac9f32ec04112b39e01b574ac739382469bf9 to before ed74398642fcb19f6ff385c35a7d512c6663e17bAffected
  • e3eac9f32ec04112b39e01b574ac739382469bf9 to before 4e2a5566462b53db7d4c4722da86eedf0b8f546cAffected
  • e3eac9f32ec04112b39e01b574ac739382469bf9 to before 8fa4d56564ee7cc2ee348258d88efe191d70dd7fAffected
  • e3eac9f32ec04112b39e01b574ac739382469bf9 to before 838c7b8f1f278404d9d684c34a8cb26dc41aaaa1Affected
LinuxLinux
  • 6.6Affected
  • before 6.6Not affected
  • 6.6.33 through 6.6.*Not affected
  • 6.8.12 through 6.8.*Not affected
  • 6.9.3 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.