Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2026-31598

7.5 · HIGH
Published Apr 24, 2026 linux CWE-667

Overview

CVE-2026-31598 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 4.6, < 6.6.136 Affected

Frequently Asked Questions

What is CVE-2026-31598?

CVE-2026-31598 is a high-severity vulnerability affecting linux linux_kernel. 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 and patches from linux. Update linux_kernel to the latest patched version. 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's AI-powered security agents can automatically detect CVE-2026-31598 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.