PT-2025-39142
CVE-2025-39885
·
Published
2025-08-29
·
Updated
2026-11-06
Description by
CVSS 4.0
6.8
MediumMetricsAV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contained a flaw in the OCFS2 implementation where a recursive semaphore deadlock could occur during a fiemap call. Specifically, the issue was detected by syzbot during a file system operation involving a specially crafted mmap file. The vulnerability arises from taking a read lock on the
ip alloc sem semaphore within ocfs2 fiemap() and subsequently attempting to acquire a write lock on the same semaphore within ocfs2 page mkwrite(), leading to a deadlock and filesystem hang. The ocfs2 fiemap() function takes a read lock of the ip alloc sem semaphore and calls fiemap fill next extent() to read the extent list. The user-supplied buffer then page faults, calling ocfs2 page mkwrite(), which attempts to take a write lock on the same semaphore.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