{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-41078",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-41078",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-07-29T15:04:15.812Z",
    "updatedAt": "2026-05-11T20:25:45.954Z",
    "importedAt": "2026-10-24T01:57:16.009Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "btrfs: qgroup: fix quota root leak after quota disable failure",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: qgroup: fix quota root leak after quota disable failure\n\nIf during the quota disable we fail when cleaning the quota tree or when\ndeleting the root from the root tree, we jump to the 'out' label without\never dropping the reference on the quota root, resulting in a leak of the\nroot since fs_info->quota_root is no longer pointing to the root (we have\nset it to NULL just before those steps).\n\nFix this by always doing a btrfs_put_root() call under the 'out' label.\nThis is a problem that exists since qgroups were first added in 2012 by\ncommit bed92eae26cc (\"Btrfs: qgroup implementation and prototypes\"), but\nback then we missed a kfree on the quota root and free_extent_buffer()\ncalls on its root and commit root nodes, since back then roots were not\nyet reference counted.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "bed92eae26ccf280d1a2168b7509447b56675a27",
              "status": "affected",
              "versionType": "git",
              "lessThan": "94818bdb00ef34a996a06aa63d11f591074cb757"
            },
            {
              "version": "bed92eae26ccf280d1a2168b7509447b56675a27",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8a69529f22590b67bb018de9acbcf94abc8603cf"
            },
            {
              "version": "bed92eae26ccf280d1a2168b7509447b56675a27",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5ef3961682e5310f2221bae99bcf9f5d0f4b0d51"
            },
            {
              "version": "bed92eae26ccf280d1a2168b7509447b56675a27",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f88aeff5a173e8ba3133314eb4b964236ef3589d"
            },
            {
              "version": "bed92eae26ccf280d1a2168b7509447b56675a27",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7dd6a5b96157a21245566b21fd58276a214357ff"
            },
            {
              "version": "bed92eae26ccf280d1a2168b7509447b56675a27",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a7e4c6a3031c74078dba7fa36239d0f4fe476c53"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.6",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.6"
            },
            {
              "version": "5.10.223",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.164",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.101",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.42",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.9.11",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}