syzbot


linux-next test error

Status: auto-closed as invalid on 2019/03/04 23:14
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+87a05ae4accd500f5242@syzkaller.appspotmail.com
First crash: 2053d, last: 2052d
Discussions (1)
Title Replies (including bot) Last reply
linux-next test error 18 (19) 2018/09/06 16:00

Sample crash report:
INFO: task hung in do_page_mkwriteINFO: task syz-fuzzer:4864 blocked for more than 140 seconds.
      Not tainted 4.19.0-rc2-next-20180905+ #59
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-fuzzer      D21280  4864   4862 0x00000000
Call Trace:
 context_switch kernel/sched/core.c:2825 [inline]
 __schedule+0x87c/0x1df0 kernel/sched/core.c:3473
 schedule+0xfb/0x450 kernel/sched/core.c:3517
 io_schedule+0x1c/0x70 kernel/sched/core.c:5140
 wait_on_page_bit_common mm/filemap.c:1100 [inline]
 __lock_page+0x5b7/0x7a0 mm/filemap.c:1273
 lock_page include/linux/pagemap.h:483 [inline]
 do_page_mkwrite+0x429/0x520 mm/memory.c:2391
 do_shared_fault mm/memory.c:3717 [inline]
 do_fault mm/memory.c:3756 [inline]
 handle_pte_fault mm/memory.c:3983 [inline]
 __handle_mm_fault+0x2a0a/0x4350 mm/memory.c:4107
 handle_mm_fault+0x53e/0xc80 mm/memory.c:4144
 __do_page_fault+0x620/0xe50 arch/x86/mm/fault.c:1395
 do_page_fault+0xf6/0x7a4 arch/x86/mm/fault.c:1470
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1164
RIP: 0033:0x70b581
Code: Bad RIP value.
RSP: 002b:000000c4201593f0 EFLAGS: 00010212
RAX: 000000c420159508 RBX: 000000c420159510 RCX: 00007f0053beb000
RDX: 0000000000000543 RSI: 000000000072a460 RDI: 000000c420159348
RBP: 000000c420159400 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000949c4a R11: 0000000000000004 R12: 0000000000000000
R13: 0000000000000020 R14: 0000000000000013 R15: 000000000000000f

Showing all locks held in the system:
1 lock held by khungtaskd/792:
 #0: 0000000039b9c24f (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4436
1 lock held by khugepaged/798:
 #0: 000000008c4e6f48 (&mm->mmap_sem){++++}, at: collapse_huge_page+0x2bf/0x2250 mm/khugepaged.c:1007
4 locks held by kworker/u4:3/1970:
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline]
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline]
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline]
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline]
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline]
 #0: 0000000081990d69 ((wq_completion)"writeback"){+.+.}, at: process_one_work+0xb44/0x1aa0 kernel/workqueue.c:2124
 #1: 000000008fb02524 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: process_one_work+0xb9b/0x1aa0 kernel/workqueue.c:2128
 #2: 0000000003ca4508 (&fc->fs_type->s_umount_key#29){++++}, at: trylock_super+0x22/0x110 fs/super.c:411
 #3: 000000005f6d2adb (&sbi->s_journal_flag_rwsem){.+.+}, at: do_writepages+0x9a/0x1a0 mm/page-writeback.c:2340
1 lock held by rsyslogd/4751:
 #0: 0000000055ea95ad (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766
2 locks held by getty/4841:
 #0: 00000000c3208d70 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000d23f6a3a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4842:
 #0: 00000000f8dfa657 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000003297929b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4843:
 #0: 000000004c706ab6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 000000002feddb4b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4844:
 #0: 00000000e063a78c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000803ee668 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4845:
 #0: 000000007088a9c7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000962827f3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4846:
 #0: 000000002685be3e (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000c4f6c2d9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
2 locks held by getty/4847:
 #0: 00000000b5b82ee4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353
 #1: 00000000935d6302 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140
1 lock held by syz-fuzzer/4864:
 #0: 000000008c4e6f48 (&mm->mmap_sem){++++}, at: __do_page_fault+0x389/0xe50 arch/x86/mm/fault.c:1324

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 792 Comm: khungtaskd Not tainted 4.19.0-rc2-next-20180905+ #59
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.4+0x48/0x88 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b6/0x1cd lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_all_cpu_backtrace include/linux/nmi.h:144 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline]
 watchdog+0xb39/0x1040 kernel/hung_task.c:265
 kthread+0x35a/0x420 kernel/kthread.c:246
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:415
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.0-rc2-next-20180905+ #59
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_release kernel/locking/lockdep.c:3697 [inline]
RIP: 0010:lock_release+0x360/0x9f0 kernel/locking/lockdep.c:3920
Code: 00 00 66 83 68 22 10 66 f7 40 22 f0 ff 0f 85 fd 00 00 00 48 ba 00 00 00 00 00 fc ff df 4c 89 f9 48 c1 e9 03 0f b6 14 11 84 d2 <74> 09 80 fa 03 0f 8e d5 05 00 00 48 8b b5 e0 fe ff ff 41 8b 94 24
RSP: 0018:ffffffff880079b0 EFLAGS: 00000002
RAX: ffffffff88076680 RBX: 1ffffffff1000f3b RCX: 1ffffffff1000f3f
RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffffffff880766a2
RBP: ffffffff88007ae0 R08: 0000000000000000 R09: ffffffff88f7901b
R10: ffffffff89b58220 R11: 0000000000000001 R12: ffffffff88007ab8
R13: ffff8801db025cd8 R14: ffffffff88075e40 R15: ffffffff880079f8
FS:  0000000000000000(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffff600400 CR3: 00000001b803b000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline]
 _raw_spin_unlock_irqrestore+0x1f/0xc0 kernel/locking/spinlock.c:184
 unlock_hrtimer_base kernel/time/hrtimer.c:887 [inline]
 hrtimer_try_to_cancel+0x21c/0x620 kernel/time/hrtimer.c:1152
 hrtimer_cancel+0x20/0x40 kernel/time/hrtimer.c:1170
 tick_nohz_restart kernel/time/tick-sched.c:625 [inline]
 tick_nohz_restart_sched_tick kernel/time/tick-sched.c:841 [inline]
 __tick_nohz_idle_restart_tick+0xe5/0x3c0 kernel/time/tick-sched.c:1115
 tick_nohz_idle_exit+0x21f/0x290 kernel/time/tick-sched.c:1156
 do_idle+0x167/0x580 kernel/sched/idle.c:275
 cpu_startup_entry+0x10c/0x120 kernel/sched/idle.c:368
 rest_init+0xe1/0xe4 init/main.c:442
 start_kernel+0x8f9/0x934 init/main.c:739
 x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:452
 x86_64_start_kernel+0x76/0x79 arch/x86/kernel/head64.c:433
 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:242

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/09/05 23:13 linux-next 387ac6229ecf 873745f2 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 23:13 linux-next 387ac6229ecf 873745f2 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 23:13 linux-next 387ac6229ecf 873745f2 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 11:09 linux-next 387ac6229ecf 196410e4 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 11:09 linux-next 387ac6229ecf 196410e4 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 11:09 linux-next 387ac6229ecf 196410e4 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 09:55 linux-next 387ac6229ecf 49312e6d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 09:55 linux-next 387ac6229ecf 49312e6d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 09:55 linux-next 387ac6229ecf 49312e6d .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 03:48 linux-next 387ac6229ecf a4718693 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 03:48 linux-next 387ac6229ecf a4718693 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/05 03:48 linux-next 387ac6229ecf a4718693 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.