Slab-Out-Of-Bounds Read Vulnerability in Linux Kernel: CVE-2025-40088

linux Updated 04 Jun 2026

Summary

30/10/2025
N/A
No i
Unrated
Not published

DEBIAN-CVE-2025-40088: In the Linux kernel, the following vulnerability has been resolved: hfsplus: fix slab-out-of-bounds read in hfsplus_strcasecmp() The hfsplus_strcasecmp() logic can trigger the issue: [ 117.317703][ T9855] ===============... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 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 the Linux operating system, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel supports various file systems, including HFS+, which is used for Apple's file systems. This vulnerability affects the HFS+ file system implementation within the Linux kernel, specifically in the hfsplus_strcasecmp function, which is responsible for string comparison operations.

Vulnerability Detail

CVE-2025-40088 is a vulnerability in the Linux kernel's HFS+ file system that allows for a slab-out-of-bounds read. This issue arises from improper handling of string comparisons in the hfsplus_strcasecmp function, which can lead to reading memory beyond allocated boundaries. The potential ramifications include system crashes, data corruption, or unauthorized access to sensitive information. The vulnerability was identified through kernel address sanitization (KASAN) reports, which indicated that a read operation attempted to access memory outside the allocated slab.

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 temporary workaround, users can avoid using the HFS+ file system until the kernel is updated. This may involve remounting file systems or using alternative file systems that do not exhibit this vulnerability.

Conclusion

CVE-2025-40088 is a critical vulnerability in the Linux kernel's HFS+ file system that can lead to serious security issues. Users are strongly advised to update their systems to the latest kernel version to mitigate the risks associated with this vulnerability. Temporary workarounds are available, but the best course of action is to apply the patch as soon as possible.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2025-40088 is a vulnerability in the Linux kernel's HFS+ file system that allows for slab-out-of-bounds reads, potentially leading to system crashes or data exposure.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include potential system crashes, data corruption, and unauthorized access to sensitive information due to improper memory handling.

Yes, a patch is available for the Linux kernel in Debian versions 11, 12, 13, and 14. Users should update their kernel to the latest version.

If immediate updates are not possible, consider using alternative file systems or remounting to avoid using HFS+ until the kernel can be updated.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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