linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: WARNING in hsr_forward_skb
       [not found] <0000000000009f94c1057e772431@google.com>
@ 2019-03-12  8:57 ` syzbot
  2019-03-12 12:01   ` Oliver Hartkopp
  2021-05-09 15:16 ` [syzbot] " syzbot
  1 sibling, 1 reply; 7+ messages in thread
From: syzbot @ 2019-03-12  8:57 UTC (permalink / raw)
  To: arvid.brodin, axboe, axboe, davem, hch, linux-block, linux-can,
	linux-kernel, ming.lei, mkl, netdev, socketcan, syzkaller-bugs

syzbot has bisected this bug to:

commit ab42f35d9cb5ac49b5a2a11f940e74f58f207280
Author: Ming Lei <ming.lei@redhat.com>
Date:   Fri May 26 11:53:19 2017 +0000

     blk-mq: merge bio into sw queue before plugging

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=16e68713200000
start commit:   ab42f35d blk-mq: merge bio into sw queue before plugging
git tree:       upstream
final crash:    https://syzkaller.appspot.com/x/report.txt?x=15e68713200000
console output: https://syzkaller.appspot.com/x/log.txt?x=11e68713200000
kernel config:  https://syzkaller.appspot.com/x/.config?x=5e7dc790609552d7
dashboard link: https://syzkaller.appspot.com/bug?extid=fdce8f2a8903f3ba0e6b
userspace arch: amd64
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15f6d1fd400000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17290fdd400000

Reported-by: syzbot+fdce8f2a8903f3ba0e6b@syzkaller.appspotmail.com
Fixes: ab42f35d ("blk-mq: merge bio into sw queue before plugging")

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

* Re: WARNING in hsr_forward_skb
  2019-03-12  8:57 ` WARNING in hsr_forward_skb syzbot
@ 2019-03-12 12:01   ` Oliver Hartkopp
  2019-03-12 16:09     ` Dmitry Vyukov
  0 siblings, 1 reply; 7+ messages in thread
From: Oliver Hartkopp @ 2019-03-12 12:01 UTC (permalink / raw)
  To: syzbot, arvid.brodin, axboe, axboe, davem, hch, linux-block,
	linux-can, linux-kernel, ming.lei, mkl, netdev, syzkaller-bugs

Hi all,

I'm not sure why a Kernel 4.12.0-rc2+ is used here, but I do not get any 
problems on the my latest 5.0.0-06622-g1fc1cd8399ab tree and I strongly 
assume this patch showing up in 4.12-rc6

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=74b7b490886852582d986a33443c2ffa50970169

fixes the problem.

Best regards,
Oliver

On 3/12/19 9:57 AM, syzbot wrote:
> syzbot has bisected this bug to:
> 
> commit ab42f35d9cb5ac49b5a2a11f940e74f58f207280
> Author: Ming Lei <ming.lei@redhat.com>
> Date:   Fri May 26 11:53:19 2017 +0000
> 
>      blk-mq: merge bio into sw queue before plugging
> 
> bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=16e68713200000
> start commit:   ab42f35d blk-mq: merge bio into sw queue before plugging
> git tree:       upstream
> final crash:    https://syzkaller.appspot.com/x/report.txt?x=15e68713200000
> console output: https://syzkaller.appspot.com/x/log.txt?x=11e68713200000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=5e7dc790609552d7
> dashboard link: 
> https://syzkaller.appspot.com/bug?extid=fdce8f2a8903f3ba0e6b
> userspace arch: amd64
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15f6d1fd400000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17290fdd400000
> 
> Reported-by: syzbot+fdce8f2a8903f3ba0e6b@syzkaller.appspotmail.com
> Fixes: ab42f35d ("blk-mq: merge bio into sw queue before plugging")

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

