CVE-2022-49162

Source
https://cve.org/CVERecord?id=CVE-2022-49162
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49162.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49162
Downstream
Related
Published
2025-02-26T01:55:23.548Z
Modified
2026-03-12T03:24:43.307844Z
Summary
video: fbdev: sm712fb: Fix crash in smtcfb_write()
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49162.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d7edf47947f9d921be6ca5fc8e83049124466f98
Fixed
fb791514acf9070225eed46e1ccbb0aa7aae5da5
Fixed
0ec746674296c94137f074309c26d17e644c0498
Fixed
1aea36a62f0a0ad67eccc945bac0bd6422ef720f
Fixed
3b36c05f68ba32d0dfb63abc9016d6fe9117829f
Fixed
b1c28577529cdfad40c8242673285f1e1e4c314e
Fixed
eae90015d10f0c9a47fc4adccba4cd79dce664e4
Fixed
aeb635b49530b7d19e140949753409f759ba99be
Fixed
809b8cde86320698661eec677222bc5c5df76176
Fixed
4f01d09b2bbfbcb47b3eb305560a7f4857a32260

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49162.json"