CVE-2022-20008: Linux Kernel SD MMC Memory Exposure

:linux_kernel: Updated 02 Oct 2025

Summary

01/05/2022
Yes i
High
Not published

CVE-2022-20008: In mmc_blk_read_single of block.c, there is a possible way to read kernel heap memory due to uninitialized data. Affects :linux_kernel: versions >= :0, < :2022-05-05. Fixed in :2022-05-05. How to fix ↓

Also tracked for

The same CVE-2022-20008 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities for various devices, including SD (Secure Digital) and MMC (MultiMediaCard) cards. These cards are widely used for storage in devices such as smartphones, tablets, and cameras. However, a vulnerability has been discovered in the Linux Kernel's handling of SD MMC cards, which could lead to the exposure of sensitive kernel heap memory.

Vulnerability Detail

The vulnerability, identified as CVE-2022-20008, resides in the mmc_blk_read_single function of the block.c file. It arises due to uninitialized data, allowing an attacker to read kernel heap memory. Exploitation of this vulnerability does not require additional execution privileges or user interaction. An attacker can trigger the vulnerability by reading from an SD card that triggers errors. This could result in the disclosure of sensitive information stored in the kernel heap memory, potentially leading to further attacks or unauthorized access.

How To Fix

Minimum fixed version

:2022-05-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

No specific workaround has been provided for this vulnerability.

Conclusion

The Linux Kernel is susceptible to a memory exposure vulnerability when handling SD MMC cards. This vulnerability allows an attacker to read sensitive kernel heap memory, potentially leading to the disclosure of confidential information. It is crucial to update the Linux Kernel to a version that includes the necessary fixes to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for :linux_kernel: →

Share this vulnerability

FAQ

This vulnerability allows an attacker to read sensitive kernel heap memory, potentially exposing confidential information and facilitating further attacks.

No, exploitation of this vulnerability does not require user interaction.

No additional execution privileges are needed to exploit this vulnerability.

This vulnerability affects systems running the Linux Kernel, particularly those utilizing SD and MMC cards.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

Related vulnerabilities

Recent vulnerabilities recorded for :linux_kernel:.

How To Fix

Minimum fixed version

:2022-05-05

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback