From: syzbot <syzbot+3d613ae53c031502687a@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in fbcon_putcs
Date: Sun, 15 Sep 2024 17:46:46 -0700 [thread overview]
Message-ID: <0000000000004c2375062231e807@google.com> (raw)
In-Reply-To: <00000000000002df770621bf81d9@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: BUG: unable to handle kernel NULL pointer dereference in fbcon_putcs
Author: qianqiang.liu@163.com
#syz test
diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
index 3f7333dca508..96c1262cc981 100644
--- a/drivers/video/fbdev/core/fbcon.c
+++ b/drivers/video/fbdev/core/fbcon.c
@@ -1284,7 +1284,7 @@ static void fbcon_putcs(struct vc_data *vc, const u16 *s, unsigned int count,
struct fbcon_display *p = &fb_display[vc->vc_num];
struct fbcon_ops *ops = info->fbcon_par;
- if (!fbcon_is_inactive(vc, info))
+ if (!fbcon_is_inactive(vc, info) && ops->putcs)
ops->putcs(vc, info, s, count, real_y(p, ypos), xpos,
get_color(vc, info, scr_readw(s), 1),
get_color(vc, info, scr_readw(s), 0));
--
Best,
Qianqiang Liu
next prev parent reply other threads:[~2024-09-16 0:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 8:17 [syzbot] [btrfs?] [fbdev?] BUG: unable to handle kernel NULL pointer dereference in fbcon_putcs (3) syzbot
2024-09-16 0:46 ` syzbot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-08 7:25 [syzbot] BUG: unable to handle kernel NULL pointer dereference in fbcon_putcs syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0000000000004c2375062231e807@google.com \
--to=syzbot+3d613ae53c031502687a@syzkaller.appspotmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox