Use After Free Vulnerability in drbd Package
Summary
GSD-2022-1001681: drbd: Fix five use after free bugs in get_initial_state. Affects Kernel versions >= a29728463b254ce81ecefdf20c1a02e01d9361da, < a972c768723359ec995579902473028fe3cd64b1. 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 drbd package is a distributed replicated block device driver for Linux. It allows users to create a networked RAID 1 array across multiple machines, ensuring data redundancy and high availability. The package is widely used in scenarios where data replication and synchronization are critical, such as in clustered environments and storage systems. However, a use after free vulnerability has been discovered in the package, which can potentially lead to security breaches and system instability.
Vulnerability Detail
The use after free vulnerability in the drbd package affects the get_initial_state function. This vulnerability allows an attacker to exploit a freed memory region, leading to potential memory corruption and arbitrary code execution. By carefully crafting malicious input, an attacker can trigger the use after free condition and gain unauthorized access or cause a denial of service. The vulnerability was introduced in version 4.5 of the Linux Kernel and has been fixed in version 5.15.34.
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 temporary workaround, users can disable the drbd module or remove the package from their system if it is not essential for their operations. However, this may impact the functionality of systems relying on the drbd package, and it is strongly advised to apply the official fix as soon as possible.
Conclusion
The use after free vulnerability in the drbd package poses a significant risk to systems utilizing this package. It is recommended to update the Linux Kernel to version 5.15.34 or later to address this vulnerability. Users can also use the Vulert Playground at https://vulert.com/scanner to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use after free vulnerability in the drbd package can potentially lead to security breaches and system instability. Attackers can exploit this vulnerability to execute arbitrary code or cause a denial of service.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
Yes, as a temporary workaround, you can disable the drbd module or remove the package from your system if it is not essential. However, it is recommended to apply the official fix as soon as possible.
To update the Linux Kernel, you can either obtain the updated kernel from the official Linux Kernel repository or use your Linux distribution's package manager to install the latest kernel version.
At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is crucial to apply the fix promptly to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.