* Re: WARNING in hsr_forward_skb
  2019-03-12 12:01   ` Oliver Hartkopp
@ 2019-03-12 16:09     ` Dmitry Vyukov
  2019-03-12 16:21       ` Dmitry Vyukov
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Vyukov @ 2019-03-12 16:09 UTC (permalink / raw)
  To: Oliver Hartkopp
  Cc: syzbot, arvid.brodin, Jens Axboe, Jens Axboe, David Miller,
	Christoph Hellwig, linux-block, linux-can, LKML, Ming Lei,
	Marc Kleine-Budde, netdev, syzkaller-bugs

On Tue, Mar 12, 2019 at 1:02 PM Oliver Hartkopp <socketcan@hartkopp.net> wrote:
>
> Hi all,
>
> I'm not sure why a Kernel 4.12.0-rc2+ is used here, but I do not get any
> problems on the my latest 5.0.0-06622-g1fc1cd8399ab tree and I strongly
> assume this patch showing up in 4.12-rc6
>
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=74b7b490886852582d986a33443c2ffa50970169
>
> fixes the problem.


Hi Oliver,

You can see how bisection progressed and got to 4.12.0-rc2+ in the
bisection log.

The commit that it come up with looks unrelated.
I've started collecting such cases at:
https://github.com/google/syzkaller/issues/1051
and added for this case:

=====
Bisected to wrong commit.
Root cause: broken kernel boots, bugs that happen on all tests.
Boot is broken for several releases with "WARNING in hsr_forward_skb",
this switches to a bug that happens during every test "INFO: trying to
register non-static key in can_notifier", which then leads to a
completely random commit.
=====


> On 3/12/19 9:57 AM, syzbot wrote:
> > syzbot has bisected this bug to:
> >
> > commit ab42f35d9cb5ac49b5a2a11f940e74f58f207280
> > Author: Ming Lei <ming.lei@redhat.com>
> > Date:   Fri May 26 11:53:19 2017 +0000
> >
> >      blk-mq: merge bio into sw queue before plugging
> >
> > bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=16e68713200000
> > start commit:   ab42f35d blk-mq: merge bio into sw queue before plugging
> > git tree:       upstream
> > final crash:    https://syzkaller.appspot.com/x/report.txt?x=15e68713200000
> > console output: https://syzkaller.appspot.com/x/log.txt?x=11e68713200000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=5e7dc790609552d7
> > dashboard link:
> > https://syzkaller.appspot.com/bug?extid=fdce8f2a8903f3ba0e6b
> > userspace arch: amd64
> > syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15f6d1fd400000
> > C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17290fdd400000
> >
> > Reported-by: syzbot+fdce8f2a8903f3ba0e6b@syzkaller.appspotmail.com
> > Fixes: ab42f35d ("blk-mq: merge bio into sw queue before plugging")
>
> --
> You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/7dd5ffca-803d-9d5e-7fa4-f9eed2249d26%40hartkopp.net.
> For more options, visit https://groups.google.com/d/optout.

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

* Re: WARNING in hsr_forward_skb
  2019-03-12 16:09     ` Dmitry Vyukov
@ 2019-03-12 16:21       ` Dmitry Vyukov
  2019-03-13 18:22         ` Oliver Hartkopp
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Vyukov @ 2019-03-12 16:21 UTC (permalink / raw)
  To: Oliver Hartkopp
  Cc: syzbot, arvid.brodin, Jens Axboe, Jens Axboe, David Miller,
	Christoph Hellwig, linux-block, linux-can, LKML, Ming Lei,
	Marc Kleine-Budde, netdev, syzkaller-bugs

