CVE-2024-44950

Description

A flaw was found in the Linux kernel's sc16is7xx serial driver. A race condition occurs when the driver accesses special register sets without proper locking while interrupt handling is active. This can cause the interrupt handler to read from an incorrectly mapped register instead of the intended First-In, First-Out (FIFO) buffer. A local user could exploit this flaw to cause data corruption or a Denial of Service (DoS).

Statement

A MODERATE severity race condition flaw was found in the Linux kernel sc16is7xx serial driver. When the driver enables access to the device's special register set to program the baud rate divisor (DLL/DLH) registers, a receiver time-out or RHR interrupt can fire during this window. The interrupt handler then reads the receive FIFO through the RHR register at address 0x00, which is remapped to the DLL register while the special register set is enabled, resulting in an erroneous FIFO read. A local user able to trigger this race could cause data corruption or a denial of service on the affected serial port. Red Hat Enterprise Linux 6, 7, 8, and 9 (kernel and kernel-rt) are not affected by this flaw; the affected Red Hat product scope is limited to Fedora, where the fix is delegated to the community kernel maintainers. Red Hat rates this flaw MODERATE with a CVSS 3.1 score of 5.6 (AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H). This differs from the CVE.org score of 7.1 because Red Hat's scoring reflects that exploitation requires highly privileged local access, whereas the CVE.org vector assumes low privileges.

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

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

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.65.57.1
Attack VectorLocalLocalLocal
Attack ComplexityLowLowLow
Privileges RequiredHighLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityLowNoneNone
Integrity ImpactLowNoneHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:L/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:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Application Data

An adversary that gains access to a resource exposed to a wrong sphere could potentially retrieve private data from that resource, thus breaking the intended confidentiality of that data.

Integrity

Technical Impact: Modify Application Data

An adversary that gains access to a resource exposed to a wrong sphere could potentially modify data held within that resource, thus breaking the intended integrity of that data and causing the system relying on that resource to make unintended decisions.

Other

Technical Impact: Varies by Context

The consequences may vary widely depending on how the product uses the affected resource.

Frequently Asked Questions

Want to get errata notifications? Sign up here.