CVE-2026-138890

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1388917.0In the Linux kernel, the following vulnerability has been resolved: ocfs2: exit recovery thread on mount error path When a mount fails aftCVE-2026-138892In the Linux kernel, the following vulnerability has been resolved: USB: gadgetfs: do not WARN about excessively large memory allocations CVE-2026-138893In the Linux kernel, the following vulnerability has been resolved: fault-inject: fix dentry leak fault_create_debugfs_attr() has always tCVE-2026-138894In the Linux kernel, the following vulnerability has been resolved: resource: fix lost wakeup when waiting for a muxed region A task waitiCVE-2026-138895In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: drop refcount before freeing on memcg charge failure WhenCVE-2026-138896In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: return -ENOSPC on memcg charge failure Patch series "Fix CVE-2026-138897In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: handle extreme memory state in damon_get_node_mem_bp() CVE-2026-138898In the Linux kernel, the following vulnerability has been resolved: mm/madvise: skip zone device folios in cold/pageout PMD range madvise_CVE-2026-138899In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: skip zone device folios in madvise_free_huge_pmd() PatCVE-2026-13894.3The Document Embedder – Embed PDFs, Word, Excel, and Other Files plugin for WordPress is vulnerable to Insecure Direct Object Reference in aCVE-2026-138905.3Out of bounds read in Chromecast in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderer process CVE-2026-138900In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: take a cpuset cookie for the interleave node count alloc
CVE-2026-138890: Unscored | Vulnix