{
  "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-50097",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50097",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-18T11:02:34.589Z",
    "updatedAt": "2026-08-05T08:57:23.864Z",
    "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": "video: fbdev: s3fb: Check the size of screen before memset_io()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: s3fb: Check the size of screen before memset_io()\n\nIn the function s3fb_set_par(), the value of 'screen_size' is\ncalculated by the user input. If the user provides the improper value,\nthe value of 'screen_size' may larger than 'info->screen_size', which\nmay cause the following bug:\n\n[   54.083733] BUG: unable to handle page fault for address: ffffc90003000000\n[   54.083742] #PF: supervisor write access in kernel mode\n[   54.083744] #PF: error_code(0x0002) - not-present page\n[   54.083760] RIP: 0010:memset_orig+0x33/0xb0\n[   54.083782] Call Trace:\n[   54.083788]  s3fb_set_par+0x1ec6/0x4040\n[   54.083806]  fb_set_var+0x604/0xeb0\n[   54.083836]  do_fb_ioctl+0x234/0x670\n\nFix the this by checking the value of 'screen_size' before memset_io().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "574912261528589012b61f82d368256247c3a5a8"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3c35a0dc2b4e7acf24c796043b64fa3eee799239"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eacb50f1733660911827d7c3720f4c5425d0cdda"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5e0da18956d38e7106664dc1d06367b22f06edd3"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ce50d94afcb8690813c5522f24cd38737657db81"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "52461d387cc8c8f8dc40320caa2e9e101f73e7ba"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e2d7cacc6a2a1d77e7e20a492daf458a12cf19e0"
            },
            {
              "version": "a268422de8bf1b4c0cb97987b6c329c9f6a3da4b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6ba592fa014f21f35a8ee8da4ca7b95a018f13e8"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.21",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.21"
            },
            {
              "version": "4.14.291",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.256",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.211",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.137",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.61",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.18.18",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.18.*"
            },
            {
              "version": "5.19.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}