{
  "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-50218",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-50218",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-11-09T10:14:29.708Z",
    "updatedAt": "2026-05-11T20:47:42.525Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "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": "ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nocfs2: pass u64 to ocfs2_truncate_inline maybe overflow\n\nSyzbot reported a kernel BUG in ocfs2_truncate_inline.  There are two\nreasons for this: first, the parameter value passed is greater than\nocfs2_max_inline_data_with_xattr, second, the start and end parameters of\nocfs2_truncate_inline are \"unsigned int\".\n\nSo, we need to add a sanity check for byte_start and byte_len right before\nocfs2_truncate_inline() in ocfs2_remove_inode_range(), if they are greater\nthan ocfs2_max_inline_data_with_xattr return -EINVAL.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "27d95867bee806cdc448d122bd99f1d8b0544035"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "95fbed8ae8c32c0977e6be1721c190d8fea23f2f"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "70767689ec6ee5f05fb0a2c17d7ec1927946e486"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ecd62f684386fa64f9c0cea92eea361f4e6444c2"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2fe5d62e122b040ce7fc4d31aa7fa96ae328cefc"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "88f97a4b5843ce21c1286e082c02a5fb4d8eb473"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0b6b8c2055784261de3fb641c5d0d63964318e8f"
            },
            {
              "version": "1afc32b952335f665327a1a9001ba1b44bb76fd9",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bc0a2f3a73fcdac651fca64df39306d1e5ebe3b0"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.24",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.24"
            },
            {
              "version": "4.19.323",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.285",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.229",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.171",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.116",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.60",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.11.7",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.11.*"
            },
            {
              "version": "6.12",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}