{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5076a6040ca1613e616d84aecfaac5f932db84e0"
            },
            {
              "fixed": "ccf6738adcafa5ddbddc4e71b45d8a51b86643c7"
            },
            {
              "fixed": "3aa0c1d23ee1b9d9b340fb2f4736536e1408d706"
            },
            {
              "fixed": "d852729c5f4f830fbe7413df032e29459b3daf83"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.9.0"
            },
            {
              "fixed": "6.18.45"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74728.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: handle NULL b_addr in xfs_buf_free\n\nWhen xfs_buf_alloc_backing_mem() fails, xfs_buf_free() is called with\nbp-\u003eb_addr still NULL.  The code falls through to the folio_put path\nwhich calls virt_to_folio(NULL), dereferencing an invalid address and\ncausing a kernel crash.\n\n Call Trace:\n  xfs_buf_free+0x25f/0x510\n  xfs_buf_alloc+0xc98/0x19b0\n  xfs_buf_find_insert+0x55/0x14d0\n  xfs_buf_get_map+0x122b/0x17c0\n  xfbtree_init_leaf_block+0x11c/0x4a0\n  xfbtree_init+0x1bb/0x460\n  xrep_rmap_setup_scan+0x100/0x1f0\n  xrep_rmapbt+0x41/0xc0\n\nFix this by skipping folio_put() when bp-\u003eb_addr is NULL.",
  "id": "CVE-2026-74728",
  "modified": "2026-08-24T11:35:50.854951726Z",
  "published": "2026-08-22T15:33:18.412Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3aa0c1d23ee1b9d9b340fb2f4736536e1408d706"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ccf6738adcafa5ddbddc4e71b45d8a51b86643c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d852729c5f4f830fbe7413df032e29459b3daf83"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74728.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74728"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "xfs: handle NULL b_addr in xfs_buf_free"
}