linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: BUG: unable to handle kernel NULL pointer dereference in mem16_serial_out
       [not found] <00000000000044a65205994a7e13@google.com>
@ 2019-12-10  1:38 ` syzbot
  2019-12-12 10:57   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: syzbot @ 2019-12-10  1:38 UTC (permalink / raw)
  To: andriy.shevchenko, asierra, corbet, ext-kimmo.rautkoski, gregkh,
	jslaby, kai.heng.feng, linux-api, linux-doc, linux-kernel,
	linux-serial, mika.westerberg, paulburton, peter, sr,
	syzkaller-bugs, yamada.masahiro, yegorslists

syzbot has bisected this bug to:

commit bd94c4077a0b2ecc35562c294f80f3659ecd8499
Author: Masahiro Yamada <yamada.masahiro@socionext.com>
Date:   Wed Oct 28 03:46:05 2015 +0000

     serial: support 16-bit register interface for console

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=13723196e00000
start commit:   e42617b8 Linux 5.5-rc1
git tree:       upstream
final crash:    https://syzkaller.appspot.com/x/report.txt?x=10f23196e00000
console output: https://syzkaller.appspot.com/x/log.txt?x=17723196e00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=3754e2c78c1adb82
dashboard link: https://syzkaller.appspot.com/bug?extid=92f32d4e21fb246d31a2
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=136f7e41e00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=112b7c82e00000

Reported-by: syzbot+92f32d4e21fb246d31a2@syzkaller.appspotmail.com
Fixes: bd94c4077a0b ("serial: support 16-bit register interface for  
console")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BUG: unable to handle kernel NULL pointer dereference in mem16_serial_out
  2019-12-10  1:38 ` BUG: unable to handle kernel NULL pointer dereference in mem16_serial_out syzbot
@ 2019-12-12 10:57   ` Greg KH
  2019-12-13  9:05     ` Dmitry Vyukov
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2019-12-12 10:57 UTC (permalink / raw)
  To: syzbot
  Cc: andriy.shevchenko, asierra, corbet, ext-kimmo.rautkoski, jslaby,
	kai.heng.feng, linux-api, linux-doc, linux-kernel, linux-serial,
	mika.westerberg, paulburton, peter, sr, syzkaller-bugs,
	yamada.masahiro, yegorslists

On Mon, Dec 09, 2019 at 05:38:01PM -0800, syzbot wrote:
> syzbot has bisected this bug to:
> 
> commit bd94c4077a0b2ecc35562c294f80f3659ecd8499
> Author: Masahiro Yamada <yamada.masahiro@socionext.com>
> Date:   Wed Oct 28 03:46:05 2015 +0000
> 
>     serial: support 16-bit register interface for console

That would be because that is when this function was added to the kernel
:)

Again, you are asking the kernel to write to a bad place in memory, and
then crash when that happens.  That sounds like the correct
functionality to me...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: BUG: unable to handle kernel NULL pointer dereference in mem16_serial_out
  2019-12-12 10:57   ` Greg KH
@ 2019-12-13  9:05     ` Dmitry Vyukov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Vyukov @ 2019-12-13  9:05 UTC (permalink / raw)
  To: Greg KH
  Cc: syzbot, Andy Shevchenko, asierra, Jonathan Corbet,
	ext-kimmo.rautkoski, Jiri Slaby, kai heng feng, Linux API,
	open list:DOCUMENTATION, LKML, linux-serial, mika.westerberg,
	paulburton, Peter Hurley, sr, syzkaller-bugs, Masahiro Yamada,
	yegorslists

On Thu, Dec 12, 2019 at 11:57 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Mon, Dec 09, 2019 at 05:38:01PM -0800, syzbot wrote:
> > syzbot has bisected this bug to:
> >
> > commit bd94c4077a0b2ecc35562c294f80f3659ecd8499
> > Author: Masahiro Yamada <yamada.masahiro@socionext.com>
> > Date:   Wed Oct 28 03:46:05 2015 +0000
> >
> >     serial: support 16-bit register interface for console
>
> That would be because that is when this function was added to the kernel
> :)
>
> Again, you are asking the kernel to write to a bad place in memory, and
> then crash when that happens.  That sounds like the correct
> functionality to me...

This looks like:

#syz dup:
BUG: unable to handle kernel NULL pointer dereference in mem_serial_out

Let's continue in that thread.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-13  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <00000000000044a65205994a7e13@google.com>
2019-12-10  1:38 ` BUG: unable to handle kernel NULL pointer dereference in mem16_serial_out syzbot
2019-12-12 10:57   ` Greg KH
2019-12-13  9:05     ` Dmitry Vyukov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).