{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49162","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T01:49:39.277Z","datePublished":"2025-02-26T01:55:23.548Z","dateUpdated":"2026-08-05T08:54:09.104Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:54:09.104Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: sm712fb: Fix crash in smtcfb_write()\n\nWhen the sm712fb driver writes three bytes to the framebuffer, the\ndriver will crash:\n\n    BUG: unable to handle page fault for address: ffffc90001ffffff\n    RIP: 0010:smtcfb_write+0x454/0x5b0\n    Call Trace:\n     vfs_write+0x291/0xd60\n     ? do_sys_openat2+0x27d/0x350\n     ? __fget_light+0x54/0x340\n     ksys_write+0xce/0x190\n     do_syscall_64+0x43/0x90\n     entry_SYSCALL_64_after_hwframe+0x44/0xae\n\nFix it by removing the open-coded endianness fixup-code."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only via write(2) on the local fbdev node (/dev/fbN) through vfs_write → fb_write → smtcfb_write; it is a PCI framebuffer driver with no network-facing path.\nAC:L - An attacker can reliably trigger the OOB write by writing a 1- or 3-byte payload at offset 0; no races or attacker-uncontrollable conditions are required.\nPR:L - fb_open/fb_write impose no capability checks—access is only DAC on /dev/fb*, typically granted to unprivileged video-group or console users on the embedded/kiosk systems that ship SM712/SM720 hardware.\nUI:N - The attacker opens the framebuffer device and writes the crafted payload themselves; no separate victim action is required.\nS:U - Impact stays within the host kernel/device authority (crash or MMIO corruption); there is no VM, IOMMU, or other security-boundary crossing.\nC:H - This is attacker-controlled out-of-bounds memory corruption; on SM720 screen_base sits 2MB into a shared ioremap with device registers, so the OOB poke hits mapped MMIO and is treatable as corruption that can be leveraged for disclosure.\nI:H - The broken endian remainder path does `--dst8` and fb_writeb() of attacker-controlled bytes before the intended destination—an explicit out-of-bounds write into either unmapped space or (on SM720) the mapped register aperture.\nA:H - The reported reproducer causes a kernel oops (page fault in smtcfb_write), which is a high availability impact; MMIO corruption can also hang or disable the display path."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/sm712fb.c"],"versions":[{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"fb791514acf9070225eed46e1ccbb0aa7aae5da5","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"0ec746674296c94137f074309c26d17e644c0498","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"1aea36a62f0a0ad67eccc945bac0bd6422ef720f","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"3b36c05f68ba32d0dfb63abc9016d6fe9117829f","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"b1c28577529cdfad40c8242673285f1e1e4c314e","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"eae90015d10f0c9a47fc4adccba4cd79dce664e4","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"aeb635b49530b7d19e140949753409f759ba99be","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"809b8cde86320698661eec677222bc5c5df76176","status":"affected","versionType":"git"},{"version":"d7edf47947f9d921be6ca5fc8e83049124466f98","lessThan":"4f01d09b2bbfbcb47b3eb305560a7f4857a32260","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/sm712fb.c"],"versions":[{"version":"2.6.33","status":"affected"},{"version":"0","lessThan":"2.6.33","status":"unaffected","versionType":"semver"},{"version":"4.9.311","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.276","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.238","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.189","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.110","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"4.9.311"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"4.14.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"4.19.238"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"5.4.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"5.10.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"5.15.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"5.16.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"5.17.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.33","versionEndExcluding":"5.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/fb791514acf9070225eed46e1ccbb0aa7aae5da5"},{"url":"https://git.kernel.org/stable/c/0ec746674296c94137f074309c26d17e644c0498"},{"url":"https://git.kernel.org/stable/c/1aea36a62f0a0ad67eccc945bac0bd6422ef720f"},{"url":"https://git.kernel.org/stable/c/3b36c05f68ba32d0dfb63abc9016d6fe9117829f"},{"url":"https://git.kernel.org/stable/c/b1c28577529cdfad40c8242673285f1e1e4c314e"},{"url":"https://git.kernel.org/stable/c/eae90015d10f0c9a47fc4adccba4cd79dce664e4"},{"url":"https://git.kernel.org/stable/c/aeb635b49530b7d19e140949753409f759ba99be"},{"url":"https://git.kernel.org/stable/c/809b8cde86320698661eec677222bc5c5df76176"},{"url":"https://git.kernel.org/stable/c/4f01d09b2bbfbcb47b3eb305560a7f4857a32260"}],"title":"video: fbdev: sm712fb: Fix crash in smtcfb_write()","x_generator":{"engine":"bippy-1.2.0"}}}}