Use-after-free vulnerability in ubi_create_volume in Kernel
Summary
GSD-2022-1003536: ubi: ubi_create_volume: Fix use-after-free when volume creation failed. Affects Kernel versions >= 493cfaeaa0c9bc0c79ce5751193d49fdac9aaaec, < 6d8d3f68cbecfd31925796f0fb668eb21ab06734. 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 Kernel is a fundamental component of the Linux operating system that provides core functionalities and interfaces between hardware and software. It manages system resources, including memory, processes, and device drivers. The ubi_create_volume function is responsible for creating volumes in the UBI (Unsorted Block Images) subsystem, which is used for managing flash storage devices. This vulnerability affects the Kernel and specifically the ubi_create_volume function.
Vulnerability Detail
The use-after-free vulnerability in ubi_create_volume occurs when volume creation fails. This vulnerability was introduced in version v4.12 of the Linux Kernel and fixed in version v5.10.122. When volume creation fails, a use-after-free condition can be triggered, leading to potential security issues. An attacker may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven.
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. However, it is advised to follow the recommended fix and update the Linux Kernel to the latest version.
Conclusion
The use-after-free vulnerability in ubi_create_volume in the Kernel can pose potential security risks. It is crucial to update the Linux Kernel to version v5.10.122 or later to mitigate the vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a core component of the Linux operating system that manages system resources and interfaces between hardware and software.
ubi_create_volume is a function in the Kernel's UBI subsystem responsible for creating volumes on flash storage devices.
A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, leading to potential security issues.
If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.
Yes, the fix for this vulnerability is available in version v5.10.122 of the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.