CVE-2022-49162 (GCVE-0-2022-49162)

Vulnerability from cvelistv5 – Published: 2025-02-26 01:55 – Updated: 2025-12-23 13:22
VLAI?
Title
video: fbdev: sm712fb: Fix crash in smtcfb_write()
Summary
In the Linux kernel, the following vulnerability has been resolved: video: fbdev: sm712fb: Fix crash in smtcfb_write() When the sm712fb driver writes three bytes to the framebuffer, the driver will crash: BUG: unable to handle page fault for address: ffffc90001ffffff RIP: 0010:smtcfb_write+0x454/0x5b0 Call Trace: vfs_write+0x291/0xd60 ? do_sys_openat2+0x27d/0x350 ? __fget_light+0x54/0x340 ksys_write+0xce/0x190 do_syscall_64+0x43/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae Fix it by removing the open-coded endianness fixup-code.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < fb791514acf9070225eed46e1ccbb0aa7aae5da5 (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < 0ec746674296c94137f074309c26d17e644c0498 (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < 1aea36a62f0a0ad67eccc945bac0bd6422ef720f (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < 3b36c05f68ba32d0dfb63abc9016d6fe9117829f (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < b1c28577529cdfad40c8242673285f1e1e4c314e (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < eae90015d10f0c9a47fc4adccba4cd79dce664e4 (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < aeb635b49530b7d19e140949753409f759ba99be (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < 809b8cde86320698661eec677222bc5c5df76176 (git)
Affected: d7edf47947f9d921be6ca5fc8e83049124466f98 , < 4f01d09b2bbfbcb47b3eb305560a7f4857a32260 (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.33
Unaffected: 0 , < 2.6.33 (semver)
Unaffected: 4.9.311 , ≤ 4.9.* (semver)
Unaffected: 4.14.276 , ≤ 4.14.* (semver)
Unaffected: 4.19.238 , ≤ 4.19.* (semver)
Unaffected: 5.4.189 , ≤ 5.4.* (semver)
Unaffected: 5.10.110 , ≤ 5.10.* (semver)
Unaffected: 5.15.33 , ≤ 5.15.* (semver)
Unaffected: 5.16.19 , ≤ 5.16.* (semver)
Unaffected: 5.17.2 , ≤ 5.17.* (semver)
Unaffected: 5.18 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/video/fbdev/sm712fb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "fb791514acf9070225eed46e1ccbb0aa7aae5da5",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "0ec746674296c94137f074309c26d17e644c0498",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "1aea36a62f0a0ad67eccc945bac0bd6422ef720f",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "3b36c05f68ba32d0dfb63abc9016d6fe9117829f",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "b1c28577529cdfad40c8242673285f1e1e4c314e",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "eae90015d10f0c9a47fc4adccba4cd79dce664e4",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "aeb635b49530b7d19e140949753409f759ba99be",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "809b8cde86320698661eec677222bc5c5df76176",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            },
            {
              "lessThan": "4f01d09b2bbfbcb47b3eb305560a7f4857a32260",
              "status": "affected",
              "version": "d7edf47947f9d921be6ca5fc8e83049124466f98",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/video/fbdev/sm712fb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.33"
            },
            {
              "lessThan": "2.6.33",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.311",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.238",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.311",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.276",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.238",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.189",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.110",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.33",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.19",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: sm712fb: Fix crash in smtcfb_write()\n\nWhen the sm712fb driver writes three bytes to the framebuffer, the\ndriver will crash:\n\n    BUG: unable to handle page fault for address: ffffc90001ffffff\n    RIP: 0010:smtcfb_write+0x454/0x5b0\n    Call Trace:\n     vfs_write+0x291/0xd60\n     ? do_sys_openat2+0x27d/0x350\n     ? __fget_light+0x54/0x340\n     ksys_write+0xce/0x190\n     do_syscall_64+0x43/0x90\n     entry_SYSCALL_64_after_hwframe+0x44/0xae\n\nFix it by removing the open-coded endianness fixup-code."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:22:23.831Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/fb791514acf9070225eed46e1ccbb0aa7aae5da5"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ec746674296c94137f074309c26d17e644c0498"
        },
        {
          "url": "https://git.kernel.org/stable/c/1aea36a62f0a0ad67eccc945bac0bd6422ef720f"
        },
        {
          "url": "https://git.kernel.org/stable/c/3b36c05f68ba32d0dfb63abc9016d6fe9117829f"
        },
        {
          "url": "https://git.kernel.org/stable/c/b1c28577529cdfad40c8242673285f1e1e4c314e"
        },
        {
          "url": "https://git.kernel.org/stable/c/eae90015d10f0c9a47fc4adccba4cd79dce664e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/aeb635b49530b7d19e140949753409f759ba99be"
        },
        {
          "url": "https://git.kernel.org/stable/c/809b8cde86320698661eec677222bc5c5df76176"
        },
        {
          "url": "https://git.kernel.org/stable/c/4f01d09b2bbfbcb47b3eb305560a7f4857a32260"
        }
      ],
      "title": "video: fbdev: sm712fb: Fix crash in smtcfb_write()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49162",
    "datePublished": "2025-02-26T01:55:23.548Z",
    "dateReserved": "2025-02-26T01:49:39.277Z",
    "dateUpdated": "2025-12-23T13:22:23.831Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…