Use After Free Vulnerability in drbd

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001355: drbd: Fix five use after free bugs in get_initial_state. Affects Kernel versions >= a29728463b254ce81ecefdf20c1a02e01d9361da, < de63e74da2333b4068bb79983e632db730fea97e. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The drbd package is a distributed replicated block device driver for Linux. It allows multiple servers to share the same storage device, providing high availability and data redundancy. The vulnerability in question is related to the get_initial_state function within the drbd code.

Vulnerability Detail

The vulnerability is characterized by five instances of use after free bugs in the get_initial_state function of the drbd package. These bugs can potentially be exploited by an attacker to execute arbitrary code 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.16.20.

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 essential to apply the fix mentioned above to ensure the security of the system.

Conclusion

The use after free vulnerability in the drbd package's get_initial_state function can lead to arbitrary code execution or denial of service. It is crucial to update the Linux Kernel to version 5.16.20 or later to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can be exploited by an attacker 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 and the tool will provide real-time alerts for any open-source vulnerabilities.

No, there is no known workaround for this vulnerability. It is crucial to apply the fix mentioned above.

Yes, this vulnerability can be exploited remotely if the affected system is accessible over the network.

There is no information available regarding active exploitation of this vulnerability in the wild at the moment.

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