Use After Free Vulnerability in drbd Package
Summary
GSD-2022-1002398: drbd: Fix five use after free bugs in get_initial_state. Affects Kernel versions >= a29728463b254ce81ecefdf20c1a02e01d9361da, < dcf6be17b5c53b741898d2223b23e66d682de300. 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 multiple servers to share a common storage device and ensures data consistency across all servers. The package is widely used in high availability clusters and provides reliable data replication. However, a use after free vulnerability has been discovered in the get_initial_state function of the drbd package.
Vulnerability Detail
The use after free vulnerability in the get_initial_state function of the drbd package can be exploited by an attacker to execute arbitrary code or cause a denial of service. This vulnerability occurs when the function improperly handles memory deallocation, allowing an attacker to reference freed memory. By carefully manipulating the memory, an attacker can execute malicious code or crash the system. The vulnerability was introduced in version v4.5 of the Linux Kernel and has been fixed in version v4.14.276.
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 strongly recommended to apply the fix by updating the Linux Kernel and the drbd package.
Conclusion
The use after free vulnerability in the drbd package can lead to arbitrary code execution or denial of service. It is crucial to update the Linux Kernel to version v4.14.276 or later and regularly update the drbd package to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, a patch is available in version v4.14.276 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over the network.
There are no known instances of this vulnerability being exploited in the wild at this time.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.