Acknowledged
Created: Jun 18, 2025
Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]fbdev: fb_pm2fb: Avoid potential divide by zero error[EOL][EOL]In `do_fb_ioctl()` of fbmem.c, if cmd is FBIOPUT_VSCREENINFO, var will be[EOL]copied from user, then go through `fb_set_var()` and[EOL]`info->fbops->fb_check_var()` which could may be `pm2fb_check_var()`.[EOL]Along the path, `var->pixclock` won't be modified. This function checks[EOL]whether reciprocal of `var->pixclock` is too high. If `var->pixclock` is[EOL]zero, there will be a divide by zero error. So, it is necessary to check[EOL]whether denominator is zero to avoid crash. As this bug is found by[EOL]Syzkaller, logs are listed below.[EOL][EOL]divide error in pm2fb_check_var[EOL]Call Trace:[EOL] <TASK>[EOL] fb_set_var+0x367/0xeb0 drivers/video/fbdev/core/fbmem.c:1015[EOL] do_fb_ioctl+0x234/0x670 drivers/video/fbdev/core/fbmem.c:1110[EOL] fb_ioctl+0xdd/0x130 drivers/video/fbdev/core/fbmem.c:1189
CREATE(Triage):(User=lchen-cn) [CVE-2022-49978 (https://nvd.nist.gov/vuln/detail/CVE-2022-49978)