# CVE-2022-49162: video: fbdev: sm712fb: Fix crash in smtcfb\_write()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 17, 2026-11-26)
- **Published:** 2025-02-26T01:55:23.548Z
- **Modified:** 2026-08-05T08:54:09.104Z

## Who should check

- Anyone running Linux \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< fb791514acf9070225eed46e1ccbb0aa7aae5da5; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 0ec746674296c94137f074309c26d17e644c0498; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 1aea36a62f0a0ad67eccc945bac0bd6422ef720f; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 3b36c05f68ba32d0dfb63abc9016d6fe9117829f; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< b1c28577529cdfad40c8242673285f1e1e4c314e; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< eae90015d10f0c9a47fc4adccba4cd79dce664e4; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< aeb635b49530b7d19e140949753409f759ba99be; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 809b8cde86320698661eec677222bc5c5df76176; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 4f01d09b2bbfbcb47b3eb305560a7f4857a32260
- Anyone running Linux 2.6.33

## 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.

## Affected and fixed versions

- Linux: \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< fb791514acf9070225eed46e1ccbb0aa7aae5da5; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 0ec746674296c94137f074309c26d17e644c0498; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 1aea36a62f0a0ad67eccc945bac0bd6422ef720f; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 3b36c05f68ba32d0dfb63abc9016d6fe9117829f; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< b1c28577529cdfad40c8242673285f1e1e4c314e; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< eae90015d10f0c9a47fc4adccba4cd79dce664e4; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< aeb635b49530b7d19e140949753409f759ba99be; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 809b8cde86320698661eec677222bc5c5df76176; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 4f01d09b2bbfbcb47b3eb305560a7f4857a32260 (cvelist)
- Linux: 2.6.33 (cvelist)

## Mitigation

- Upgrade Linux to 4f01d09b2bbfbcb47b3eb305560a7f4857a32260 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49162. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49162.md
Affected: Linux >= d7edf47947f9d921be6ca5fc8e83049124466f98, < fb791514acf9070225eed46e1ccbb0aa7aae5da5; >= d7edf47947f9d921be6ca5fc8e83049124466f98, < 0ec746674296c94137f074309c26d17e644c0498; >= d7edf47947f9d921be6ca5fc8e83049124466f98, < 1aea36a62f0a0ad67eccc945bac0bd6422ef720f; >= d7edf47947f9d921be6ca5f…
Fixed in: Linux 0ec746674296c94137f074309c26d17e644c0498, Linux 1aea36a62f0a0ad67eccc945bac0bd6422ef720f, Linux 3b36c05f68ba32d0dfb63abc9016d6fe9117829f, Linux 809b8cde86320698661eec677222bc5c5df76176, Linux 4f01d09b2bbfbcb47b3eb305560a7f4857a32260

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49162 being exploited?

There is no confirmed exploitation: CVE-2022-49162 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49162?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49162?

Linux \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< fb791514acf9070225eed46e1ccbb0aa7aae5da5; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 0ec746674296c94137f074309c26d17e644c0498; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 1aea36a62f0a0ad67eccc945bac0bd6422ef720f; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 3b36c05f68ba32d0dfb63abc9016d6fe9117829f; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< b1c28577529cdfad40c8242673285f1e1e4c314e; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< eae90015d10f0c9a47fc4adccba4cd79dce664e4; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< aeb635b49530b7d19e140949753409f759ba99be; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 809b8cde86320698661eec677222bc5c5df76176; \>= d7edf47947f9d921be6ca5fc8e83049124466f98, \< 4f01d09b2bbfbcb47b3eb305560a7f4857a32260; Linux 2.6.33.

### Is there a fix for CVE-2022-49162?

Yes. Fixed in Linux 0ec746674296c94137f074309c26d17e644c0498, Linux 1aea36a62f0a0ad67eccc945bac0bd6422ef720f, Linux 3b36c05f68ba32d0dfb63abc9016d6fe9117829f, Linux 809b8cde86320698661eec677222bc5c5df76176, Linux 4f01d09b2bbfbcb47b3eb305560a7f4857a32260. Upgrade Linux to 4f01d09b2bbfbcb47b3eb305560a7f4857a32260 or later.

### How do I check if I'm affected by CVE-2022-49162?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49162>

HTML: <https://flawdb.com/CVE-2022-49162> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49162>
