CVE-2022-50267

Description

A flaw was found in the Linux kernel, specifically within the mmc: rtsx_pci driver. A local attacker with low privileges could exploit this vulnerability by triggering a scenario where the mmc_add_host() function's return value is not properly checked. This can lead to a memory leak, which may ultimately cause a kernel crash, resulting in a Denial of Service (DoS).

Mitigation

If an RTSX PCI-based MMC/SD card reader is not required, the `rtsx_pci` kernel module can be prevented from loading. Create `/etc/modprobe.d/blacklist-rtsx_pci.conf` with `blacklist rtsx_pci`. Regenerate the initramfs using `dracut -f -v` and reboot the system. This may impact functionality if the card reader is in use.

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.15.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityLowNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

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

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

Understanding the Weakness (CWE)

Integrity,Other

Technical Impact: Varies by Context; Unexpected State; Alter Execution Logic

An attacker could utilize an ignored error condition to place the system in an unexpected state that could lead to the execution of unintended logic and could cause other unintended behavior.

Frequently Asked Questions

Want to get errata notifications? Sign up here.