Menu

Star on GitHub · 3.2k

CVE-2026-31598

7.5 · HIGH

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix possible deadlock between unlink and dio_end_io_write ocfs2_unlink takes orphan dir inode_lock first and then ip_all…

Published Apr 24, 2026CWE-667EPSS 0.43%

Overview

CVE-2026-31598 is a high-severity vulnerability. It was published on April 24, 2026 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: fix possible deadlock between unlink and dio_end_io_write

ocfs2_unlink takes orphan dir inode_lock first and then ip_alloc_sem,

while in ocfs2_dio_end_io_write, it acquires these locks in reverse order.

This creates an ABBA lock ordering violation on lock classes

ocfs2_sysfile_lock_key[ORPHAN_DIR_SYSTEM_INODE] and

ocfs2_file_ip_alloc_sem_key.

Lock Chain #0 (orphan dir inode_lock -> ip_alloc_sem):

ocfs2_unlink

ocfs2_prepare_orphan_dir

ocfs2_lookup_lock_orphan_dir

inode_lock(orphan_dir_inode) <- lock A

__ocfs2_prepare_orphan_dir

ocfs2_prepare_dir_for_insert

ocfs2_extend_dir

ocfs2_expand_inline_dir

down_write(&oi->ip_alloc_sem) <- Lock B

Lock Chain #1 (ip_alloc_sem -> orphan dir inode_lock):

ocfs2_dio_end_io_write

down_write(&oi->ip_alloc_sem) <- Lock B

ocfs2_del_inode_from_orphan()

inode_lock(orphan_dir_inode) <- Lock A

Deadlock Scenario:

CPU0 (unlink)

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2026-31598?

CVE-2026-31598 is a high-severity vulnerability. It was published on April 24, 2026 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2026-31598?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2026-31598?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2026-31598?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2026-31598 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2026

View all