All of lore.kernel.org
 help / color / mirror / Atom feed
* [syzbot] upstream build error (17)
@ 2022-04-06 16:20 syzbot
  2022-04-06 17:33 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: syzbot @ 2022-04-06 16:20 UTC (permalink / raw)
  To: bp, dave.hansen, hpa, jmattson, joro, kvm, linux-kernel, llvm,
	mingo, pbonzini, seanjc, syzkaller-bugs, tglx, vkuznets,
	wanpengli, x86

Hello,

syzbot found the following issue on:

HEAD commit:    3e732ebf7316 Merge tag 'for_linus' of git://git.kernel.org..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10ca0687700000
kernel config:  https://syzkaller.appspot.com/x/.config?x=eba855fbe3373b4f
dashboard link: https://syzkaller.appspot.com/bug?extid=6b36bab98e240873fd5a
compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+6b36bab98e240873fd5a@syzkaller.appspotmail.com

arch/x86/kvm/emulate.c:3332:5: error: stack frame size (2552) exceeds limit (2048) in function 'emulator_task_switch' [-Werror,-Wframe-larger-than]
sound/usb/mixer_s1810c.c:543:5: error: stack frame size (2072) exceeds limit (2048) in function 'snd_sc1810_init_mixer' [-Werror,-Wframe-larger-than]
drivers/block/loop.c:1524:12: error: stack frame size (2648) exceeds limit (2048) in function 'lo_ioctl' [-Werror,-Wframe-larger-than]
crypto/ecc.c:1362:6: error: stack frame size (3640) exceeds limit (2048) in function 'ecc_point_mult_shamir' [-Werror,-Wframe-larger-than]
crypto/ecc.c:1280:13: error: stack frame size (3832) exceeds limit (2048) in function 'ecc_point_mult' [-Werror,-Wframe-larger-than]
fs/ocfs2/dlm/dlmdomain.c:2101:19: error: stack frame size (2104) exceeds limit (2048) in function 'dlm_register_domain' [-Werror,-Wframe-larger-than]
net/qrtr/ns.c:661:13: error: stack frame size (3096) exceeds limit (2048) in function 'qrtr_ns_worker' [-Werror,-Wframe-larger-than]

---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

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

* Re: [syzbot] upstream build error (17)
  2022-04-06 16:20 [syzbot] upstream build error (17) syzbot
@ 2022-04-06 17:33 ` Paolo Bonzini
  2022-04-06 18:26   ` Nick Desaulniers
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2022-04-06 17:33 UTC (permalink / raw)
  To: syzbot, bp, dave.hansen, hpa, jmattson, joro, kvm, linux-kernel,
	llvm, mingo, seanjc, syzkaller-bugs, tglx, vkuznets, wanpengli,
	x86

On 4/6/22 18:20, syzbot wrote:
> Hello,
> 
> syzbot found the following issue on:
> 
> HEAD commit:    3e732ebf7316 Merge tag 'for_linus' of git://git.kernel.org..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=10ca0687700000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=eba855fbe3373b4f
> dashboard link: https://syzkaller.appspot.com/bug?extid=6b36bab98e240873fd5a
> compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> 
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+6b36bab98e240873fd5a@syzkaller.appspotmail.com
> 
> arch/x86/kvm/emulate.c:3332:5: error: stack frame size (2552) exceeds limit (2048) in function 'emulator_task_switch' [-Werror,-Wframe-larger-than]
> drivers/block/loop.c:1524:12: error: stack frame size (2648) exceeds limit (2048) in function 'lo_ioctl' [-Werror,-Wframe-larger-than]

I spot-checked these two and the stack frame is just 144 and 320 bytes 
respectively on a normal compile.  This is probably just the effect of 
some of the sanitizer options.

Paolo


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

