Vulnerability in Linux Kernel: mmc: jz4740: Apply DMA engine limits to maximum segment size

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003116: mmc: jz4740: Apply DMA engine limits to maximum segment size. Affects Kernel versions < 807f90f1960a59dc557542b818c484a8db9ac978. No fix is published. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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 a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The mmc (MultiMediaCard) subsystem in the Linux Kernel handles communication with SD and MMC storage devices.

The vulnerability identified in the mmc subsystem affects the jz4740 driver, which is responsible for managing the MMC controller found in Ingenic JZ4740 SoCs. This vulnerability relates to the maximum segment size used by the DMA (Direct Memory Access) engine in the jz4740 driver. The DMA engine is responsible for transferring data between the MMC controller and system memory.

The vulnerability could potentially allow an attacker to manipulate the DMA engine by exceeding its limits for maximum segment size. This could lead to memory corruption, data leakage, or even privilege escalation.

Vulnerability Detail

The vulnerability in the jz4740 driver of the Linux Kernel's mmc subsystem arises from the lack of proper checks on the maximum segment size used by the DMA engine. By exceeding the allowed segment size, an attacker could exploit this weakness to corrupt memory, leak sensitive data, or potentially gain elevated privileges.

The vulnerability has been assigned the ID GSD-2022-1003116 and was fixed in Linux Kernel version v5.17.14 by commit 807f90f1960a59dc557542b818c484a8db9ac978. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the Linux Kernel, there is no specific workaround available. It is advised to update to the patched version of the Kernel.

Conclusion

The vulnerability in the Linux Kernel's mmc subsystem, specifically in the jz4740 driver, could potentially lead to memory corruption, data leakage, or privilege escalation. It is essential to update the Linux Kernel to version v5.17.14 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers.

The mmc (MultiMediaCard) subsystem in the Linux Kernel handles communication with SD and MMC storage devices. It provides the necessary functionality for accessing and managing these storage devices.

The jz4740 driver is responsible for managing the MMC controller found in Ingenic JZ4740 SoCs. It enables communication between the MMC controller and the Linux Kernel, allowing access to SD and MMC storage devices.

A DMA (Direct Memory Access) engine is a hardware component that allows data to be transferred between devices and system memory without involving the CPU. It provides efficient and high-speed data transfers.

To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.17.14 or later. This update includes the necessary fix for the vulnerability in the jz4740 driver.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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