CVE-2026-138891

7.0High

Published Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.0CVSS

High

0CVSS v3.110

Attack vector
Local
Complexity
High
Privileges
None
User action
Required
Impact
Full C/I/A compromise
Weakness
—

What an attacker gets

Local attackers can trigger a use-after-free by causing a mount failure in the OCFS2 filesystem. This requires a specific race condition during the mount error path to access freed memory.

Root cause

The OCFS2 filesystem fails to properly stop the recovery thread and signal mount failure during error paths, leading to a use-after-free when the OSB structure is freed.

Affected versions

Versions not listed — check the vendor advisory.

CVSS v3.1 · CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Fix & remediation

Update the Linux kernel to a version containing the fix for the OCFS2 recovery thread exit. Ensure OCFS2 filesystems are not mounted if you cannot patch immediately.

remediation — bash
$ uname -r

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-138891

More fully triaged vulnerabilities you may want to check next.