Use After Free Vulnerability in drbd Package

Kernel Updated 02 Oct 2025

Summary

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

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 ↓

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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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