Vulnerability in Kernel: dma-debug: fix sg checks in debug_dma_map_sg()

Kernel Updated 02 Oct 2025

Summary

28/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001891: dma-debug: fix sg checks in debug_dma_map_sg(). Affects Kernel versions >= 884d05970bfbc3db368f23460dc4ce63257f240d, < 2b7d598b9651c182b4b71923a00d3f904aff21ed. 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 Kernel is a crucial component of the Linux operating system that manages communication between hardware and software. It provides essential functionalities and services to enable the proper functioning of the system. The dma-debug subsystem within the Kernel is responsible for debugging and tracking Direct Memory Access (DMA) operations. DMA allows devices to directly access system memory without involving the CPU. The debug_dma_map_sg() function is used to map scatter-gather lists (SG) for DMA operations. However, a vulnerability has been identified in this function that could potentially lead to security issues.

Vulnerability Detail

The vulnerability, identified as GSD-2021-1001891, originates from a flaw in the sg checks within the debug_dma_map_sg() function. This flaw could be exploited by an attacker to bypass security measures and gain unauthorized access to sensitive data or execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v2.6.31 of the Linux Kernel and has been fixed in version v5.14.15 by commit 2b7d598b9651c182b4b71923a00d3f904aff21ed.

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 a workaround, if updating the Kernel is not immediately feasible, it is advised to implement additional security measures such as access controls, network segmentation, and monitoring to mitigate the risk associated with this vulnerability. However, applying the official fix by updating the Kernel is the recommended approach.

Conclusion

In conclusion, the vulnerability in the Kernel's dma-debug subsystem could potentially lead to security issues, allowing unauthorized access or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.14.15 or later to mitigate this vulnerability. Implementing additional security measures as a temporary workaround is also advised. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that manages communication between hardware and software. It provides essential functionalities and services to enable the proper functioning of the system.

dma-debug is a subsystem within the Kernel that is responsible for debugging and tracking Direct Memory Access (DMA) operations. It helps identify and resolve issues related to DMA in the system.

debug_dma_map_sg() is a function within the dma-debug subsystem that is used to map scatter-gather lists (SG) for DMA operations. It ensures proper handling and tracking of DMA operations.

The impact of this vulnerability could potentially allow an attacker to bypass security measures and gain unauthorized access to sensitive data or execute arbitrary code. However, the actual impact and attack plausibility have not been proven yet.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.14.15 or later. Pull the latest updates from the official Linux Kernel repository and ensure compatibility with your system. Thoroughly test the updated Kernel before deploying it to production environments.

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