{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "34310c442e175f286b4c06ab5caa4e0b267ea31c"
            },
            {
              "fixed": "2797eb38773a96914ccedeec71eb2144645400b2"
            },
            {
              "fixed": "ada1fc725a4db407294ae90a0d40ef1c46f457f2"
            },
            {
              "fixed": "b6e8add5d79d1f6f819a054c833bab452bd7365d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.57"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98961.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: unlock inode and extent in caller when io_uring read extent fails\n\nbtrfs_uring_read_extent() runs only after btrfs_encoded_read() has taken\nthe inode shared lock and the extent lock.  On failure it used to unlock\nin out_fail, and a pages-array allocation failure returned -ENOMEM\nwithout unlocking at all.\n\nUnlock in the caller instead on all failure returns, matching the\ncopy_to_user() error path.  The deferred -EIOCBQUEUED path still unlocks\nin btrfs_uring_read_finished().",
  "id": "CVE-2026-98961",
  "modified": "2026-10-28T02:30:47.468304655Z",
  "published": "2026-10-23T12:19:29.616Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2797eb38773a96914ccedeec71eb2144645400b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ada1fc725a4db407294ae90a0d40ef1c46f457f2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b6e8add5d79d1f6f819a054c833bab452bd7365d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98961.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98961"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "btrfs: unlock inode and extent in caller when io_uring read extent fails"
}