Out-of-Bounds TLB Allocations Vulnerability in Linux Kernel - CVE-2023-52790

linux Updated 02 Oct 2025

Summary

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

DEBIAN-CVE-2023-52790: In the Linux kernel, the following vulnerability has been resolved: swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC Limit the free list length to the size of the IO TLB. Affects linux versions < 6.6.8-1. Fixed in 6.6.8-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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is responsible for managing system resources and facilitating communication between hardware and applications. This vulnerability affects the Linux kernel versions in Debian 13 and 14, specifically related to the SWIOTLB (Software I/O Translation Lookaside Buffer) functionality, which is crucial for managing I/O operations in systems with limited memory.

Vulnerability Detail

The vulnerability identified as CVE-2023-52790 arises from improper handling of out-of-bounds TLB allocations in the SWIOTLB component of the Linux kernel. The issue occurs when the free list length exceeds the size of the IO TLB, leading to potential memory corruption. This can result in the allocation of slots beyond the intended buffer limits, posing risks such as system crashes, data corruption, or unauthorized access to sensitive information. The flaw is rooted in the assumption that the total number of slots is a multiple of IO_TLB_SEGSIZE, which is not always the case, particularly when the transient pool is smaller than expected.

How To Fix

Minimum fixed version

6.6.8-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. The best course of action is to apply the available patch by updating to the fixed version of the Linux kernel.

Conclusion

CVE-2023-52790 represents a significant vulnerability in the Linux kernel that can lead to serious system issues if left unaddressed. Users of Debian 13 and 14 are urged to update to the patched version 6.6.8-1 to protect their systems. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security and integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-52790 is a vulnerability in the Linux kernel that allows for out-of-bounds TLB allocations, potentially leading to memory corruption and system instability.

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

You can use Vulert, which monitors open-source vulnerabilities in your software. By utilizing the Vulert playground, you can check if your application is affected by this vulnerability without needing to sign up.

While there are no specific workarounds available, it is advisable to prioritize updating your kernel to the patched version as soon as possible to mitigate risks.

Detailed information about CVE-2023-52790 can be found in the Debian security advisories and the official Linux kernel documentation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.6.8-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