PT-2025-8224 · Linux+2 · Linux Kernel+2
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A deadlock can occur in the Ceph component of the Linux kernel when a system is mounted with
wsync. The issue arises during the creation of a file with O RDWR where the i inline version variable is incorrectly maintained as 1. When a buffer write is immediately performed, the system attempts to get capabilities and calls ceph netfs issue op inline(), which sends a getattr(Fsr) request to a metadata server (mds.1). A deadlock occurs because the metadata server (mds.0) attempts to revoke Fxwb capabilities from clients to transition the CInode::filelock state from exclusive to sync, while the kernel client already holds Fwb capabilities and is waiting for the getattr(Fsr) response. This involves the following functions: ceph atomic open(), ceph init file info(), ceph uninline data(), ceph write iter(), ceph write begin(), and ceph netfs issue read().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linux Kernel
Suse