CVE-2026-138891
7.0HighPublished Nov 30, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
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.
$ uname -rAI-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
- https://git.kernel.org/stable/c/0cd83f04e3404be310a3b90b4a992de24c5df7f4
- https://git.kernel.org/stable/c/0d34cbc2fa9b38f569b4dd4ba843153128a52cc8
- https://git.kernel.org/stable/c/302d6df5348ddc144c6316add71cbb00faecd8f4
- https://git.kernel.org/stable/c/4db84320615453cf205febbc59a715ace31f9782
- https://git.kernel.org/stable/c/6163a859649e9432e9c79c541f36dbf3bba9172f
- https://git.kernel.org/stable/c/70d85322ef7ea9151edac53b8d1c9b8d55ebaef4
- https://git.kernel.org/stable/c/ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea
- https://git.kernel.org/stable/c/cee1ff11dee837a10545ec318a049b7b3f63bfeb
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-999907.8HighLocal attackers can trigger a use-after-free in the ALSA sound subsystem, potentially leading to privilege escalation or system crashes. This requires local access to the system and the ability to interact with the sound driver.
- CVE-2026-999967.8HighLocal attackers can trigger a use-after-free to cause a kernel panic or potentially execute code. This requires local access to a system using the NTFS filesystem driver.
- CVE-2026-999827.8HighLocal attackers can trigger a kernel crash or potentially escalate privileges by exploiting a race condition during GPU resets. This requires local access to the system and the ability to interact with the AMD GPU driver.
- CVE-2026-999837.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition in the GPU memory management. This requires local access to the system to interact with the AMD GPU driver.
- CVE-2026-999867.8HighLocal attackers can gain elevated privileges or cause system instability by exploiting a race condition. This requires local access to the system to trigger the doorbell allocation race in the AMD KFD driver.
- CVE-2026-999797.8HighLocal attackers can trigger a use-after-free in the IPv6 stack, potentially leading to kernel memory corruption or privilege escalation. This requires local access to the system to trigger the race condition during interface teardown.