{
  "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-2022-49912",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-49912",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-05-01T14:10:54.231Z",
    "updatedAt": "2026-05-11T19:09:06.973Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "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: fix ulist leaks in error paths of qgroup self tests",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: fix ulist leaks in error paths of qgroup self tests\n\nIn the test_no_shared_qgroup() and test_multiple_refs() qgroup self tests,\nif we fail to add the tree ref, remove the extent item or remove the\nextent ref, we are returning from the test function without freeing the\n\"old_roots\" ulist that was allocated by the previous calls to\nbtrfs_find_all_roots(). Fix that by calling ulist_free() before returning.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d81370396025cf63a7a1b5f8bb25a3479203b2ca"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3f58283d83a588ff5da62fc150de19e798ed2ec2"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "203204798831c35d855ecc6417d98267d2d2184b"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5d1a47ebf84540e40b5b43fc21aef0d6c0f627d9"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0a0dead4ad1a2e2a9bdf133ef45111d7c8daef84"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f46ea5fa3320dca4fe0c0926b49a5f14cb85de62"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "da7003434bcab0ae9aba3f2c003e734cae093326"
            },
            {
              "version": "442244c9633292a147ab2b29e7007a7c8a3909b2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d37de92b38932d40e4a251e876cc388f9aee5f42"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.2",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.2"
            },
            {
              "version": "4.9.333",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.299",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.265",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.224",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.154",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.78",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}