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 -> 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(&oi->ip_alloc_sem)
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
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) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/2b884d52273c60c298bd570163e8053657bbaff6
- https://git.kernel.org/stable/c/4b80b5a838a32437f2cae0662578bac216a2c51a
- https://git.kernel.org/stable/c/b02da26a992db0c0e2559acbda0fc48d4a2fd337
- https://git.kernel.org/stable/c/bc0fb5c7d54c78be43a536df0e20dee32adb27d3
- https://git.kernel.org/stable/c/e049f7a9bd80b7319590789ea5e1c523d6339d91
- https://git.kernel.org/stable/c/f9fb1a7b635849322e1d7b7b6b26389778ec8e82



