CVE-2022-49162
video: fbdev: sm712fb: Fix crash in smtcfb_write()
Check your servers for CVE-2022-49162
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49162 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.1% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before fb791514acf9070225eed46e1ccbb0aa7aae5da5 affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before 0ec746674296c94137f074309c26d17e644c0498 affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before 1aea36a62f0a0ad67eccc945bac0bd6422ef720f affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before 3b36c05f68ba32d0dfb63abc9016d6fe9117829f affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before b1c28577529cdfad40c8242673285f1e1e4c314e affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before eae90015d10f0c9a47fc4adccba4cd79dce664e4 affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before aeb635b49530b7d19e140949753409f759ba99be affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before 809b8cde86320698661eec677222bc5c5df76176 affected from d7edf47947f9d921be6ca5fc8e83049124466f98, before 4f01d09b2bbfbcb47b3eb305560a7f4857a32260
Other versions: unaffected
|
| Linux |
affected 2.6.33 unaffected before 2.6.33 unaffected from 4.9.311 up to and including 4.9.* unaffected from 4.14.276 up to and including 4.14.* unaffected from 4.19.238 up to and including 4.19.* unaffected from 5.4.189 up to and including 5.4.* unaffected from 5.10.110 up to and including 5.10.* unaffected from 5.15.33 up to and including 5.15.* unaffected from 5.16.19 up to and including 5.16.* unaffected from 5.17.2 up to and including 5.17.* unaffected 5.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49162 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49162
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-49162
trivy image --scanners vuln IMAGE | grep CVE-2022-49162
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/fb791514acf9070225eed46e1ccbb0aa7aae5da5 git.kernel.org
- https://git.kernel.org/stable/c/0ec746674296c94137f074309c26d17e644c0498 git.kernel.org
- https://git.kernel.org/stable/c/1aea36a62f0a0ad67eccc945bac0bd6422ef720f git.kernel.org
- https://git.kernel.org/stable/c/3b36c05f68ba32d0dfb63abc9016d6fe9117829f git.kernel.org
- https://git.kernel.org/stable/c/b1c28577529cdfad40c8242673285f1e1e4c314e git.kernel.org
- https://git.kernel.org/stable/c/eae90015d10f0c9a47fc4adccba4cd79dce664e4 git.kernel.org
- https://git.kernel.org/stable/c/aeb635b49530b7d19e140949753409f759ba99be git.kernel.org
- https://git.kernel.org/stable/c/809b8cde86320698661eec677222bc5c5df76176 git.kernel.org
- https://git.kernel.org/stable/c/4f01d09b2bbfbcb47b3eb305560a7f4857a32260 git.kernel.org
Source: the record CVE-2022-49162 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse