{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0502d1127436a69b8c2e7cf309ae0ebff3332668"
            },
            {
              "fixed": "401d098f92ea69d8a75f8b845daf343e511681ba"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "b4c50cbb01a1b6901d2b94469636dd80fa93de81"
            },
            {
              "fixed": "ba8386d662cc51cc5382688bbf7a152b0b0b27cf"
            },
            {
              "fixed": "2dcf838cf5c2f0f4501edaa1680fcad03618d760"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38243.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix invalid inode pointer dereferences during log replay\n\nIn a few places where we call read_one_inode(), if we get a NULL pointer\nwe end up jumping into an error path, or fallthrough in case of\n__add_inode_ref(), where we then do something like this:\n\n   iput(\u0026inode-\u003evfs_inode);\n\nwhich results in an invalid inode pointer that triggers an invalid memory\naccess, resulting in a crash.\n\nFix this by making sure we don't do such dereferences.",
  "id": "CVE-2025-38243",
  "modified": "2026-04-01T23:09:20.973603672Z",
  "published": "2025-07-09T10:42:26.014Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2dcf838cf5c2f0f4501edaa1680fcad03618d760"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/401d098f92ea69d8a75f8b845daf343e511681ba"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ba8386d662cc51cc5382688bbf7a152b0b0b27cf"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38243.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-38243"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "btrfs: fix invalid inode pointer dereferences during log replay"
}