INFO: task syz-executor.0:30527 can't die for more than 143 seconds. syz-executor.0 D27584 30527 6831 0x00000004 Call Trace: context_switch kernel/sched/core.c:3415 [inline] __schedule+0x8e4/0x1f80 kernel/sched/core.c:4140 trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 firmware_map_remove+0x19e/0x19e retint_kernel+0x2b/0x2b schedule+0xd0/0x2a0 kernel/sched/core.c:4215 io_schedule+0x17/0x60 kernel/sched/core.c:5858 wait_on_page_bit_common mm/filemap.c:1150 [inline] wait_on_page_bit mm/filemap.c:1199 [inline] wait_on_page_locked include/linux/pagemap.h:568 [inline] do_read_cache_page+0x648/0x1810 mm/filemap.c:2817 generic_file_read_iter+0x2200/0x2200 include/linux/pagemap.h:259 __sanitizer_cov_trace_switch+0x45/0x70 kernel/kcov.c:320 format_decode+0x230/0xad0 lib/vsprintf.c:2372 page_cache_next_miss+0x300/0x300 mm/filemap.c:1448 print_usage_bug+0x240/0x240 kernel/locking/lockdep.c:101 read_mapping_page include/linux/pagemap.h:437 [inline] read_part_sector+0xf6/0x600 block/partitions/core.c:771 adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 adfspart_check_ICS+0x9d/0xc80 block/partitions/acorn.c:360 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 retint_kernel+0x2b/0x2b trace_hardirqs_on_caller+0x64/0x240 kernel/trace/trace_preemptirq.c:97 adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 set_irq_regs arch/x86/include/asm/irq_regs.h:27 [inline] smp_apic_timer_interrupt+0x1b6/0x600 arch/x86/kernel/apic/apic.c:1109 retint_kernel+0x2b/0x2b adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 check_partition block/partitions/core.c:140 [inline] blk_add_partitions+0x474/0xe40 block/partitions/core.c:699 bdev_disk_changed+0x1fb/0x380 fs/block_dev.c:1525 __blkdev_get+0x130c/0x1530 fs/block_dev.c:1663 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4483 __blkdev_put+0x6f0/0x6f0 fs/block_dev.c:1916 instrument_atomic_write include/linux/instrumented.h:71 [inline] atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:695 [inline] queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] do_raw_spin_lock+0x129/0x2e0 kernel/locking/spinlock_debug.c:113 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1359 blkdev_get+0x41/0x2b0 fs/block_dev.c:1730 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x24/0x40 kernel/locking/spinlock.c:183 blkdev_open+0x21d/0x2b0 fs/block_dev.c:1869 do_dentry_open+0x503/0x1280 fs/open.c:822 bd_acquire+0x2c0/0x2c0 fs/block_dev.c:923 chown_common+0x550/0x550 fs/open.c:661 inode_permission+0xab/0x500 fs/namei.c:450 do_open fs/namei.c:3234 [inline] path_openat+0x1ece/0x2870 fs/namei.c:3351 path_lookupat.isra.0+0x530/0x530 fs/namei.c:2332 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3609 do_filp_open+0x192/0x260 fs/namei.c:3378 may_open_dev+0xf0/0xf0 fs/namei.c:2821 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x24/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:393 [inline] __alloc_fd+0x46d/0x600 fs/file.c:534 do_sys_openat2+0x585/0x7a0 fs/open.c:1173 file_open_root+0x400/0x400 fs/open.c:1154 _copy_to_user+0x126/0x160 lib/usercopy.c:32 put_timespec64+0xcb/0x120 kernel/time/time.c:812 ns_to_kernel_old_timeval+0x100/0x100 kernel/time/time.c:521 do_sys_open+0xc3/0x140 fs/open.c:1189 filp_open+0x70/0x70 fs/open.c:1142 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 do_syscall_64+0x21/0x7d0 arch/x86/entry/common.c:288 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.0:30527 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-next-20200522-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D27584 30527 6831 0x00000004 Call Trace: context_switch kernel/sched/core.c:3415 [inline] __schedule+0x8e4/0x1f80 kernel/sched/core.c:4140 trace_hardirqs_on_thunk+0x1a/0x1c arch/x86/entry/thunk_64.S:41 firmware_map_remove+0x19e/0x19e retint_kernel+0x2b/0x2b schedule+0xd0/0x2a0 kernel/sched/core.c:4215 io_schedule+0x17/0x60 kernel/sched/core.c:5858 wait_on_page_bit_common mm/filemap.c:1150 [inline] wait_on_page_bit mm/filemap.c:1199 [inline] wait_on_page_locked include/linux/pagemap.h:568 [inline] do_read_cache_page+0x648/0x1810 mm/filemap.c:2817 generic_file_read_iter+0x2200/0x2200 include/linux/pagemap.h:259 __sanitizer_cov_trace_switch+0x45/0x70 kernel/kcov.c:320 format_decode+0x230/0xad0 lib/vsprintf.c:2372 page_cache_next_miss+0x300/0x300 mm/filemap.c:1448 print_usage_bug+0x240/0x240 kernel/locking/lockdep.c:101 read_mapping_page include/linux/pagemap.h:437 [inline] read_part_sector+0xf6/0x600 block/partitions/core.c:771 adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 adfspart_check_ICS+0x9d/0xc80 block/partitions/acorn.c:360 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 retint_kernel+0x2b/0x2b trace_hardirqs_on_caller+0x64/0x240 kernel/trace/trace_preemptirq.c:97 adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 set_irq_regs arch/x86/include/asm/irq_regs.h:27 [inline] smp_apic_timer_interrupt+0x1b6/0x600 arch/x86/kernel/apic/apic.c:1109 retint_kernel+0x2b/0x2b adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 adfspart_check_ADFS+0x7f0/0x7f0 include/linux/mm.h:1079 check_partition block/partitions/core.c:140 [inline] blk_add_partitions+0x474/0xe40 block/partitions/core.c:699 bdev_disk_changed+0x1fb/0x380 fs/block_dev.c:1525 __blkdev_get+0x130c/0x1530 fs/block_dev.c:1663 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4483 __blkdev_put+0x6f0/0x6f0 fs/block_dev.c:1916 instrument_atomic_write include/linux/instrumented.h:71 [inline] atomic_try_cmpxchg include/asm-generic/atomic-instrumented.h:695 [inline] queued_spin_lock include/asm-generic/qspinlock.h:78 [inline] do_raw_spin_lock+0x129/0x2e0 kernel/locking/spinlock_debug.c:113 rwlock_bug.part.0+0x90/0x90 include/linux/sched.h:1359 blkdev_get+0x41/0x2b0 fs/block_dev.c:1730 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x24/0x40 kernel/locking/spinlock.c:183 blkdev_open+0x21d/0x2b0 fs/block_dev.c:1869 do_dentry_open+0x503/0x1280 fs/open.c:822 bd_acquire+0x2c0/0x2c0 fs/block_dev.c:923 chown_common+0x550/0x550 fs/open.c:661 inode_permission+0xab/0x500 fs/namei.c:450 do_open fs/namei.c:3234 [inline] path_openat+0x1ece/0x2870 fs/namei.c:3351 path_lookupat.isra.0+0x530/0x530 fs/namei.c:2332 mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:3609 do_filp_open+0x192/0x260 fs/namei.c:3378 may_open_dev+0xf0/0xf0 fs/namei.c:2821 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock+0x24/0x40 kernel/locking/spinlock.c:183 spin_unlock include/linux/spinlock.h:393 [inline] __alloc_fd+0x46d/0x600 fs/file.c:534 do_sys_openat2+0x585/0x7a0 fs/open.c:1173 file_open_root+0x400/0x400 fs/open.c:1154 _copy_to_user+0x126/0x160 lib/usercopy.c:32 put_timespec64+0xcb/0x120 kernel/time/time.c:812 ns_to_kernel_old_timeval+0x100/0x100 kernel/time/time.c:521 do_sys_open+0xc3/0x140 fs/open.c:1189 filp_open+0x70/0x70 fs/open.c:1142 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 do_syscall_64+0x21/0x7d0 arch/x86/entry/common.c:288 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Showing all locks held in the system: 1 lock held by khungtaskd/1152: #0: ffffffff89bc0380 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:5779 1 lock held by in:imklog/6512: #0: ffff88808dce9bb0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 2 locks held by agetty/6723: #0: ffff8880a6023098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000fb02e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x220/0x1b30 drivers/tty/n_tty.c:2156 2 locks held by agetty/6725: #0: ffff8880a7cc9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:267 #1: ffffc90000fb42e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x220/0x1b30 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.0/27379: #0: ffff8880982e8280 (&bdev->bd_mutex){+.+.}-{3:3}, at: blkdev_put+0x30/0x520 fs/block_dev.c:1920 1 lock held by syz-executor.0/27396: #0: ffff8880982e8280 (&bdev->bd_mutex){+.+.}-{3:3}, at: blkdev_put+0x30/0x520 fs/block_dev.c:1920 1 lock held by syz-executor.0/30527: #0: ffff8880982e8280 (&bdev->bd_mutex){+.+.}-{3:3}, at: __blkdev_get+0x179/0x1530 fs/block_dev.c:1582 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1152 Comm: khungtaskd Not tainted 5.7.0-rc6-next-20200522-syzkaller #0 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+0x18f/0x20d lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x1e6/0x221 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:147 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:253 [inline] watchdog+0xfa3/0x14f0 kernel/hung_task.c:339 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:293 kthread+0x3b5/0x4a0 kernel/kthread.c:291 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1113 kthread_mod_delayed_work+0x1a0/0x1a0 kernel/kthread.c:1113 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3880 Comm: systemd-journal Not tainted 5.7.0-rc6-next-20200522-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:preempt_count_add+0x8/0x140 kernel/sched/core.c:3827 Code: c5 47 65 08 00 74 08 9c 58 0f 1f 44 00 00 c3 0f 0b 48 c7 c7 38 d2 b4 89 e8 35 30 63 00 eb de 0f 1f 00 48 c7 c0 a0 b1 8e 8c 55 <48> ba 00 00 00 00 00 fc ff df 48 89 c1 53 83 e0 07 89 fb 48 c1 e9 RSP: 0018:ffffc90001627c98 EFLAGS: 00000246 RAX: ffffffff8c8eb1a0 RBX: 000000007fff0000 RCX: ffffffff81741cc6 RDX: 0000000000000000 RSI: ffffffff81741c17 RDI: 0000000000000001 RBP: ffff888094591d00 R08: ffff8880937f6400 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffffc90000d46000 R14: 000000007fff0000 R15: ffffc90001627e70 FS: 00007f56b7d9e8c0(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f56b3956000 CR3: 0000000093043000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: migrate_disable include/linux/preempt.h:337 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:596 [inline] seccomp_run_filters kernel/seccomp.c:272 [inline] __seccomp_filter+0x11b/0x1360 kernel/seccomp.c:817 get_nth_filter.part.0+0x2d0/0x2d0 kernel/seccomp.c:1491 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 lockdep_hardirqs_on_prepare+0x590/0x590 kernel/locking/lockdep.c:3680 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline] _raw_spin_unlock_irqrestore+0x9b/0xe0 kernel/locking/spinlock.c:191 debug_object_active_state lib/debugobjects.c:920 [inline] debug_object_active_state+0x294/0x360 lib/debugobjects.c:889 debug_object_deactivate+0x320/0x320 lib/debugobjects.c:714 __secure_computing+0xfc/0x360 kernel/seccomp.c:950 syscall_trace_enter+0x2a3/0xd10 arch/x86/entry/common.c:119 syscall_slow_exit_work+0x630/0x630 include/linux/tracehook.h:75 do_syscall_64+0x21/0x7d0 arch/x86/entry/common.c:288 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3635 [inline] lockdep_hardirqs_on_prepare+0x3a2/0x590 kernel/locking/lockdep.c:3686 do_syscall_64+0x504/0x7d0 arch/x86/entry/common.c:291 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7f56b7037f17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007ffc16ddf0a8 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 0000000000000f28 RCX: 00007f56b7037f17 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 00005650a54491e0 RBP: 00005650a54491e0 R08: 00007ffc16de3080 R09: 000000005eca8322 R10: 0000000000000000 R11: 0000000000000202 R12: ffffffffffffffff R13: 00007ffc16ddf178 R14: 00005650a502f958 R15: 0005a665977bf4fd