CVE-2026-31598

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
24/04/2026
Last modified:
29/04/2026

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ocfs2: fix possible deadlock between unlink and dio_end_io_write<br /> <br /> ocfs2_unlink takes orphan dir inode_lock first and then ip_alloc_sem,<br /> while in ocfs2_dio_end_io_write, it acquires these locks in reverse order.<br /> This creates an ABBA lock ordering violation on lock classes<br /> ocfs2_sysfile_lock_key[ORPHAN_DIR_SYSTEM_INODE] and<br /> ocfs2_file_ip_alloc_sem_key.<br /> <br /> Lock Chain #0 (orphan dir inode_lock -&gt; ip_alloc_sem):<br /> ocfs2_unlink<br /> ocfs2_prepare_orphan_dir<br /> ocfs2_lookup_lock_orphan_dir<br /> inode_lock(orphan_dir_inode) ip_alloc_sem) orphan dir inode_lock):<br /> ocfs2_dio_end_io_write<br /> down_write(&amp;oi-&gt;ip_alloc_sem)

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.6 (including) 6.6.136 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.83 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.18.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.19 (including) 6.19.14 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 7.0 (including) 7.0.1 (excluding)