CVE Database›CVE-2023-53589

CVE-2023-53589

kernel: wifi: iwlwifi: mvm: don't trust firmware n_channels

Loading…

Severity

Moderate

Red Hat Product Security

4.6

CVSS 3.1

Review impact separately from score.

Published · October 4, 2025

Updated · August 5, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: iwlwifi: mvm: don't trust firmware n_channels

If the firmware sends us a corrupted MCC response with n_channels much larger than the command response can be, we might copy far too much (uninitialized) memory and even crash if the n_channels is large enough to make it run out of the one page allocated for the FW response.

Fix that by checking the lengths. Doing a < comparison would be sufficient, but the firmware should be doing it correctly, so check more strictly.

Statement

The iwlwifi MVM driver trusted the firmware-reported n_channels in the MCC response and could memcpy past the actual response buffer, leading to out-of-bounds reads and a potential kernel crash. Exploitation requires a malicious or corrupted NIC firmware (physical/firmware threat model) and not ordinary network input.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4.6
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CWE-131 · Incorrect Calculation of Buffer Size