Linux kernelのocfs2で、マウント失敗時に脆弱性によりメモリ解放後の参照が起きる
Summary
Linux kernelのocfs2ファイルシステムで、マウントに失敗した際の後始末に問題があり、解放済みのメモリが参照される脆弱性です。ノード障害時に回復処理のスレッドが止まらず、解放されたメモリにアクセスされるおそれがあります。修正版は5.5、5.10.275、5.15.226、6.1.193、6.6.163、6.12.117、6.18.63、7.3.4以降で、利用中のカーネルのバージョンを確認し、修正版への更新を検討してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Linux kernelのocfs2ファイルシステムで、マウントに失敗した際の後始末に問題があり、解放済みのメモリが参照される脆弱性です。ノード障害時に回復処理のスレッドが止まらず、解放されたメモリにアクセスされるおそれがあります。修正版は5.5、5.10.275、5.15.226、6.1.193、6.6.163、6.12.117、6.18.63、7.3.4以降で、利用中のカーネルのバージョンを確認し、修正版への更新を検討してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LinuxLinux | — | Not listed |
| LinuxKernel |
≥ 5.4.229, < 5.5→ 5.5 ≥ 5.10.163, < 5.10.275→ 5.10.275 ≥ 5.15.107, < 5.15.226→ 5.15.226 ≥ 5.19.0, < 6.1.193→ 6.1.193 ≥ 6.2.0, < 6.6.163→ 6.6.163 ≥ 6.7.0, < 6.12.117→ 6.12.117 ≥ 6.13.0, < 6.18.63→ 6.18.63 ≥ 6.19.0, < 7.3.4→ 7.3.4 |
5.5 5.10.275 5.15.226 6.1.193 6.6.163 6.12.117 6.18.63 7.3.4 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- BellSoft Alpaquita BELL-CVE-2026-138891 linux-lts Fix available
- Debian DEBIAN-CVE-2026-138891 linux Fix available
- Ubuntu UBUNTU-CVE-2026-138891 linux-xilinx-zynqmp, linux-xilinx, linux-vmware +166 more No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- REDHAT Red Hat
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web github.com