CVE-2022-49162

video: fbdev: sm712fb: Fix crash in smtcfb_write()

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3112.6.33 ≤ v < 4.14.2762.6.33 ≤ v < 4.19.2382.6.33 ≤ v < 4.9.3112.6.33 ≤ v < 5.10.1102.6.33 ≤ v < 5.15.332.6.33 ≤ v < 5.16.192.6.33 ≤ v < 5.17.22.6.33 ≤ v < 5.182.6.33 ≤ v < 5.4.1894.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2384.20 ≤ v < 5.4.1895.11 ≤ v < 5.15.335.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.5 ≤ v < 5.10.1102.6.33d7edf47947f9d921be6ca5fc8e83049124466f98
Vendor states this is fixed in 0ec746674296c94137f074309c26d17e644c0498 (fixed)
Vendor states this is fixed in 1aea36a62f0a0ad67eccc945bac0bd6422ef720f (fixed)
Vendor states this is fixed in 3b36c05f68ba32d0dfb63abc9016d6fe9117829f (fixed)
Vendor states this is fixed in 4f01d09b2bbfbcb47b3eb305560a7f4857a32260 (fixed)
Vendor states this is fixed in 809b8cde86320698661eec677222bc5c5df76176 (fixed)
Vendor states this is fixed in aeb635b49530b7d19e140949753409f759ba99be (fixed)
Vendor states this is fixed in b1c28577529cdfad40c8242673285f1e1e4c314e (fixed)
Vendor states this is fixed in eae90015d10f0c9a47fc4adccba4cd79dce664e4 (fixed)
Vendor states this is fixed in fb791514acf9070225eed46e1ccbb0aa7aae5da5 (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.110 (unaffected)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0ec746674296c94137f074309c26d17e644c0498
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1aea36a62f0a0ad67eccc945bac0bd6422ef720f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b36c05f68ba32d0dfb63abc9016d6fe9117829f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f01d09b2bbfbcb47b3eb305560a7f4857a32260
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/809b8cde86320698661eec677222bc5c5df76176
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/aeb635b49530b7d19e140949753409f759ba99be
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b1c28577529cdfad40c8242673285f1e1e4c314e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eae90015d10f0c9a47fc4adccba4cd79dce664e4

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card