{
  "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-50313",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50313",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-15T14:46:08.357Z",
    "updatedAt": "2026-05-11T19:16:53.874Z",
    "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": "erofs: fix order >= MAX_ORDER warning due to crafted negative i_size",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix order >= MAX_ORDER warning due to crafted negative i_size\n\nAs syzbot reported [1], the root cause is that i_size field is a\nsigned type, and negative i_size is also less than EROFS_BLKSIZ.\nAs a consequence, it's handled as fast symlink unexpectedly.\n\nLet's fall back to the generic path to deal with such unusual i_size.\n\n[1] https://lore.kernel.org/r/000000000000ac8efa05e7feaa1f@google.com",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "17a0cdbd7b0cf0fc0d7ca4187a67f8f1c18c291f"
            },
            {
              "version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0ab621fcdff1a58ff4de51a8590fa92a0ecd34be"
            },
            {
              "version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "acc2f40b980c61a9178b72cdedd150b829064997"
            },
            {
              "version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b6c8330f5b0f22149957a2e4977fd0f01a9db7cd"
            },
            {
              "version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6235fb899b25fd287d5e42635ff82196395708cc"
            },
            {
              "version": "431339ba90423a038914c6032bfd71f0ba7ef2f2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1dd73601a1cba37a0ed5f89a8662c90191df5873"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.19",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.19"
            },
            {
              "version": "5.4.289",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.233",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.82",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.19.17",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}