Use After Free Vulnerability in blktrace Package

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

GSD-2022-1000708: blktrace: fix use after free for struct blk_trace. Affects Kernel versions >= c0ea57608b691d6cde8aff23e11f9858a86b5918, < 6418634238ade86f2b08192928787f39d8afb58c. 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 blktrace package is a tool used for tracing block I/O events in the Linux kernel. It provides detailed information about the I/O operations performed by block devices. The package is an integral part of the Linux Kernel ecosystem and is widely used in various applications and systems. However, a vulnerability has been discovered in the package that could lead to a use after free issue in the struct blk_trace data structure.

Vulnerability Detail

The vulnerability in blktrace arises from a use after free issue in the struct blk_trace data structure. This issue can be exploited by an attacker to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v5.12 of the Linux Kernel and was fixed in version v5.16.13. The impact and attack plausibility of this vulnerability have not been proven yet.

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 update the Linux Kernel to the fixed version to mitigate the risk of exploitation.

Conclusion

The use after free vulnerability in the blktrace package can be mitigated by updating the Linux Kernel to version v5.16.13 or later. It is crucial to apply this update to ensure the security and stability of systems utilizing blktrace. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

blktrace is a tool used for tracing block I/O events in the Linux kernel. It provides detailed information about the I/O operations performed by block devices.

A use after free vulnerability occurs when a program continues to use a memory region after it has been freed. This can lead to unpredictable behavior and potential security issues.

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code or cause a denial of service.

The vulnerability was introduced in version v5.12 of the Linux Kernel. Versions prior to v5.16.13 are affected.

Yes, the vulnerability has been fixed in version v5.16.13 of the Linux Kernel. Users should update their systems to this version or later.

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