CVE-2023-53729

Description

A flaw was found in the Linux kernel's Qualcomm Messaging Interface (QMI) decoder. When processing incoming messages, the decoder fails to properly validate string length boundaries before appending a null-terminator byte. A local attacker could exploit this issue by providing a specially crafted message to trigger an out-of-bounds write, leading to a Denial of Service (DoS) through a system crash or potential privilege escalation.

Statement

Fixes a potential out-of-bounds write in Qualcomm’s QMI (Qualcomm Messaging Interface) string decoder, where a string of length equal to the declared maximum could overflow by one byte when appending the null terminator. This could lead to kernel memory corruption and potential denial-of-service if malformed QMI messages are processed, e.g., via a compromised modem or firmware-controlled interface.

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).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score6.6N/A7.8
Attack VectorLocalN/ALocal
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityLowN/AHigh
Integrity ImpactLowN/AHigh
Availability ImpactHighN/AHigh

Vector

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

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

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.