# CVE-2022-49162: video: fbdev: sm712fb: Fix crash in smtcfb_write()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-02)
- Published: 2025-02-26T01:55:23.548Z
- Modified: 2026-08-05T08:54:09.104Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d7edf47947f9d921be6ca5fc8e83049124466f98 before fb791514acf9070225eed46e1ccbb0aa7aae5da5; from d7edf47947f9d921be6ca5fc8e83049124466f98 before 0ec746674296c94137f074309c26d17e644c0498; from d7edf47947f9d921be6ca5fc8e83049124466f98 before 1aea36a62f0a0ad67eccc945bac0bd6422ef720f; from d7edf47947f9d921be6ca5fc8e83049124466f98 before 3b36c05f68ba32d0dfb63abc9016d6fe9117829f; from d7edf47947f9d921be6ca5fc8e83049124466f98 before b1c28577529cdfad40c8242673285f1e1e4c314e; from d7edf47947f9d921be6ca5fc8e83049124466f98 before eae90015d10f0c9a47fc4adccba4cd79dce664e4; from d7edf47947f9d921be6ca5fc8e83049124466f98 before aeb635b49530b7d19e140949753409f759ba99be; from d7edf47947f9d921be6ca5fc8e83049124466f98 before 809b8cde86320698661eec677222bc5c5df76176; from d7edf47947f9d921be6ca5fc8e83049124466f98 before 4f01d09b2bbfbcb47b3eb305560a7f4857a32260; 2.6.33 (not affected: before 2.6.33; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.238 up to 4.19.*; from 5.4.189 up to 5.4.*; from 5.10.110 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fb791514acf9070225eed46e1ccbb0aa7aae5da5> (patch)
- <https://git.kernel.org/stable/c/0ec746674296c94137f074309c26d17e644c0498> (patch)
- <https://git.kernel.org/stable/c/1aea36a62f0a0ad67eccc945bac0bd6422ef720f> (patch)
- <https://git.kernel.org/stable/c/3b36c05f68ba32d0dfb63abc9016d6fe9117829f> (patch)
- <https://git.kernel.org/stable/c/b1c28577529cdfad40c8242673285f1e1e4c314e> (patch)
- <https://git.kernel.org/stable/c/eae90015d10f0c9a47fc4adccba4cd79dce664e4> (patch)
- <https://git.kernel.org/stable/c/aeb635b49530b7d19e140949753409f759ba99be> (patch)
- <https://git.kernel.org/stable/c/809b8cde86320698661eec677222bc5c5df76176> (patch)
- <https://git.kernel.org/stable/c/4f01d09b2bbfbcb47b3eb305560a7f4857a32260> (patch)

## Sources

- CVE List: [CVE-2022-49162](https://www.cve.org/CVERecord?id=CVE-2022-49162), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49162](https://nvd.nist.gov/vuln/detail/CVE-2022-49162), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49162 · Whole record: https://cve.day/CVE-2022-49162.json · Rebuilt by cve.day 2026-11-25T22:58:20.238Z
