{"id":"CVE-2026-138891","aliases":["CVE-2026-138891"],"related":[],"kind":"vulnerability","state":"published","title":"ocfs2: exit recovery thread on mount error path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: exit recovery thread on mount error path\n\nWhen a mount fails after the cluster connection has been established, e.g.\nin ocfs2_mount_volume(), ocfs2_fill_super() unwinds via\nout_debugfs/out_super and frees the osb without disabling recovery.\n\nA node failure event can concurrently launch the recovery thread, which\nblocks in __ocfs2_wait_on_mount() waiting for the volume state to become\nVOLUME_MOUNTED or VOLUME_DISABLED.  As the mount error path neither sets\nVOLUME_DISABLED nor wakes osb_mount_event, the thread can never make\nprogress: the kthread leaks and stays blocked on the wait queue embedded\nin the freed osb, which may then be accessed as freed memory.\n\nFix it by setting VOLUME_DISABLED and waking osb_mount_event on this path\nso the thread bails out, and replace the plain kfree(osb->recovery_map)\nwith ocfs2_recovery_exit(), which waits for a running recovery thread to\nexit before the recovery map is freed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: exit recovery thread on mount error path\n\nWhen a mount fails after the cluster connection has been established, e.g.\nin ocfs2_mount_volume(), ocfs2_fill_super() unwinds via\nout_debugfs/out_super and frees the osb without disabling recovery.\n\nA node failure event can concurrently launch the recovery thread, which\nblocks in __ocfs2_wait_on_mount() waiting for the volume state to become\nVOLUME_MOUNTED or VOLUME_DISABLED.  As the mount error path neither sets\nVOLUME_DISABLED nor wakes osb_mount_event, the thread can never make\nprogress: the kthread leaks and stays blocked on the wait queue embedded\nin the freed osb, which may then be accessed as freed memory.\n\nFix it by setting VOLUME_DISABLED and waking osb_mount_event on this path\nso the thread bails out, and replace the plain kfree(osb->recovery_map)\nwith ocfs2_recovery_exit(), which waits for a running recovery thread to\nexit before the recovery map is freed.","source":"cvelist"}],"published":"2026-11-30T13:25:57.043Z","modified":"2026-12-01T06:17:30.443Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"45dabd8fe8a825e325eda57c2243af8c6549babd","fixed":"0d34cbc2fa9b38f569b4dd4ba843153128a52cc8","status":"affected"},{"type":"git","introduced":"b613d8dcdff322a28783aea971b005e025553b5a","fixed":"ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea","status":"affected"},{"type":"git","introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d","fixed":"cee1ff11dee837a10545ec318a049b7b3f63bfeb","status":"affected"},{"type":"git","introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d","fixed":"302d6df5348ddc144c6316add71cbb00faecd8f4","status":"affected"},{"type":"git","introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d","fixed":"70d85322ef7ea9151edac53b8d1c9b8d55ebaef4","status":"affected"},{"type":"git","introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d","fixed":"4db84320615453cf205febbc59a715ace31f9782","status":"affected"},{"type":"git","introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d","fixed":"0cd83f04e3404be310a3b90b4a992de24c5df7f4","status":"affected"},{"type":"git","introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d","fixed":"6163a859649e9432e9c79c541f36dbf3bba9172f","status":"affected"},{"type":"git","version":"a4d3062f0ac7f458142e87451bc03a0f7b128483","status":"affected"},{"type":"semver","introduced":"5.10.163","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"5.15.107","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"5.4.229","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0d34cbc2fa9b38f569b4dd4ba843153128a52cc8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cee1ff11dee837a10545ec318a049b7b3f63bfeb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/302d6df5348ddc144c6316add71cbb00faecd8f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70d85322ef7ea9151edac53b8d1c9b8d55ebaef4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4db84320615453cf205febbc59a715ace31f9782","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0cd83f04e3404be310a3b90b4a992de24c5df7f4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6163a859649e9432e9c79c541f36dbf3bba9172f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138891","url":"https://www.cve.org/CVERecord?id=CVE-2026-138891","licence":"CVE Terms of Use","modified":"2026-12-01T05:40:33.234Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138891","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138891","licence":"Public domain","modified":"2026-12-01T06:17:30.443Z"}],"updatedAt":"2026-12-01T06:32:17.037Z","epss":{"score":0.00176,"percentile":0.07393,"date":"2026-12-01T12:00:22.000Z"}}