Recovery thread leak in Linux kernel ocfs2 mount error path
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Linux kernel is affected from 5.4.229 before 5.5, from 5.10.163 before 5.10.275, from 5.15.107 before 5.15.226, and from 5.19. When an ocfs2 mount fails after the cluster connection is established, the recovery thread is not stopped, so it blocks on a wait queue in the freed superblock structure, leaking the thread and allowing access to freed memory. A local user with no privileges can reach this flaw, but it requires user interaction and high attack complexity.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: ocfs2: exit recovery thread on mount error path When a mount fails after the cluster connection has been established, e.g. in ocfs2_mount_volume(), ocfs2_fill_super() unwinds via out_debugfs/out_super and frees the osb without disabling recovery. A node failure event can concurrently launch the recovery thread, which blocks in __ocfs2_wait_on_mount() waiting for the volume state to become VOLUME_MOUNTED or VOLUME_DISABLED. As the mount error path neither sets VOLUME_DISABLED nor wakes osb_mount_event, the thread can never make progress: the kthread leaks and stays blocked on the wait queue embedded in the freed osb, which may then be accessed as freed memory. Fix it by setting VOLUME_DISABLED and waking osb_mount_event on this path so the thread bails out, and replace the plain kfree(osb->recovery_map) with ocfs2_recovery_exit(), which waits for a running recovery thread to exit before the recovery map is freed.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.163 to before 5.10.275; 5.15.107 to before 5.15.226; 5.4.229 to before 5.5 | 5.10.275, 5.15.226, 5.5 | Patch available | CNA |
| Linux | Linux | 5.19 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.163 to before 5.10.275; 5.15.107 to before 5.15.226; 5.4.229 to before 5.5 Fixed in 5.10.275, 5.15.226, 5.5 Patch available CNA
- Linux VendorLinux Affected 5.19 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Update the Linux kernel to 5.5, 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1, or a later release of the same branch.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 5.5
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-138891
- 2026-11-30 Alias added: GHSA-jrff-7r63-xmcf
- 2026-12-01 CVSS score added · CNA
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/0d34cbc2fa9b38f569b4dd4ba843153128a52cc8
- https://git.kernel.org/stable/c/ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea
- https://git.kernel.org/stable/c/cee1ff11dee837a10545ec318a049b7b3f63bfeb
- https://git.kernel.org/stable/c/302d6df5348ddc144c6316add71cbb00faecd8f4
- https://git.kernel.org/stable/c/70d85322ef7ea9151edac53b8d1c9b8d55ebaef4
- https://git.kernel.org/stable/c/4db84320615453cf205febbc59a715ace31f9782
- https://git.kernel.org/stable/c/0cd83f04e3404be310a3b90b4a992de24c5df7f4
- https://git.kernel.org/stable/c/6163a859649e9432e9c79c541f36dbf3bba9172f
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-138891 · CVE Program
- CVE-2026-138891 · NVD
- GHSA-jrff-7r63-xmcf · GitHub Advisory Database · CC BY 4.0
- CVE-2026-138891 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences