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-1003774: mmc: jz4740: Apply DMA engine limits to maximum segment size. Affects Kernel versions < 7923f95997a79cef2ad161a2facae64c25a0bca0. 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 managing hardware resources, memory, and system processes. The mmc (MultiMediaCard) subsystem within the Linux Kernel is responsible for handling communication with SD and MMC storage devices.

The vulnerability identified in the mmc subsystem affects the jz4740 driver. This driver is specific to the Ingenic JZ4740 SoC (System-on-Chip) family, commonly used in embedded systems. The vulnerability relates to the handling of DMA (Direct Memory Access) operations and the maximum segment size.

DMA operations allow data to be transferred directly between devices and memory without involving the CPU. However, if not properly controlled, DMA operations can lead to security vulnerabilities, such as buffer overflows or data corruption. This vulnerability specifically impacts the maximum segment size used by the DMA engine in the jz4740 driver.

Vulnerability Detail

The vulnerability arises from a failure to apply DMA engine limits to the maximum segment size in the jz4740 driver of the Linux Kernel's mmc subsystem. By exploiting this vulnerability, an attacker could potentially manipulate DMA operations to exceed the intended segment size, leading to buffer overflows or data corruption. The exact impact and attack plausibility have not been proven yet.

It is important to note that this vulnerability has been addressed in the Linux Kernel version v5.4.198 by commit 7923f95997a79cef2ad161a2facae64c25a0bca0. Upgrading to this version or any subsequent version that includes the mentioned commit will mitigate the vulnerability.

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. The recommended course of action is to upgrade to the patched version of the Linux Kernel.

Conclusion

The vulnerability in the Linux Kernel's mmc subsystem, specifically in the jz4740 driver, has been addressed in version v5.4.198 and later versions. Upgrading to the patched version of the Linux Kernel is the recommended solution. 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 forms the core of various Linux distributions. It provides essential functionality for managing hardware resources, memory, and system processes.

The mmc (MultiMediaCard) subsystem is responsible for handling communication with SD and MMC storage devices in the Linux Kernel. It provides the necessary drivers and protocols for interacting with these storage devices.

The jz4740 driver is specific to the Ingenic JZ4740 SoC (System-on-Chip) family, commonly used in embedded systems. It enables communication between the Linux Kernel and the hardware components of devices based on the Ingenic JZ4740 SoC.

DMA (Direct Memory Access) operations allow data to be transferred directly between devices and memory without involving the CPU. This can improve performance by offloading data transfer tasks from the CPU.

If exploited, this vulnerability could lead to buffer overflows or data corruption. However, the exact impact and attack plausibility have not been proven yet.

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