{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "45dabd8fe8a825e325eda57c2243af8c6549babd"
            },
            {
              "fixed": "0d34cbc2fa9b38f569b4dd4ba843153128a52cc8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "b613d8dcdff322a28783aea971b005e025553b5a"
            },
            {
              "fixed": "ac1aa784ef3e40fa3a5b8afbe41656dcb87e57ea"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "f1e75d128b46e3b066e7b2e7cfca10491109d44d"
            },
            {
              "fixed": "cee1ff11dee837a10545ec318a049b7b3f63bfeb"
            },
            {
              "fixed": "302d6df5348ddc144c6316add71cbb00faecd8f4"
            },
            {
              "fixed": "70d85322ef7ea9151edac53b8d1c9b8d55ebaef4"
            },
            {
              "fixed": "4db84320615453cf205febbc59a715ace31f9782"
            },
            {
              "fixed": "0cd83f04e3404be310a3b90b4a992de24c5df7f4"
            },
            {
              "fixed": "6163a859649e9432e9c79c541f36dbf3bba9172f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a4d3062f0ac7f458142e87451bc03a0f7b128483"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138891.json"
  },
  "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.",
  "id": "CVE-2026-138891",
  "modified": "2026-11-30T14:45:51.044779566Z",
  "published": "2026-11-30T13:25:57.043Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ocfs2: exit recovery thread on mount error path"
}