Use After Free Vulnerabilities in drbd

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002308: drbd: Fix five use after free bugs in get_initial_state. Affects Kernel versions >= a29728463b254ce81ecefdf20c1a02e01d9361da, < 188fe6b26765edbad4055611c0f788b6870f4024. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The drbd package is a distributed replicated block device driver for Linux. It allows multiple servers to share the same storage device in a high-availability setup. The package is commonly used in clustered environments to provide data replication and failover capabilities. However, several use after free vulnerabilities have been discovered in the get_initial_state function of drbd.

Vulnerability Detail

The use after free vulnerabilities in the get_initial_state function of drbd can be exploited by an attacker to execute arbitrary code or cause a denial of service. These vulnerabilities occur when the function improperly handles memory deallocation, leading to references to freed memory. By manipulating the freed memory, an attacker can potentially control program execution or crash the system. The vulnerabilities were introduced in version v4.5 of the Linux Kernel and have been fixed in version v4.19.238.

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 these vulnerabilities. It is essential to apply the patch provided in the updated version of the Linux Kernel.

Conclusion

The use after free vulnerabilities in drbd can have serious security implications, allowing attackers to execute arbitrary code or cause a denial of service. It is crucial to update the Linux Kernel to the patched version to mitigate these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

drbd is a distributed replicated block device driver for Linux that enables multiple servers to share the same storage device in a high-availability setup.

The use after free vulnerabilities in drbd can allow an attacker to execute arbitrary code or cause a denial of service.

To fix these vulnerabilities, update the Linux Kernel to version v4.19.238 or later.

No, there are no known workarounds for these vulnerabilities. Applying the patch provided in the updated version of the Linux Kernel is necessary.

You can find more information about these vulnerabilities in the Open Source Vulnerability Database (OSVDB) with the ID GSD-2022-1002308.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback