CVE-2026-138891
HIGH 7.0CVSS 3.1ocfs2: exit recovery thread on mount error path
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.
- Published
- 30 Nov 2026
- Last modified
- 1 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CVE List | Linux | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 45dabd8fe8a825e325eda57c2243af8c6549babd, < 0d34cbc2fa9b38f569b4dd4ba843153128a52cc8; >= b613d8dcdff322a28783aea971b005e025553b5a, < ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea; >= f1e75d128b46e3b066e7b2e7cfca10491109d44d, < cee1ff11dee837a10545ec318a049b7b3f63bfeb; >= f1e75d128b46e3b066e7b2e7cfca10491109d44d, < 302d6df5348ddc144c6316add71cbb00faecd8f4; >= f1e75d128b46e3b066e7b2e7cfca10491109d44d, < 70d85322ef7ea9151edac53b8d1c9b8d55ebaef4; >= f1e75d128b46e3b066e7b2e7cfca10491109d44d, < 4db84320615453cf205febbc59a715ace31f9782; >= f1e75d128b46e3b066e7b2e7cfca10491109d44d, < 0cd83f04e3404be310a3b90b4a992de24c5df7f4; >= f1e75d128b46e3b066e7b2e7cfca10491109d44d, < 6163a859649e9432e9c79c541f36dbf3bba9172f; = a4d3062f0ac7f458142e87451bc03a0f7b128483; >= 5.10.163, < 5.10.275; >= 5.15.107, < 5.15.226; >= 5.4.229, < 5.5 | 0d34cbc2fa9b38f569b4dd4ba843153128a52cc8, ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea, cee1ff11dee837a10545ec318a049b7b3f63bfeb, 302d6df5348ddc144c6316add71cbb00faecd8f4, 70d85322ef7ea9151edac53b8d1c9b8d55ebaef4, 4db84320615453cf205febbc59a715ace31f9782, 0cd83f04e3404be310a3b90b4a992de24c5df7f4, 6163a859649e9432e9c79c541f36dbf3bba9172f, 5.10.275, 5.15.226, 5.5 |
| CVE List | Linux | Linux | = 5.19 |
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
History
- 1 Dec 2026 06:48 UTC · NVD: scored 7.0
- 1 Dec 2026 05:50 UTC · CVE List: scored 7.0
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)