On Tue, Mar 12, 2019 at 5:09 PM Dmitry Vyukov <dvyukov@google.com> wrote:
>
> On Tue, Mar 12, 2019 at 1:02 PM Oliver Hartkopp <socketcan@hartkopp.net> wrote:
> >
> > Hi all,
> >
> > I'm not sure why a Kernel 4.12.0-rc2+ is used here, but I do not get any
> > problems on the my latest 5.0.0-06622-g1fc1cd8399ab tree and I strongly
> > assume this patch showing up in 4.12-rc6
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=74b7b490886852582d986a33443c2ffa50970169
> >
> > fixes the problem.
>
>
> Hi Oliver,
>
> You can see how bisection progressed and got to 4.12.0-rc2+ in the
> bisection log.
>
> The commit that it come up with looks unrelated.
> I've started collecting such cases at:
> https://github.com/google/syzkaller/issues/1051
> and added for this case:
>
> =====
> Bisected to wrong commit.
> Root cause: broken kernel boots, bugs that happen on all tests.
> Boot is broken for several releases with "WARNING in hsr_forward_skb",
> this switches to a bug that happens during every test "INFO: trying to
> register non-static key in can_notifier", which then leads to a
> completely random commit.
> =====

Broken boots did not happen here. "WARNING in hsr_forward_skb" is the
crash that we pursued, so it started correctly. But then diverged to
an unrelated "INFO: trying to register non-static key in
can_notifier".

> > On 3/12/19 9:57 AM, syzbot wrote:
> > > syzbot has bisected this bug to:
> > >
> > > commit ab42f35d9cb5ac49b5a2a11f940e74f58f207280
> > > Author: Ming Lei <ming.lei@redhat.com>
> > > Date:   Fri May 26 11:53:19 2017 +0000
> > >
> > >      blk-mq: merge bio into sw queue before plugging
> > >
> > > bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=16e68713200000
> > > start commit:   ab42f35d blk-mq: merge bio into sw queue before plugging
> > > git tree:       upstream
> > > final crash:    https://syzkaller.appspot.com/x/report.txt?x=15e68713200000
> > > console output: https://syzkaller.appspot.com/x/log.txt?x=11e68713200000
> > > kernel config:  https://syzkaller.appspot.com/x/.config?x=5e7dc790609552d7
> > > dashboard link:
> > > https://syzkaller.appspot.com/bug?extid=fdce8f2a8903f3ba0e6b
> > > userspace arch: amd64
> > > syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=15f6d1fd400000
> > > C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=17290fdd400000
> > >
> > > Reported-by: syzbot+fdce8f2a8903f3ba0e6b@syzkaller.appspotmail.com
> > > Fixes: ab42f35d ("blk-mq: merge bio into sw queue before plugging")
> >
> > --
> > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/7dd5ffca-803d-9d5e-7fa4-f9eed2249d26%40hartkopp.net.
> > For more options, visit https://groups.google.com/d/optout.

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

* Re: WARNING in hsr_forward_skb
  2019-03-12 16:21       ` Dmitry Vyukov
@ 2019-03-13 18:22         ` Oliver Hartkopp
  0 siblings, 0 replies; 7+ messages in thread
From: Oliver Hartkopp @ 2019-03-13 18:22 UTC (permalink / raw)
  To: Dmitry Vyukov
  Cc: syzbot, arvid.brodin, Jens Axboe, Jens Axboe, David Miller,
	Christoph Hellwig, linux-block, linux-can, LKML, Ming Lei,
	Marc Kleine-Budde, netdev, syzkaller-bugs

Hi Dimitry,

On 3/12/19 5:21 PM, Dmitry Vyukov wrote:

>> You can see how bisection progressed and got to 4.12.0-rc2+ in the
>> bisection log.
>>
>> The commit that it come up with looks unrelated.
>> I've started collecting such cases at:
>> https://github.com/google/syzkaller/issues/1051
>> and added for this case:
>>
>> =====
>> Bisected to wrong commit.
>> Root cause: broken kernel boots, bugs that happen on all tests.
>> Boot is broken for several releases with "WARNING in hsr_forward_skb",
>> this switches to a bug that happens during every test "INFO: trying to
>> register non-static key in can_notifier", which then leads to a
>> completely random commit.
>> =====
> 
> Broken boots did not happen here. "WARNING in hsr_forward_skb" is the
> crash that we pursued, so it started correctly. But then diverged to
> an unrelated "INFO: trying to register non-static key in
> can_notifier".

Thanks for the clarification! I really appreciate your effort with syzbot!

