Double Free of io_acct_set Bioset in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002638: md: fix double free of io_acct_set bioset. Affects Kernel versions >= 0c031fd37f69deb0cd8c43bbfcfccd62ebd7e952, < ea7d7bd90079d96f9c86bdaf0b106e0cd2a70661. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for managing system resources, including memory, processes, and device drivers. The io_acct_set bioset is a data structure used by the kernel's md (multiple devices) subsystem for accounting I/O operations. It helps track and manage I/O statistics for software RAID devices. However, a vulnerability in the md subsystem can lead to a double free of the io_acct_set bioset, potentially causing memory corruption and system instability.

Vulnerability Detail

The vulnerability arises from a double free issue in the md subsystem of the Linux Kernel. A double free occurs when a program attempts to free a memory block that has already been freed. In this case, the double free affects the io_acct_set bioset, which can result in memory corruption and subsequent system crashes or privilege escalation attacks. The vulnerability was introduced in Linux Kernel version v5.17 by commit 0c031fd37f69deb0cd8c43bbfcfccd62ebd7e952 and is fixed in version v5.18.3 by commit ea7d7bd90079d96f9c86bdaf0b106e0cd2a70661.

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

As a workaround, users can disable or avoid using the md subsystem if it is not essential for their system's functionality. This can be achieved by unloading the relevant kernel modules or configuring the system to exclude the md subsystem during boot. However, this workaround may not be feasible for systems relying on software RAID functionality.

Conclusion

The double free vulnerability in the md subsystem of the Linux Kernel can lead to memory corruption and system instability. It is crucial to update the kernel to version v5.18.3 or later to mitigate this vulnerability. Users can also consider disabling or avoiding the md subsystem as a temporary workaround. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to memory corruption and system instability, potentially resulting in system crashes or privilege escalation attacks.

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 to the playground, and it will analyze the dependencies and alert you if any known vulnerabilities, including this one, are found.

At the time of this report, there are no known public exploits targeting this specific vulnerability. However, it is always recommended to promptly apply security patches to mitigate potential risks.

The vulnerability itself does not provide remote exploitation capabilities. However, if an attacker gains local access to a vulnerable system, they may be able to leverage this vulnerability for privilege escalation or to disrupt system stability.

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