CVE-2023-53679

Description

A flaw was found in the Linux kernel's mt7601u wireless driver. An attacker can supply manipulated packet lengths within USB Request Block (URB) data to trigger an integer underflow, bypassing frame validation checks. This issue results in a null-pointer dereference during packet reception, causing a system crash and leading to a Denial of Service (DoS).

Statement

A flaw of moderate severity was found in the mt7601u USB wireless driver in the Linux kernel as shipped in Red Hat Enterprise Linux 8 and Red Hat Enterprise Linux 9 (kernel and kernel-rt). When processing received USB Request Block (URB) data, the driver fails to ensure that the dma_len field is greater than the minimum segment length; a manipulated dma_len value causes an integer underflow of seg_len in mt7601u_rx_process_seg(), which bypasses the bad_frame validation in mt7601u_rx_skb_from_seg() and results in a null-pointer dereference. An attacker able to supply crafted URB receive data with manipulated packet lengths can therefore crash the kernel, causing a denial of service; no confidentiality or integrity impact is expected. The fix is currently deferred for the affected Red Hat Enterprise Linux 8 and 9 update streams; since the demonstrated impact is limited to availability, the residual risk of deferral is a system crash on systems that process crafted mt7601u receive data. Red Hat Enterprise Linux 6, 7, and 10, and Red Hat In-Vehicle OS are not affected because the vulnerable code is not present in those products. Red Hat's Moderate rating (CVSS 6.5) differs from the upstream CVE record's Important rating (CVSS 8.3, which includes confidentiality and integrity impacts) because the verified technical evidence demonstrates only a null-pointer dereference leading to a system crash.

Mitigation

Mitigation for this issue is either not available or the currently available options do not 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 HatNVDcve.org
Base Score6.55.58.3
Attack VectorNetworkLocalAdjacent Network
Attack ComplexityLowLowLow
Privileges RequiredLowLowNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneLow
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

cve.org: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Instability

This weakness will generally lead to undefined behavior and therefore crashes. In the case of overflows involving loop index variables, the likelihood of infinite loops is also high.

Integrity

Technical Impact: Modify Memory

If the value in question is important to data (as opposed to flow), simple data corruption has occurred. Also, if the wrap around results in other conditions such as buffer overflows, further memory corruption may occur.

Confidentiality,Availability,Access Control

Technical Impact: Execute Unauthorized Code or Commands; Bypass Protection Mechanism

This weakness can sometimes trigger buffer overflows which can be used to execute arbitrary code. This is usually outside the scope of a program's implicit security policy.

Frequently Asked Questions

Want to get errata notifications? Sign up here.