INFO: task syz-executor.5:10695 can't die for more than 143 seconds. syz-executor.5 D27392 10695 8788 0x00004004 Call Trace: context_switch kernel/sched/core.c:3265 [inline] __schedule+0x76e/0x17a0 kernel/sched/core.c:3937 schedule+0xd9/0x260 kernel/sched/core.c:4004 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1869 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 flush_workqueue+0x40f/0x14c0 kernel/workqueue.c:2826 nbd_start_device_ioctl drivers/block/nbd.c:1254 [inline] __nbd_ioctl drivers/block/nbd.c:1329 [inline] nbd_ioctl+0xb32/0xc50 drivers/block/nbd.c:1369 __blkdev_driver_ioctl block/ioctl.c:304 [inline] blkdev_ioctl+0xedb/0x1c20 block/ioctl.c:606 block_ioctl+0xee/0x130 fs/block_dev.c:1954 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459879 Code: 30 48 c7 44 24 38 00 00 00 00 48 c7 44 24 40 00 00 00 00 48 c7 44 24 48 00 00 00 00 e8 b0 67 ff ff 48 8b 44 24 50 48 8b 4c 24 <58> 48 89 01 48 8b 6c 24 60 48 83 c4 68 c3 e8 14 06 fd ff 0f 0b e8 RSP: 002b:00007fb4cfe80c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459879 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb4cfe816d4 R13: 00000000004c3166 R14: 00000000004d68c8 R15: 00000000ffffffff INFO: task syz-executor.5:10695 blocked for more than 143 seconds. Not tainted 5.3.0-rc6-next-20190827 #74 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D27392 10695 8788 0x00004004 Call Trace: context_switch kernel/sched/core.c:3265 [inline] __schedule+0x76e/0x17a0 kernel/sched/core.c:3937 schedule+0xd9/0x260 kernel/sched/core.c:4004 schedule_timeout+0x717/0xc50 kernel/time/timer.c:1869 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x29c/0x440 kernel/sched/completion.c:136 flush_workqueue+0x40f/0x14c0 kernel/workqueue.c:2826 nbd_start_device_ioctl drivers/block/nbd.c:1254 [inline] __nbd_ioctl drivers/block/nbd.c:1329 [inline] nbd_ioctl+0xb32/0xc50 drivers/block/nbd.c:1369 __blkdev_driver_ioctl block/ioctl.c:304 [inline] blkdev_ioctl+0xedb/0x1c20 block/ioctl.c:606 block_ioctl+0xee/0x130 fs/block_dev.c:1954 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xdb6/0x13e0 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459879 Code: 30 48 c7 44 24 38 00 00 00 00 48 c7 44 24 40 00 00 00 00 48 c7 44 24 48 00 00 00 00 e8 b0 67 ff ff 48 8b 44 24 50 48 8b 4c 24 <58> 48 89 01 48 8b 6c 24 60 48 83 c4 68 c3 e8 14 06 fd ff 0f 0b e8 RSP: 002b:00007fb4cfe80c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000459879 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb4cfe816d4 R13: 00000000004c3166 R14: 00000000004d68c8 R15: 00000000ffffffff INFO: task syz-executor.5:10698 can't die for more than 144 seconds. syz-executor.5 D26616 10698 8788 0x00004004 Call Trace: context_switch kernel/sched/core.c:3265 [inline] __schedule+0x76e/0x17a0 kernel/sched/core.c:3937 schedule+0xd9/0x260 kernel/sched/core.c:4004 io_schedule+0x1c/0x70 kernel/sched/core.c:5678 wait_on_page_bit_common+0x3b6/0xe00 mm/filemap.c:1174 wait_on_page_bit mm/filemap.c:1223 [inline] wait_on_page_locked include/linux/pagemap.h:527 [inline] wait_on_page_read mm/filemap.c:2767 [inline] do_read_cache_page+0x848/0xdb0 mm/filemap.c:2810 read_cache_page+0x5e/0x70 mm/filemap.c:2894 read_mapping_page include/linux/pagemap.h:396 [inline] read_dev_sector+0x71/0x310 block/partition-generic.c:667 read_part_sector block/partitions/check.h:38 [inline] adfspart_check_ICS+0x12d/0xc90 block/partitions/acorn.c:361 check_partition+0x3bc/0x6ce block/partitions/check.c:167 rescan_partitions+0x230/0xa30 block/partition-generic.c:531 __blkdev_get+0x1213/0x1660 fs/block_dev.c:1637 blkdev_get+0x47/0x2c0 fs/block_dev.c:1707 blkdev_open+0x205/0x290 fs/block_dev.c:1846 do_dentry_open+0x4df/0x1250 fs/open.c:797 vfs_open+0xa0/0xd0 fs/open.c:914 do_last fs/namei.c:3416 [inline] path_openat+0x10e9/0x46d0 fs/namei.c:3533 do_filp_open+0x1a1/0x280 fs/namei.c:3563 do_sys_open+0x3fe/0x5d0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1110 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413761 Code: 0f 82 71 ff ff ff 48 89 f0 4c 89 f7 4d 89 ee e9 c2 fe ff ff 48 83 c6 f8 49 89 ce 48 89 d0 48 89 f1 eb c4 48 85 d2 74 56 0f b6 <02> 48 89 ca 48 89 f1 48 d3 e0 48 83 f9 40 4d 19 f6 49 21 c6 4d 09 RSP: 002b:00007fb4cfe5f7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000413761 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fb4cfe5f850 RBP: 000000000075bfc8 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fb4cfe606d4 R13: 00000000004c8d22 R14: 00000000004dfcd0 R15: 00000000ffffffff INFO: task syz-executor.5:10698 blocked for more than 144 seconds. Not tainted 5.3.0-rc6-next-20190827 #74 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D26616 10698 8788 0x00004004 Call Trace: context_switch kernel/sched/core.c:3265 [inline] __schedule+0x76e/0x17a0 kernel/sched/core.c:3937 schedule+0xd9/0x260 kernel/sched/core.c:4004 io_schedule+0x1c/0x70 kernel/sched/core.c:5678 wait_on_page_bit_common+0x3b6/0xe00 mm/filemap.c:1174 wait_on_page_bit mm/filemap.c:1223 [inline] wait_on_page_locked include/linux/pagemap.h:527 [inline] wait_on_page_read mm/filemap.c:2767 [inline] do_read_cache_page+0x848/0xdb0 mm/filemap.c:2810 read_cache_page+0x5e/0x70 mm/filemap.c:2894 read_mapping_page include/linux/pagemap.h:396 [inline] read_dev_sector+0x71/0x310 block/partition-generic.c:667 read_part_sector block/partitions/check.h:38 [inline] adfspart_check_ICS+0x12d/0xc90 block/partitions/acorn.c:361 check_partition+0x3bc/0x6ce block/partitions/check.c:167 rescan_partitions+0x230/0xa30 block/partition-generic.c:531 __blkdev_get+0x1213/0x1660 fs/block_dev.c:1637 blkdev_get+0x47/0x2c0 fs/block_dev.c:1707 blkdev_open+0x205/0x290 fs/block_dev.c:1846 do_dentry_open+0x4df/0x1250 fs/open.c:797 vfs_open+0xa0/0xd0 fs/open.c:914 do_last fs/namei.c:3416 [inline] path_openat+0x10e9/0x46d0 fs/namei.c:3533 do_filp_open+0x1a1/0x280 fs/namei.c:3563 do_sys_open+0x3fe/0x5d0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1110 do_syscall_64+0xfa/0x760 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413761 Code: 0f 82 71 ff ff ff 48 89 f0 4c 89 f7 4d 89 ee e9 c2 fe ff ff 48 83 c6 f8 49 89 ce 48 89 d0 48 89 f1 eb c4 48 85 d2 74 56 0f b6 <02> 48 89 ca 48 89 f1 48 d3 e0 48 83 f9 40 4d 19 f6 49 21 c6 4d 09 RSP: 002b:00007fb4cfe5f7a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 6666666666666667 RCX: 0000000000413761 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007fb4cfe5f850 RBP: 000000000075bfc8 R08: 000000000000000f R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007fb4cfe606d4 R13: 00000000004c8d22 R14: 00000000004dfcd0 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1065: #0: ffffffff88fa7f00 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5337 3 locks held by rs:main Q:Reg/8647: #0: ffff8880ae934918 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1201 [inline] #0: ffff8880ae934918 (&rq->lock){-.-.}, at: __schedule+0x1ff/0x17a0 kernel/sched/core.c:3889 #1: ffffffff88fa7f00 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:435 [inline] #1: ffffffff88fa7f00 (rcu_read_lock){....}, at: update_curr+0x2ea/0x8e0 kernel/sched/fair.c:861 #2: ffff8880aa0a9588 (&sb->s_type->i_mutex_key#11){++++}, at: inode_trylock include/linux/fs.h:809 [inline] #2: ffff8880aa0a9588 (&sb->s_type->i_mutex_key#11){++++}, at: ext4_file_write_iter+0x220/0x13c0 fs/ext4/file.c:234 1 lock held by rsyslogd/8649: #0: ffff888090ee8ae0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:801 2 locks held by getty/8739: #0: ffff88809bf6cb90 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f252e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8740: #0: ffff8880a8632a50 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f292e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8741: #0: ffff88808d3bc610 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f212e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8742: #0: ffff8880a39037d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f2d2e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8743: #0: ffff88808d3bce90 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f112e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8744: #0: ffff88809b3ad7d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005f312e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 2 locks held by getty/8745: #0: ffff8880a7bdc510 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:340 #1: ffffc90005ef92e0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1c10 drivers/tty/n_tty.c:2156 1 lock held by syz-executor.5/10698: #0: ffff8880894cc3f8 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x1660 fs/block_dev.c:1553 2 locks held by knbd5-recv/10696: #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: __write_once_size include/linux/compiler.h:226 [inline] #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:855 [inline] #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:40 [inline] #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: set_work_data kernel/workqueue.c:620 [inline] #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:647 [inline] #0: ffff8880a0093be8 ((wq_completion)knbd5-recv){+.+.}, at: process_one_work+0x88b/0x1740 kernel/workqueue.c:2240 #1: ffff88804fe1fd30 ((work_completion)(&args->work)){+.+.}, at: process_one_work+0x8c1/0x1740 kernel/workqueue.c:2244 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1065 Comm: khungtaskd Not tainted 5.3.0-rc6-next-20190827 #74 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+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x70/0xb2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x23b/0x28b 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:269 [inline] watchdog+0xc99/0x1360 kernel/hung_task.c:353 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8844 Comm: kworker/u4:5 Not tainted 5.3.0-rc6-next-20190827 #74 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:756 [inline] RIP: 0010:lock_acquire+0x20b/0x410 kernel/locking/lockdep.c:4490 Code: 9c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 d3 01 00 00 48 83 3d 51 81 9a 07 00 0f 84 53 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b RSP: 0018:ffff88805c1d7c08 EFLAGS: 00000282 RAX: 1ffffffff11e5dac RBX: ffff88809bf8c400 RCX: ffffffff81581120 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: 0000000000000282 RBP: ffff88805c1d7c50 R08: 1ffffffff14ed32c R09: fffffbfff14ed32d R10: ffff88809bf8ccf0 R11: ffff88809bf8c400 R12: ffffffff88fa7f00 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000000a5966000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:208 [inline] rcu_read_lock include/linux/rcupdate.h:599 [inline] batadv_nc_process_nc_paths.part.0+0xe4/0x3c0 net/batman-adv/network-coding.c:686 batadv_nc_process_nc_paths net/batman-adv/network-coding.c:678 [inline] batadv_nc_worker+0x550/0x760 net/batman-adv/network-coding.c:727 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352