Unmap Leak Vulnerability in Linux Kernel Package

linux Updated 02 Oct 2025

Summary

01/05/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-27066: In the Linux kernel, the following vulnerability has been resolved: virtio: packed: fix unmap leak for indirect desc table When use_dma_api and premapped are true, then the do_unmap is false. Affects linux versions < 6.7.12-1. Fixed in 6.7.12-1. 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 Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. It is widely used in various environments, from servers to embedded systems. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically related to the virtio subsystem, which is used for efficient I/O virtualization.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the virtio subsystem that leads to an unmap leak for the indirect descriptor table. When both use_dma_api and premapped are set to true, the do_unmap flag is false, preventing the vring_unmap_extra_packed function from being called. This results in the indirect descriptor table not being unmapped, causing a memory leak. Although this bug does not currently affect any drivers using the premapped with indirect, it poses a potential risk if such configurations are implemented in the future.

How To Fix

Minimum fixed version

6.7.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. It is recommended to apply the patch as soon as it is available.

Conclusion

The unmap leak vulnerability in the Linux kernel's virtio subsystem presents a potential risk for memory leaks. Users are encouraged to update to the patched version 6.7.12-1 to mitigate this issue. Monitoring tools like Vulert can assist in identifying vulnerabilities in your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is an unmap leak in the virtio subsystem of the Linux kernel, which can lead to memory leaks under certain conditions.

The vulnerability affects the Linux kernel in Debian 13 and 14 prior to version 6.7.12-1.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

While there are no specific workarounds, it is advisable to monitor the situation and apply the patch as soon as possible to mitigate any potential risks.

While the bug does not currently affect any drivers using the premapped with indirect, it poses a potential risk and should be addressed promptly.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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

Minimum fixed version

6.7.12-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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