Linux Kernel Ceph File System Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's Ceph file system component. The issue arises in the 'ceph_mds_auth_match()' function, where temporary allocations for target path substrings were not properly freed in all execution branches. This oversight led to a memory leak that could cause the system to crash, particularly under heavy file access. The vulnerability was observed in production environments, where it caused continuous memory consumption, eventually triggering a kernel out-of-memory condition that locked up the system.

Impact

Exploitation of this vulnerability leads to a memory leak that can cause the system to run out of memory, hard-locking the kernel.

Reproduction

The vulnerability can be reproduced by mounting a subdirectory of a Ceph file system and accessing files within that subdirectory using an authentication token with path-scoped capabilities. This process involves retrieving the authentication token, mounting the Ceph file system, and then performing a high-volume file access operation that triggers the memory leak.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
0.0
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.