CVE-2022-50267
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-15

Last updated on: 2025-12-03

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: mmc: rtsx_pci: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, the memory that allocated in mmc_alloc_host() will be leaked and it will lead a kernel crash because of deleting not added device in the remove path. So fix this by checking the return value and calling mmc_free_host() in the error path, beside, runtime PM also needs be disabled.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-15
Last Modified
2025-12-03
Generated
2026-06-16
AI Q&A
2025-09-15
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 3.8 (inc) to 5.15.86 (exc)
linux linux_kernel From 5.16 (inc) to 6.0.16 (exc)
linux linux_kernel From 6.1 (inc) to 6.1.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability occurs in the Linux kernel's mmc subsystem, specifically in the rtsx_pci driver. The function mmc_add_host() may return an error, but if its return value is ignored, the memory allocated by mmc_alloc_host() is leaked. This can lead to a kernel crash because the system attempts to delete a device that was never successfully added. The fix involves properly checking the return value of mmc_add_host(), freeing allocated memory on error, and disabling runtime power management in the error path.

Impact Analysis

This vulnerability can cause a kernel crash due to memory leaks and improper device removal. Such crashes can lead to system instability, potential denial of service, and loss of data or availability on affected Linux systems using the vulnerable driver.

Mitigation Strategies

To mitigate this vulnerability, ensure that your Linux kernel is updated to a version where the fix for the mmc: rtsx_pci issue is applied. The fix involves proper checking of the return value of mmc_add_host() and disabling runtime PM. Applying the latest kernel patches or updates from your distribution that address this issue is the immediate step to prevent kernel crashes caused by this vulnerability.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50267. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart