Re: BUG: soft lockup (2)
On Fri, Jan 05, 2018 at 09:47:01AM -0800, syzbot wrote: > syzkaller has found reproducer for the following crash on > e1915c8195b38393005be9b74bfa6a3a367c83b3 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See https://goo.gl/kgGztJ > for information about syzkaller reproducers > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: > syzbot+f76f3c62dfadce022fd1c1deff15a61e09ac7...@syzkaller.appspotmail.com > It will help syzbot understand when the bug is fixed. > > watchdog: BUG: soft lockup - CPU#0 stuck for 135s! [syzkaller670324:3527] > Modules linked in: > irq event stamp: 2531226 > hardirqs last enabled at (2531225): [] > snd_pcm_stream_unlock_irq+0x78/0xe0 sound/core/pcm_native.c:166 > hardirqs last disabled at (2531226): [<3c6ef1cd>] > apic_timer_interrupt+0xa4/0xb0 arch/x86/entry/entry_64.S:920 > softirqs last enabled at (41848): [<81bd5f03>] > __do_softirq+0x7a0/0xb85 kernel/softirq.c:311 > softirqs last disabled at (41829): [ ] invoke_softirq > kernel/softirq.c:365 [inline] > softirqs last disabled at (41829): [ ] irq_exit+0x1cc/0x200 > kernel/softirq.c:405 > CPU: 0 PID: 3527 Comm: syzkaller670324 Not tainted 4.15.0-rc6+ #158 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > RIP: 0010:memcpy+0x45/0x50 mm/kasan/kasan.c:305 > RSP: 0018:8801bf6676f0 EFLAGS: 0246 ORIG_RAX: ff11 > RAX: c9000137ba06 RBX: 0002 RCX: > RDX: 0002 RSI: 8801bf6677da RDI: c9000137ba08 > RBP: 8801bf667708 R08: f5200026f741 R09: f5200026f741 > R10: 0001 R11: f5200026f740 R12: c9000137ba06 > R13: 8801bf6677d8 R14: dc00 R15: c9000137ba06 > FS: () GS:8801db20(0063) knlGS:f7ec6b40 > CS: 0010 DS: 002b ES: 002b CR0: 80050033 > CR2: 20735ee0 CR3: 0001bfba8002 CR4: 001606f0 > DR0: DR1: DR2: > DR3: DR6: fffe0ff0 DR7: 0400 > Call Trace: > memcpy include/linux/string.h:344 [inline] > cvt_s16_to_native sound/core/oss/mulaw.c:164 [inline] > mulaw_decode+0x52f/0x770 sound/core/oss/mulaw.c:195 > mulaw_transfer+0x222/0x270 sound/core/oss/mulaw.c:273 > snd_pcm_plug_write_transfer+0x22d/0x420 sound/core/oss/pcm_plugin.c:611 > snd_pcm_oss_write2+0x260/0x420 sound/core/oss/pcm_oss.c:1311 > snd_pcm_oss_write1 sound/core/oss/pcm_oss.c:1372 [inline] > snd_pcm_oss_write+0x5fe/0x830 sound/core/oss/pcm_oss.c:2646 > __vfs_write+0xef/0x970 fs/read_write.c:480 > vfs_write+0x189/0x510 fs/read_write.c:544 > SYSC_write fs/read_write.c:589 [inline] > SyS_write+0xef/0x220 fs/read_write.c:581 > do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline] > do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389 > entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129 Seems that this is fixed in sound/for-linus by: #syz fix: ALSA: pcm: Abort properly at pending signal in OSS read/write loops
Re: BUG: soft lockup (2)
On Fri, Jan 05, 2018 at 09:47:01AM -0800, syzbot wrote: > syzkaller has found reproducer for the following crash on > e1915c8195b38393005be9b74bfa6a3a367c83b3 > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is attached. > C reproducer is attached > syzkaller reproducer is attached. See https://goo.gl/kgGztJ > for information about syzkaller reproducers > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > Reported-by: > syzbot+f76f3c62dfadce022fd1c1deff15a61e09ac7...@syzkaller.appspotmail.com > It will help syzbot understand when the bug is fixed. > > watchdog: BUG: soft lockup - CPU#0 stuck for 135s! [syzkaller670324:3527] > Modules linked in: > irq event stamp: 2531226 > hardirqs last enabled at (2531225): [] > snd_pcm_stream_unlock_irq+0x78/0xe0 sound/core/pcm_native.c:166 > hardirqs last disabled at (2531226): [<3c6ef1cd>] > apic_timer_interrupt+0xa4/0xb0 arch/x86/entry/entry_64.S:920 > softirqs last enabled at (41848): [<81bd5f03>] > __do_softirq+0x7a0/0xb85 kernel/softirq.c:311 > softirqs last disabled at (41829): [ ] invoke_softirq > kernel/softirq.c:365 [inline] > softirqs last disabled at (41829): [ ] irq_exit+0x1cc/0x200 > kernel/softirq.c:405 > CPU: 0 PID: 3527 Comm: syzkaller670324 Not tainted 4.15.0-rc6+ #158 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS > Google 01/01/2011 > RIP: 0010:memcpy+0x45/0x50 mm/kasan/kasan.c:305 > RSP: 0018:8801bf6676f0 EFLAGS: 0246 ORIG_RAX: ff11 > RAX: c9000137ba06 RBX: 0002 RCX: > RDX: 0002 RSI: 8801bf6677da RDI: c9000137ba08 > RBP: 8801bf667708 R08: f5200026f741 R09: f5200026f741 > R10: 0001 R11: f5200026f740 R12: c9000137ba06 > R13: 8801bf6677d8 R14: dc00 R15: c9000137ba06 > FS: () GS:8801db20(0063) knlGS:f7ec6b40 > CS: 0010 DS: 002b ES: 002b CR0: 80050033 > CR2: 20735ee0 CR3: 0001bfba8002 CR4: 001606f0 > DR0: DR1: DR2: > DR3: DR6: fffe0ff0 DR7: 0400 > Call Trace: > memcpy include/linux/string.h:344 [inline] > cvt_s16_to_native sound/core/oss/mulaw.c:164 [inline] > mulaw_decode+0x52f/0x770 sound/core/oss/mulaw.c:195 > mulaw_transfer+0x222/0x270 sound/core/oss/mulaw.c:273 > snd_pcm_plug_write_transfer+0x22d/0x420 sound/core/oss/pcm_plugin.c:611 > snd_pcm_oss_write2+0x260/0x420 sound/core/oss/pcm_oss.c:1311 > snd_pcm_oss_write1 sound/core/oss/pcm_oss.c:1372 [inline] > snd_pcm_oss_write+0x5fe/0x830 sound/core/oss/pcm_oss.c:2646 > __vfs_write+0xef/0x970 fs/read_write.c:480 > vfs_write+0x189/0x510 fs/read_write.c:544 > SYSC_write fs/read_write.c:589 [inline] > SyS_write+0xef/0x220 fs/read_write.c:581 > do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline] > do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389 > entry_SYSENTER_compat+0x54/0x63 arch/x86/entry/entry_64_compat.S:129 Seems that this is fixed in sound/for-linus by: #syz fix: ALSA: pcm: Abort properly at pending signal in OSS read/write loops