{"id":"CVE-2022-50099","published":"2025-06-18T11:02:36Z","modified":"2026-08-05T08:57:26Z","title":"video: fbdev: arkfb: Check the size of screen before memset_io()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvideo: fbdev: arkfb: Check the size of screen before memset_io()\n\nIn the function arkfb_set_par(), the value of 'screen_size' is\ncalculated by the user input. If the user provides the improper value,\nthe value of 'screen_size' may larger than 'info->screen_size', which\nmay cause the following bug:\n\n[  659.399066] BUG: unable to handle page fault for address: ffffc90003000000\n[  659.399077] #PF: supervisor write access in kernel mode\n[  659.399079] #PF: error_code(0x0002) - not-present page\n[  659.399094] RIP: 0010:memset_orig+0x33/0xb0\n[  659.399116] Call Trace:\n[  659.399122]  arkfb_set_par+0x143f/0x24c0\n[  659.399130]  fb_set_var+0x604/0xeb0\n[  659.399161]  do_fb_ioctl+0x234/0x670\n[  659.399189]  fb_ioctl+0xdd/0x130\n\nFix the this by checking the value of 'screen_size' before memset_io().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00271,"percentile":0.19579,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4a20c5510aa2c031a096a58deb356e91609781c9","tags":[]},{"url":"https://git.kernel.org/stable/c/352305ea50d682b8e081d826da53caf9e744d7d0","tags":[]},{"url":"https://git.kernel.org/stable/c/53198b81930e567ad6b879812d88052a1e8ac79e","tags":[]},{"url":"https://git.kernel.org/stable/c/09e733d6ac948e6fda4b16252e44ea46f98fc8b4","tags":[]},{"url":"https://git.kernel.org/stable/c/0701df594bc1d7ae55fed407fb65dd90a93f8a9c","tags":[]},{"url":"https://git.kernel.org/stable/c/8bcb1a06e3091716b7cbebe0e91d1de9895068cd","tags":[]},{"url":"https://git.kernel.org/stable/c/2ce61c39c2a0b8ec82f48e0f7136f0dac105ae75","tags":[]},{"url":"https://git.kernel.org/stable/c/96b550971c65d54d64728d8ba973487878a06454","tags":[]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":3.92},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 4a20c5510aa2c031a096a58deb356e91609781c9",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 352305ea50d682b8e081d826da53caf9e744d7d0",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 53198b81930e567ad6b879812d88052a1e8ac79e",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 09e733d6ac948e6fda4b16252e44ea46f98fc8b4",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 0701df594bc1d7ae55fed407fb65dd90a93f8a9c",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 8bcb1a06e3091716b7cbebe0e91d1de9895068cd",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 2ce61c39c2a0b8ec82f48e0f7136f0dac105ae75",">= 681e14730c73cc2c71af282c001de6bc71c22f00, < 96b550971c65d54d64728d8ba973487878a06454"]},{"vendor":"Linux","product":"Linux","versions":["2.6.22"]}],"euvd":{"id":"EUVD-2022-55365","exploited":false,"provenance":"source"}}