On 4/28/25 17:34, Murad Masimov wrote:
These patches fix the bug that leads to a null-ptr-deref if fb_videomode_to_var() fails to allocate memory. This bug is present in do_register_framebuffer() and fb_ser_var().Found by Linux Verification Center (linuxtesting.org) with Syzkaller. Murad Masimov (2): fbdev: Fix do_register_framebuffer to prevent null-ptr-deref in fb_videomode_to_var fbdev: Fix fb_ser_var to prevent null-ptr-deref in fb_videomode_to_var
I've added both patches to fbdev git tree (after fixing two small typos in commit message). Thanks! Helge
drivers/video/fbdev/core/fbmem.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) -- 2.39.2