Best,
Oliver


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

* Re: [syzbot] WARNING in hsr_forward_skb
       [not found] <0000000000009f94c1057e772431@google.com>
  2019-03-12  8:57 ` WARNING in hsr_forward_skb syzbot
@ 2021-05-09 15:16 ` syzbot
  2021-05-10  6:09   ` Dmitry Vyukov
  1 sibling, 1 reply; 7+ messages in thread
From: syzbot @ 2021-05-09 15:16 UTC (permalink / raw)
  To: arvid.brodin, axboe, axboe, davem, dvyukov, edumazet, hch, kuba,
	kurt, linux-block, linux-can, linux-kernel, m-karicheri2,
	ming.lei, mkl, netdev, socketcan, syzkaller-bugs

syzbot suspects this issue was fixed by commit:

commit 9d6803921a16f4d768dc41a75375629828f4d91e
Author: Kurt Kanzenbach <kurt@linutronix.de>
Date:   Tue Apr 6 07:35:09 2021 +0000

    net: hsr: Reset MAC header for Tx path

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=119c7fedd00000
start commit:   3af409ca net: enetc: fix destroyed phylink dereference dur..
git tree:       net
kernel config:  https://syzkaller.appspot.com/x/.config?x=8cb23303ddb9411f
dashboard link: https://syzkaller.appspot.com/bug?extid=fdce8f2a8903f3ba0e6b
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1525467ad00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=114c0b12d00000

If the result looks correct, please mark the issue as fixed by replying with:

#syz fix: net: hsr: Reset MAC header for Tx path

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

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

* Re: [syzbot] WARNING in hsr_forward_skb
  2021-05-09 15:16 ` [syzbot] " syzbot
@ 2021-05-10  6:09   ` Dmitry Vyukov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Vyukov @ 2021-05-10  6:09 UTC (permalink / raw)
  To: syzbot
  Cc: arvid.brodin, Jens Axboe, Jens Axboe, David Miller, Eric Dumazet,
	Christoph Hellwig, Jakub Kicinski, kurt, linux-block, linux-can,
	LKML, m-karicheri2, Ming Lei, Marc Kleine-Budde, netdev,
	Oliver Hartkopp, syzkaller-bugs

On Sun, May 9, 2021 at 5:16 PM syzbot
<syzbot+fdce8f2a8903f3ba0e6b@syzkaller.appspotmail.com> wrote:
>
> syzbot suspects this issue was fixed by commit:
>
> commit 9d6803921a16f4d768dc41a75375629828f4d91e
> Author: Kurt Kanzenbach <kurt@linutronix.de>
> Date:   Tue Apr 6 07:35:09 2021 +0000
>
>     net: hsr: Reset MAC header for Tx path
>
> bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=119c7fedd00000
> start commit:   3af409ca net: enetc: fix destroyed phylink dereference dur..
> git tree:       net
> kernel config:  https://syzkaller.appspot.com/x/.config?x=8cb23303ddb9411f
> dashboard link: https://syzkaller.appspot.com/bug?extid=fdce8f2a8903f3ba0e6b
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1525467ad00000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=114c0b12d00000
>
> If the result looks correct, please mark the issue as fixed by replying with:
>
> #syz fix: net: hsr: Reset MAC header for Tx path
>
> For information about bisection process see: https://goo.gl/tpsmEJ#bisection

The patch references this exact warning.

#syz fix: net: hsr: Reset MAC header for Tx path

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

end of thread, other threads:[~2021-05-10  6:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <0000000000009f94c1057e772431@google.com>
2019-03-12  8:57 ` WARNING in hsr_forward_skb syzbot
2019-03-12 12:01   ` Oliver Hartkopp
2019-03-12 16:09     ` Dmitry Vyukov
2019-03-12 16:21       ` Dmitry Vyukov
2019-03-13 18:22         ` Oliver Hartkopp
2021-05-09 15:16 ` [syzbot] " syzbot
2021-05-10  6:09   ` 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).