CVE-2026-31598: Linux kernel · ocfs2: fix possible deadlock between unlink and dio_end_io_write
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in f9fb1a7b635849322e1d7b7b6b26389778ec8e82 : patch Linux kernel soon.
Data as of 26 Oct 2026, 14:18 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers can reliably automate steps 1–4 of the kill chain
- Technical impact
- Limited control over the software or limited information exposure
CISA SSVC assessment, 2026-10-16.
- Patch
- Available – fixed in f9fb1a7b635849322e1d7b7b6b26389778ec8e82, e049f7a9bd80b7319590789ea5e1c523d6339d91, bc0fb5c7d54c78be43a536df0e20dee32adb27d3 +6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
AI-suggested
A fix is available and has been applied in multiple Linux kernel commits. Users and administrators should update affected Linux kernel versions to incorporate these fixes. Since this is a kernel-level deadlock fix, applying the official patches or upgrading to a fixed kernel version is the recommended mitigation.
Description
CVE-2026-31598 is a high-severity vulnerability in the Linux kernel's ocfs2 filesystem that could cause a deadlock due to inconsistent lock ordering between unlink and dio_end_io_write operations. The issue arises because ocfs2_unlink acquires locks in one order, while ocfs2_dio_end_io_write acquires them in the reverse order, creating an ABBA lock ordering violation. This deadlock can impact system availability. The vulnerability has been fixed by moving ocfs2_del_inode_from_orphan out of the ip_alloc_sem lock to prevent the deadlock.
References
- git.kernel.org/stable/c/297d8d7bb6a2bf133d3a3636edbdf94101cbd719 (opens in a new tab)
- git.kernel.org/stable/c/32630dee18c6bb2175c8a865a474749492eaf19c (opens in a new tab)
- git.kernel.org/stable/c/93f35419eb84d58820040642cb6e7528fe4aba7a (opens in a new tab)
- git.kernel.org/stable/c/4b80b5a838a32437f2cae0662578bac216a2c51a (opens in a new tab)
- git.kernel.org/stable/c/2b884d52273c60c298bd570163e8053657bbaff6 (opens in a new tab)
- git.kernel.org/stable/c/bc0fb5c7d54c78be43a536df0e20dee32adb27d3 (opens in a new tab)
- git.kernel.org/stable/c/f9fb1a7b635849322e1d7b7b6b26389778ec8e82 (opens in a new tab)
- git.kernel.org/stable/c/e049f7a9bd80b7319590789ea5e1c523d6339d91 (opens in a new tab)
- git.kernel.org/stable/c/b02da26a992db0c0e2559acbda0fc48d4a2fd337 (opens in a new tab)