Critical Vulnerability in Linux Kernel: Double Allocation Issue in SWIOTLB Handling

linux Updated 02 Oct 2025

Summary

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

DEBIAN-CVE-2024-35814: In the Linux kernel, the following vulnerability has been resolved: swiotlb: Fix double-allocation of slots due to broken alignment handling Commit bbb73a103fbb ("swiotlb: fix a braino in the alignment check fix"), which... 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 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 Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It manages system resources, including memory, processes, and device drivers. The kernel is crucial for system stability and performance. This specific vulnerability affects the SWIOTLB (Software I/O Translation Lookaside Buffer) functionality, which is responsible for managing DMA (Direct Memory Access) operations in environments with limited memory. The vulnerability arises from improper alignment handling, leading to potential system instability and data corruption.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the SWIOTLB module, where a fix for alignment checks inadvertently introduced a regression affecting virtio devices in virtual machines. This issue can cause double allocation of memory slots, leading to buffer corruption and system hangs. The root cause is a failure to ensure proper alignment during memory allocation, which can result in unaligned page allocations. This vulnerability can severely impact system performance and reliability, particularly in virtualized environments.

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

As a temporary workaround, users can avoid using virtio devices that rely on SWIOTLB for DMA operations until the package is updated. This may involve configuring the system to use alternative device drivers or adjusting the virtual machine settings to bypass the affected functionality.

Conclusion

The identified vulnerability in the Linux kernel's SWIOTLB handling poses significant risks to system stability and performance, particularly in virtualized environments. Users are strongly advised to update their systems to the patched version to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a double allocation issue in the SWIOTLB handling of the Linux kernel, which can lead to buffer corruption and system hangs.

The vulnerability affects Debian versions 13 and 14 of the Linux kernel 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.

If exploited, this vulnerability can lead to system instability, data corruption, and performance degradation, particularly in virtualized environments.

Yes, the permanent fix is to update the Linux package to version 6.7.12-1 or later, which addresses the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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