CVE-2023-54286
Description
A vulnerability was discovered in the Intel wireless iwlwifi driver in the Linux kernel that could lead to a buffer overflow in the Driver Virtualization Module key handling code. When processing a received TKIP key that includes MIC rx/tx components, the driver did not adequately limit the amount of key data copied into the fixed-length iwl_keyinfo.key field, potentially causing a field-spanning write and kernel backtrace (crash).
Statement
A flaw of IMPORTANT severity was found in the Linux kernel's Intel wireless iwlwifi DVM driver. When a TKIP key that includes MIC rx/tx key material is installed on an affected Intel wireless device, the driver copies up to 32 bytes of key data into the fixed 16-byte iwl_keyinfo.key field without adequately limiting the copied length, causing a field-spanning out-of-bounds write in iwlagn_send_sta_key. This triggers a kernel WARNING and backtrace and can crash the system, resulting in denial of service. Red Hat rates this issue as local with high attack complexity and required privileges (CVSS 3.1 base score 7.0, AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H), since exploitation requires the ability to set a TKIP key on the affected hardware; this differs from the upstream CVE.org score of 7.6, which is based on an adjacent-network vector. All Red Hat Enterprise Linux and Red Hat In-Vehicle OS kernel and kernel-rt releases are NOTAFFECTED for this vulnerability because the vulnerable code is not present in shipped versions: the length check that prevents the overflow was already incorporated, so no Red Hat products require remediation for this issue.
Mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 7 | N/A | 7.6 |
| Attack Vector | Local | N/A | Adjacent Network |
| Attack Complexity | High | N/A | Low |
| Privileges Required | Low | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | High | N/A | Low |
| Integrity Impact | High | N/A | Low |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
cve.org: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)
Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.
Integrity,Confidentiality,Availability,Access Control
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands; Bypass Protection Mechanism
Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of a program's implicit security policy.
Integrity,Confidentiality,Availability,Access Control,Other
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands; Bypass Protection Mechanism; Other
When the consequence is arbitrary code execution, this can often be used to subvert any other security service.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.