Fix error handling path in idxd_cdev_register() in dmaengine: idxd
Summary
GSD-2022-1003025: dmaengine: idxd: Fix the error handling path in idxd_cdev_register(). Affects Kernel versions >= 42d279f9137ab7d5503836baec2739284b278d8f, < 5e88561eceb34ae3f88451c2b8e30fe403484189. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The dmaengine package is a subsystem in the Linux Kernel that provides a framework for device drivers to perform direct memory access (DMA) operations. The idxd driver is a part of the dmaengine subsystem and is responsible for managing Intel Data Streaming Accelerator (IDSA) devices. These devices are used for offloading data movement operations from the CPU, improving system performance. However, a vulnerability has been identified in the idxd_cdev_register() function, which handles the registration of character devices for the idxd driver.
Vulnerability Detail
The vulnerability in idxd_cdev_register() function can lead to a potential security issue. The error handling path in this function is not properly implemented, which may result in a resource leak. An attacker could exploit this vulnerability to exhaust system resources, leading to a denial-of-service (DoS) condition. 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
There is no specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in idxd_cdev_register() function in dmaengine: idxd can potentially lead to a denial-of-service (DoS) condition. It is recommended to update the Linux Kernel to version v5.17.14 or later to fix this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
dmaengine is a subsystem in the Linux Kernel that provides a framework for device drivers to perform direct memory access (DMA) operations. The idxd driver is a part of the dmaengine subsystem and manages Intel Data Streaming Accelerator (IDSA) devices.
The impact of this vulnerability is not yet proven. However, if exploited, it could lead to a denial-of-service (DoS) condition by exhausting system resources.
To fix this vulnerability, update the Linux Kernel to version v5.17.14 or later, which includes the necessary fix for idxd_cdev_register().
No specific workaround has been mentioned for this vulnerability.
For more details, refer to the vulnerability report GSD-2022-1003025 at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003025.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.