* Re: [syzbot] upstream build error (17)
  2022-04-06 17:33 ` Paolo Bonzini
@ 2022-04-06 18:26   ` Nick Desaulniers
  2022-04-07  7:18     ` Dmitry Vyukov
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Desaulniers @ 2022-04-06 18:26 UTC (permalink / raw)
  To: Paolo Bonzini, Dmitry Vyukov, Alexander Potapenko, Marco Elver
  Cc: syzbot, bp, dave.hansen, hpa, jmattson, joro, kvm, linux-kernel,
	llvm, mingo, seanjc, syzkaller-bugs, tglx, vkuznets, wanpengli,
	x86

On Wed, Apr 6, 2022 at 10:33 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 4/6/22 18:20, syzbot wrote:
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit:    3e732ebf7316 Merge tag 'for_linus' of git://git.kernel.org..
> > git tree:       upstream
> > console output: https://syzkaller.appspot.com/x/log.txt?x=10ca0687700000
> > kernel config:  https://syzkaller.appspot.com/x/.config?x=eba855fbe3373b4f
> > dashboard link: https://syzkaller.appspot.com/bug?extid=6b36bab98e240873fd5a
> > compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+6b36bab98e240873fd5a@syzkaller.appspotmail.com
> >
> > arch/x86/kvm/emulate.c:3332:5: error: stack frame size (2552) exceeds limit (2048) in function 'emulator_task_switch' [-Werror,-Wframe-larger-than]
> > drivers/block/loop.c:1524:12: error: stack frame size (2648) exceeds limit (2048) in function 'lo_ioctl' [-Werror,-Wframe-larger-than]
>
> I spot-checked these two and the stack frame is just 144 and 320 bytes
> respectively on a normal compile.  This is probably just the effect of
> some of the sanitizer options.

Yep.
$ wget -q https://syzkaller.appspot.com/x/.config\?x\=eba855fbe3373b4f
-O - | grep CONFIG_KASAN=y
CONFIG_KASAN=y
https://github.com/ClangBuiltLinux/linux/issues/39 (our oldest still-open issue)
-- 
Thanks,
~Nick Desaulniers

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

* Re: [syzbot] upstream build error (17)
  2022-04-06 18:26   ` Nick Desaulniers
@ 2022-04-07  7:18     ` Dmitry Vyukov
  0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Vyukov @ 2022-04-07  7:18 UTC (permalink / raw)
  To: Nick Desaulniers
  Cc: Paolo Bonzini, Alexander Potapenko, Marco Elver, syzbot, bp,
	dave.hansen, hpa, jmattson, joro, kvm, linux-kernel, llvm, mingo,
	seanjc, syzkaller-bugs, tglx, vkuznets, wanpengli, x86

On Wed, 6 Apr 2022 at 20:26, Nick Desaulniers <ndesaulniers@google.com> wrote:
>
> On Wed, Apr 6, 2022 at 10:33 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> > On 4/6/22 18:20, syzbot wrote:
> > > Hello,
> > >
> > > syzbot found the following issue on:
> > >
> > > HEAD commit:    3e732ebf7316 Merge tag 'for_linus' of git://git.kernel.org..
> > > git tree:       upstream
> > > console output: https://syzkaller.appspot.com/x/log.txt?x=10ca0687700000
> > > kernel config:  https://syzkaller.appspot.com/x/.config?x=eba855fbe3373b4f
> > > dashboard link: https://syzkaller.appspot.com/bug?extid=6b36bab98e240873fd5a
> > > compiler:       Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
> > >
> > > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > > Reported-by: syzbot+6b36bab98e240873fd5a@syzkaller.appspotmail.com
> > >
> > > arch/x86/kvm/emulate.c:3332:5: error: stack frame size (2552) exceeds limit (2048) in function 'emulator_task_switch' [-Werror,-Wframe-larger-than]
> > > drivers/block/loop.c:1524:12: error: stack frame size (2648) exceeds limit (2048) in function 'lo_ioctl' [-Werror,-Wframe-larger-than]
> >
> > I spot-checked these two and the stack frame is just 144 and 320 bytes
> > respectively on a normal compile.  This is probably just the effect of
> > some of the sanitizer options.
>
> Yep.
> $ wget -q https://syzkaller.appspot.com/x/.config\?x\=eba855fbe3373b4f
> -O - | grep CONFIG_KASAN=y
> CONFIG_KASAN=y
> https://github.com/ClangBuiltLinux/linux/issues/39 (our oldest still-open issue)


The issue is due to:

commit b9080ba4a6ec56447f263082825a4fddb873316b
Date:   Wed Mar 23 12:21:10 2022 +0100
    x86/defconfig: Enable WERROR

Marco has disabled it in syzbot configs:
https://github.com/google/syzkaller/commit/53c67432e69b0df4ff64448b944cbffaecec20f4

#syz invalid

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

end of thread, other threads:[~2022-04-07  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 16:20 [syzbot] upstream build error (17) syzbot
2022-04-06 17:33 ` Paolo Bonzini
2022-04-06 18:26   ` Nick Desaulniers
2022-04-07  7:18     ` Dmitry Vyukov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.