CVE-2022-50101
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-06-18

Last updated on: 2025-11-19

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: video: fbdev: vt8623fb: Check the size of screen before memset_io() In the function vt8623fb_set_par(), the value of 'screen_size' is calculated by the user input. If the user provides the improper value, the value of 'screen_size' may larger than 'info->screen_size', which may cause the following bug: [ 583.339036] BUG: unable to handle page fault for address: ffffc90005000000 [ 583.339049] #PF: supervisor write access in kernel mode [ 583.339052] #PF: error_code(0x0002) - not-present page [ 583.339074] RIP: 0010:memset_orig+0x33/0xb0 [ 583.339110] Call Trace: [ 583.339118] vt8623fb_set_par+0x11cd/0x21e0 [ 583.339146] fb_set_var+0x604/0xeb0 [ 583.339181] do_fb_ioctl+0x234/0x670 [ 583.339209] fb_ioctl+0xdd/0x130 Fix the this by checking the value of 'screen_size' before memset_io().
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-06-18
Last Modified
2025-11-19
Generated
2026-05-07
AI Q&A
2025-06-18
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 7 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-NVD-CWE-noinfo
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability occurs in the Linux kernel's video framebuffer driver vt8623fb. The function vt8623fb_set_par() calculates a 'screen_size' value based on user input without proper validation. If a user provides an improper (too large) value for 'screen_size', it can exceed the actual allocated screen size, leading to a kernel page fault when the system attempts to write beyond the valid memory area during a memset_io() operation. This can cause the kernel to crash or behave unpredictably. The fix involves checking the 'screen_size' value before performing the memory operation to prevent out-of-bounds access.


How can this vulnerability impact me? :

This vulnerability can lead to a kernel crash or instability due to an invalid memory access triggered by improper user input. An attacker could exploit this to cause a denial of service (system crash) or potentially execute arbitrary code in kernel mode, compromising system security and stability.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection of this vulnerability can be done by monitoring the system logs for kernel page fault errors related to vt8623fb, such as messages containing 'BUG: unable to handle page fault' and 'vt8623fb_set_par'. You can use commands like 'dmesg | grep vt8623fb' or 'journalctl -k | grep vt8623fb' to check for these error messages.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation involves updating the Linux kernel to a version where the vulnerability is fixed, specifically one that includes the patch checking the 'screen_size' value before calling memset_io() in vt8623fb_set_par(). Until then, avoid using or exposing the vulnerable framebuffer device to untrusted users to prevent exploitation.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart