{"id":"CVE-2026-138891","summary":"ocfs2: exit recovery thread on mount error path","details":"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-\u003erecovery_map)\nwith ocfs2_recovery_exit(), which waits for a running recovery thread to\nexit before the recovery map is freed.","modified":"2026-11-30T15:01:22.295954859Z","published":"2026-11-30T13:25:57.043Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138891.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0cd83f04e3404be310a3b90b4a992de24c5df7f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d34cbc2fa9b38f569b4dd4ba843153128a52cc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/302d6df5348ddc144c6316add71cbb00faecd8f4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4db84320615453cf205febbc59a715ace31f9782"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6163a859649e9432e9c79c541f36dbf3bba9172f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70d85322ef7ea9151edac53b8d1c9b8d55ebaef4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cee1ff11dee837a10545ec318a049b7b3f63bfeb"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138891.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138891"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"45dabd8fe8a825e325eda57c2243af8c6549babd"},{"fixed":"0d34cbc2fa9b38f569b4dd4ba843153128a52cc8"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b613d8dcdff322a28783aea971b005e025553b5a"},{"fixed":"ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f1e75d128b46e3b066e7b2e7cfca10491109d44d"},{"fixed":"cee1ff11dee837a10545ec318a049b7b3f63bfeb"},{"fixed":"302d6df5348ddc144c6316add71cbb00faecd8f4"},{"fixed":"70d85322ef7ea9151edac53b8d1c9b8d55ebaef4"},{"fixed":"4db84320615453cf205febbc59a715ace31f9782"},{"fixed":"0cd83f04e3404be310a3b90b4a992de24c5df7f4"},{"fixed":"6163a859649e9432e9c79c541f36dbf3bba9172f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a4d3062f0ac7f458142e87451bc03a0f7b128483"}]}],"versions":["v5.10.274","v5.10.273","v5.10.272","v5.10.271","v5.10.270","v5.10.269","v5.10.268","v5.10.267","v5.10.266","v5.10.265","v5.10.264","v5.10.263","v5.10.262","v5.10.261","v5.10.260","v5.10.259","v5.10.258","v5.10.257","v5.10.256","v5.10.255","v5.10.254","v5.10.253","v5.10.252","v5.10.251","v5.10.250","v5.10.249","v5.10.248","v5.10.247","v5.10.246","v5.10.245","v5.10.244","v5.10.243","v5.10.242","v5.10.241","v5.10.240","v5.10.239","v5.10.238","v5.10.237","v5.10.236","v5.10.235","v5.10.234","v5.10.233","v5.10.232","v5.10.231","v5.10.230","v5.10.229","v5.10.228","v5.10.227","v5.10.226","v5.10.225","v5.10.224","v5.10.223","v5.10.222","v5.10.221","v5.10.220","v5.10.219","v5.10.218","v5.10.217","v5.10.216","v5.10.215","v5.10.214","v5.10.213","v5.10.212","v5.10.211","v5.10.210","v5.10.209","v5.10.208","v5.10.207","v5.10.206","v5.10.205","v5.10.204","v5.10.203","v5.10.202","v5.10.201","v5.10.200","v5.10.199","v5.10.198","v5.10.197","v5.10.196","v5.10.195","v5.10.194","v5.10.193","v5.10.192","v5.10.191","v5.10.190","v5.10.189","v5.10.188","v5.10.187","v5.10.186","v5.10.185","v5.10.184","v5.10.183","v5.10.182","v5.10.181","v5.10.180","v5.10.179","v5.10.178","v5.10.177","v5.10.176","v5.10.175","v5.10.174","v5.10.173","v5.10.172","v5.10.171","v5.10.170","v5.10.169","v5.10.168","v5.10.167","v5.10.166","v5.10.165","v5.10.164","v5.10.163","v5.15.225","v5.15.224","v5.15.223","v5.15.222","v5.15.221","v5.15.220","v5.15.219","v5.15.218","v5.15.217","v5.15.216","v5.15.215","v5.15.214","v5.15.213","v5.15.212","v5.15.211","v5.15.210","v5.15.209","v5.15.208","v5.15.207","v5.15.206","v5.15.205","v5.15.204","v5.15.203","v5.15.202","v5.15.201","v5.15.200","v5.15.199","v5.15.198","v5.15.197","v5.15.196","v5.15.195","v5.15.194","v5.15.193","v5.15.192","v5.15.191","v5.15.190","v5.15.189","v5.15.188","v5.15.187","v5.15.186","v5.15.185","v5.15.184","v5.15.183","v5.15.182","v5.15.181","v5.15.180","v5.15.179","v5.15.178","v5.15.177","v5.15.176","v5.15.175","v5.15.174","v5.15.173","v5.15.172","v5.15.171","v5.15.170","v5.15.169","v5.15.168","v5.15.167","v5.15.166","v5.15.165","v5.15.164","v5.15.163","v5.15.162","v5.15.161","v5.15.160","v5.15.159","v5.15.158","v5.15.157","v5.15.156","v5.15.155","v5.15.154","v5.15.153","v5.15.152","v5.15.151","v5.15.150","v5.15.149","v5.15.148","v5.15.147","v5.15.146","v5.15.145","v5.15.144","v5.15.143","v5.15.142","v5.15.141","v5.15.140","v5.15.139","v5.15.138","v5.15.137","v5.15.136","v5.15.135","v5.15.134","v5.15.133","v5.15.132","v5.15.131","v5.15.130","v5.15.129","v5.15.128","v5.15.127","v5.15.126","v5.15.125","v5.15.124","v5.15.123","v5.15.122","v5.15.121","v5.15.120","v5.15.119","v5.15.118","v5.15.117","v5.15.116","v5.15.115","v5.15.114","v5.15.113","v5.15.112","v5.15.111","v5.15.110","v5.15.109","v5.15.108","v5.15.107","v5.4.302","v5.4.301","v5.4.300","v5.4.299","v5.4.298","v5.4.297","v5.4.296","v5.4.295","v5.4.294","v5.4.293","v5.4.292","v5.4.291","v5.4.290","v5.4.289","v5.4.288","v5.4.287","v5.4.286","v5.4.285","v5.4.284","v5.4.283","v5.4.282","v5.4.281","v5.4.280","v5.4.279","v5.4.278","v5.4.277","v5.4.276","v5.4.275","v5.4.274","v5.4.273","v5.4.272","v5.4.271","v5.4.270","v5.4.269","v5.4.268","v5.4.267","v5.4.266","v5.4.265","v5.4.264","v5.4.263","v5.4.262","v5.4.261","v5.4.260","v5.4.259","v5.4.258","v5.4.257","v5.4.256","v5.4.255","v5.4.254","v5.4.253","v5.4.252","v5.4.251","v5.4.250","v5.4.249","v5.4.248","v5.4.247","v5.4.246","v5.4.245","v5.4.244","v5.4.243","v5.4.242","v5.4.241","v5.4.240","v5.4.239","v5.4.238","v5.4.237","v5.4.236","v5.4.235","v5.4.234","v5.4.233","v5.4.232","v5.4.231","v5.4.230","v5.4.229"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138891.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.229"},{"fixed":"5.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.10.163"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.15.107"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138891.json"}}],"schema_version":"1.9.2"}