Double Free Vulnerability in ubifs Package
Summary
GSD-2022-1001120: ubifs: rename_whiteout: Fix double free for whiteout_ui->data. Affects Kernel versions >= 9e0a1fff8db56eaaebb74b4a3ef65f86811c4798, < 6d7a158a7363c1f6604aa47ae1a280a5c65123dd. 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 ubifs package is a file system designed for use on flash devices. It is commonly used in embedded systems and provides features such as compression, encryption, and wear leveling. The package is a part of the Linux Kernel and is responsible for managing the UBIFS file system. The vulnerability described in this report affects the ubifs package and can lead to a double free issue.
Vulnerability Detail
The vulnerability in the ubifs package, specifically in the rename_whiteout function, allows for a double free of the whiteout_ui->data structure. This can be exploited by an attacker to cause a denial of service or potentially execute arbitrary code. The vulnerability was introduced in version v4.9 of the Linux Kernel and was fixed in version v5.17.2. 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 known workaround for this vulnerability. It is recommended to apply the fix mentioned above.
Conclusion
The double free vulnerability in the ubifs package can have serious consequences, including denial of service and potential code execution. It is crucial to update the Linux Kernel to the patched version to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The ubifs package is a file system designed for use on flash devices. It provides features such as compression, encryption, and wear leveling.
The vulnerability can lead to a double free issue, which can cause a denial of service or potentially allow an attacker to execute arbitrary code.
To fix this vulnerability, update the Linux Kernel to version v5.17.2 or later.
There is no known workaround for this vulnerability. It is recommended to apply the fix mentioned above.
For more information, refer to the provided references link.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.