[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZvLSQLuLLGIkDthp@thinkpad>
Date: Tue, 24 Sep 2024 22:52:48 +0800
From: Qianqiang Liu <qianqiang.liu@....com>
To: syzbot <syzbot+3d613ae53c031502687a@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [btrfs?] [fbdev?] BUG: unable to handle kernel NULL
pointer dereference in fbcon_putcs (3)
#syz test
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
index 3f7333dca508..fedd796c9a5c 100644
--- a/drivers/video/fbdev/core/fbcon.c
+++ b/drivers/video/fbdev/core/fbcon.c
@@ -847,6 +847,8 @@ static int set_con2fb_map(int unit, int newidx, int user)
return err;
fbcon_add_cursor_work(info);
+ } else if (vc) {
+ set_blitting_type(vc, info);
}
con2fb_map[unit] = newidx;
--
2.34.1
Powered by blists - more mailing lists