{
  "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-50286",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50286",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-15T14:21:22.489Z",
    "updatedAt": "2026-08-05T08:58:03.464Z",
    "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": "ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline\n\nWhen converting files with inline data to extents, delayed allocations\nmade on a file system created with both the bigalloc and inline options\ncan result in invalid extent status cache content, incorrect reserved\ncluster counts, kernel memory leaks, and potential kernel panics.\n\nWith bigalloc, the code that determines whether a block must be\ndelayed allocated searches the extent tree to see if that block maps\nto a previously allocated cluster.  If not, the block is delayed\nallocated, and otherwise, it isn't.  However, if the inline option is\nalso used, and if the file containing the block is marked as able to\nstore data inline, there isn't a valid extent tree associated with\nthe file.  The current code in ext4_clu_mapped() calls\next4_find_extent() to search the non-existent tree for a previously\nallocated cluster anyway, which typically finds nothing, as desired.\nHowever, a side effect of the search can be to cache invalid content\nfrom the non-existent tree (garbage) in the extent status tree,\nincluding bogus entries in the pending reservation tree.\n\nTo fix this, avoid searching the extent tree when allocating blocks\nfor bigalloc + inline files that are being converted from inline to\nextent mapped.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "d40e09f701cf7a44e595a558b067b2b4f67fbf87",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f83391339d8493b9ff24167516aaa5a5e88d8f81"
            },
            {
              "version": "0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6f4200ec76a0d31200c308ec5a71c68df5417004"
            },
            {
              "version": "0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9404839e0c9db5a517ea83c0ca3388b39d105fdf"
            },
            {
              "version": "0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d440d6427a5e3a877c1c259b8d2b216ddb65e185"
            },
            {
              "version": "0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c0c8edbc8abbe8f16d80a1d794d1ba2c12b6f193"
            },
            {
              "version": "0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "81b915181c630ee1cffa052e52874fe4e1ba91ac"
            },
            {
              "version": "0b02f4c0d6d9e2c611dfbdd4317193e9dca740e6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "131294c35ed6f777bd4e79d42af13b5c41bf2775"
            },
            {
              "version": "4.19.270",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.19.271"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.20",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.20"
            },
            {
              "version": "4.19.271",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.229",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.163",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.87",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.18",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.2",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}