{
  "id": "CVE-2026-63804",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63804",
  "published_at": "2026-07-19T12:02:09.111Z",
  "title": "gfs2: fix use-after-free in gfs2_qd_dealloc",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ngfs2: fix use-after-free in gfs2_qd_dealloc\n\ngfs2_qd_dealloc(), called as an RCU callback from gfs2_qd_dispose(),\naccesses the superblock object sdp through qd-\u003eqd_sbd after freeing qd.\nIt does so to decrement sd_quota_count and wake up sd_kill_wait.\n\nHowever, by the time the RCU callback runs, gfs2_put_super() may have\nalready freed sdp via free_sbd().  This can happen when\ngfs2_quota_cleanup() is called during unmount: it disposes of quota\nobjects via call_rcu() and then waits on sd_kill_wait with a 60-second\ntimeout.  If the timeout expires, or if gfs2_gl_hash_clear() triggers\nadditional qd_put() calls that schedule more RCU callbacks after the\nwait completes, gfs2_put_super() will proceed to free the superblock\nwhile RCU callbacks referencing it are still pending.\n\nAdd an rcu_barrier() before free_sbd() in gfs2_put_super() to ensure\nall pending RCU callbacks (including gfs2_qd_dealloc) have completed\nbefore the superblock is freed.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= a475c5dd16e57c570113eccba51955b5df8bb052, \u003c 4fe388218826df8607ae41a6305df67db08a9093",
          "\u003e= a475c5dd16e57c570113eccba51955b5df8bb052, \u003c 8745d9f7e1682c39f0a1578895ac74205e2a6757",
          "\u003e= a475c5dd16e57c570113eccba51955b5df8bb052, \u003c b85ef03f726b15047a6fa6d11b639bdf6c0ee4f0",
          "\u003e= a475c5dd16e57c570113eccba51955b5df8bb052, \u003c 9d0d5ba20cad661f7f287d4c66d2c19022ce2fd0",
          "\u003e= a475c5dd16e57c570113eccba51955b5df8bb052, \u003c f9c9ec2c319f843b70ecdf939d48b52d189bc081"
        ],
        "fixed_in": [
          "4fe388218826df8607ae41a6305df67db08a9093",
          "8745d9f7e1682c39f0a1578895ac74205e2a6757",
          "b85ef03f726b15047a6fa6d11b639bdf6c0ee4f0",
          "9d0d5ba20cad661f7f287d4c66d2c19022ce2fd0",
          "f9c9ec2c319f843b70ecdf939d48b52d189bc081"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.6"
        ],
        "fixed_in": [
          "0",
          "6.6.144",
          "6.12.95",
          "6.18.38",
          "7.1.3",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 4fe388218826df8607ae41a6305df67db08a9093 or 8745d9f7e1682c39f0a1578895ac74205e2a6757 or b85ef03f726b15047a6fa6d11b639bdf6c0ee4f0 or 9d0d5ba20cad661f7f287d4c66d2c19022ce2fd0 or f9c9ec2c319f843b70ecdf939d48b52d189bc081 or later.",
      "Upgrade Linux to 0 or 6.6.144 or 6.12.95 or 6.18.38 or 7.1.3 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
