video: fbdev: sm712fb: Fix crash in smtcfb_write()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d7edf47947f9d921be6ca5fc8e83049124466f98 · < eae90015d10f0c9a47fc4adccba4cd79dce664e4| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel sm712fb driver can crash when three bytes are written to the framebuffer. A local user able to write to the framebuffer could trigger the crash; the input does not specify authentication requirements.
Engineers running Linux systems that use the sm712fb framebuffer driver should check their kernel versions; affected versions are not specified.