CVE-2026-138890: Linux kernel · ocfs2: free replay slots in ocfs2_recovery_exit()
Source GCVE Database
Not known to be exploited · fixed in f621e88163ff80ef8bbf54949a08afa771f0edd4 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 17:16 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in f621e88163ff80ef8bbf54949a08afa771f0edd4, bd5ad94a4e0e80afc3d794c8a945ef7116656885, 153361baf48f9b9a15592cee490d4cad1519158c +10
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 30 Nov 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– |
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: free replay slots in ocfs2_recovery_exit() Commit ce2fcf1516d6 ("ocfs2: fix memory leak in ocfs2_mount_volume()") added ocfs2_free_replay_slots() calls to the mount error paths out_dismount and out_check_volume to fix a leak of osb->replay_map. However these calls are unlocked while the bail path of the recovery thread, which is woken up by out_dismount right before the call, also frees the replay slots under osb->recovery_lock. Both sides can thus observe a non-NULL osb->replay_map and trigger a double free. Fix this by moving ocfs2_free_replay_slots() into ocfs2_recovery_exit() after ocfs2_recovery_disable(), which waits for a running recovery thread to exit under osb->recovery_lock, and drop the unlocked call sites. Both ocfs2_dismount_volume() and the out_super path of ocfs2_fill_super() call ocfs2_recovery_exit(), so the replay slots are freed on every path. Since super.c no longer references it, make ocfs2_free_replay_slots() static again.
References
- nvd.nist.gov/vuln/detail/CVE-2026-138890 (opens in a new tab)
- git.kernel.org/stable/c/13c2a268eac34b044847cc3da9c1f85204a3deda (opens in a new tab)
- git.kernel.org/stable/c/153361baf48f9b9a15592cee490d4cad1519158c (opens in a new tab)
- git.kernel.org/stable/c/1ddadc6d41c1a29fd8fad1891bdcd2956e08b7f0 (opens in a new tab)
- git.kernel.org/stable/c/407e148354ac954f70a1b54077b4a6ea0f669dbe (opens in a new tab)
- git.kernel.org/stable/c/565b4f2f115e375ad94815284ed7904f030badef (opens in a new tab)
- git.kernel.org/stable/c/7edfee4c087cb1e10a52572ac2d402060661c174 (opens in a new tab)
- git.kernel.org/stable/c/bd5ad94a4e0e80afc3d794c8a945ef7116656885 (opens in a new tab)
- git.kernel.org/stable/c/f621e88163ff80ef8bbf54949a08afa771f0edd4 (opens in a new tab)