Kernel Vulnerability in Linux Package: Ceph Encryption Handling Issue

linux Updated 02 Oct 2025

Summary

04/07/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38223: In the Linux kernel, the following vulnerability has been resolved: ceph: avoid kernel BUG for encrypted inode with unaligned file size The generic/397 test hits a BUG_ON for the case of encrypted inode with unaligned fi... Affects linux versions < 6.12.35-1. Fixed in 6.12.35-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 a core component of the operating system, responsible for managing hardware resources and providing essential services to applications. It supports various file systems, networking, and security features. This specific vulnerability affects the Ceph file system, which is designed for distributed storage and is widely used in cloud computing environments. The vulnerability arises from improper handling of encrypted inodes with unaligned file sizes, potentially leading to kernel crashes.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the Ceph file system that can trigger a kernel BUG when handling encrypted inodes with unaligned file sizes (e.g., 33K or 1K). This issue can lead to system instability, crashes, and potential data loss. The vulnerability is rooted in the way the kernel processes messages related to Ceph, where certain conditions can cause an invalid opcode error, resulting in a kernel panic. The specific code path that leads to this issue is found in the net/ceph/messenger.c file.

How To Fix

Minimum fixed version

6.12.35-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 encrypted inodes with unaligned file sizes until the patch is applied. This may involve reconfiguring applications that utilize the Ceph file system to ensure proper file size alignment.

Conclusion

The identified vulnerability in the Linux kernel related to the Ceph file system poses significant risks, including system crashes and potential data loss. It is crucial for users to update to the patched version to mitigate these risks. Implementing workarounds can provide temporary relief, but the best course of action is to apply the necessary updates promptly.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability can lead to kernel crashes and system instability, affecting the reliability of applications relying on the Ceph file system.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any installation.

Yes, due to potential kernel crashes, there is a risk of data loss if the vulnerability is exploited.

If an immediate update is not possible, consider implementing the suggested workaround by avoiding the use of unaligned file sizes with encrypted inodes.

Detailed information can be found in the official Debian CVE database or by consulting the Linux kernel documentation.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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