NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 NOHZ: local_softirq_pending 08 INFO: task syz-executor.1:13322 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27840 13322 7393 0x80000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 lo_ioctl+0x87/0x1c40 drivers/block/loop.c:1414 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x91d/0x17d0 block/ioctl.c:594 ioctl_by_bdev+0xa0/0x110 fs/block_dev.c:2066 udf_get_last_block+0x8a/0x180 fs/udf/lowlevel.c:59 udf_load_vrs+0x484/0xa80 fs/udf/super.c:1965 udf_fill_super+0x715/0x14f6 fs/udf/super.c:2164 mount_bdev+0x2bc/0x370 fs/super.c:1134 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x3c0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x3c9/0x24f0 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c849 RSP: 002b:00007f1b50bedc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1b50bee6d4 RCX: 000000000045c849 RDX: 0000000020000100 RSI: 0000000020000080 RDI: 0000000020000000 RBP: 000000000076bf00 R08: 0000000020000140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000074a R14: 00000000004ca131 R15: 000000000076bf0c INFO: task syz-executor.1:13385 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29936 13385 7393 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 blkdev_get+0x429/0x8a0 fs/block_dev.c:1612 blkdev_get_by_path+0x8e/0xf0 fs/block_dev.c:1690 mount_bdev+0x4c/0x370 fs/super.c:1092 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x3c0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x3c9/0x24f0 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c849 RSP: 002b:00007f1b50bccc78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1b50bcd6d4 RCX: 000000000045c849 RDX: 0000000020000100 RSI: 0000000020000080 RDI: 0000000020000000 RBP: 000000000076bfa0 R08: 0000000020000140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000074a R14: 00000000004ca131 R15: 000000000076bfac INFO: task syz-executor.2:13358 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29088 13358 12670 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x1f6/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:66 [inline] down_read+0x45/0xa0 kernel/locking/rwsem.c:26 __get_super.part.0+0x1c6/0x280 fs/super.c:678 __get_super include/linux/spinlock.h:317 [inline] get_super+0x2b/0x50 fs/super.c:707 fsync_bdev+0x14/0xd0 fs/block_dev.c:495 invalidate_partition+0x31/0x60 block/genhd.c:1506 drop_partitions block/partition-generic.c:442 [inline] rescan_partitions+0xde/0x850 block/partition-generic.c:515 __blkdev_reread_part+0x157/0x1e0 block/ioctl.c:173 blkdev_reread_part+0x23/0x40 block/ioctl.c:193 loop_reread_partitions+0x72/0x80 drivers/block/loop.c:624 loop_set_status+0xbfc/0x11f0 drivers/block/loop.c:1193 loop_set_status64+0x92/0xe0 drivers/block/loop.c:1311 lo_ioctl+0x590/0x1c40 drivers/block/loop.c:1441 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x91d/0x17d0 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1881 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c6b7 RSP: 002b:00007f8a77d719d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 000000000045c6b7 RDX: 00007f8a77d71ac0 RSI: 0000000000004c04 RDI: 0000000000000006 RBP: 000000000076bf00 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 00000000ffffffff R13: 0000000000000c1c R14: 00000000004c1905 R15: 000000000076bf0c INFO: task syz-executor.2:13409 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29408 13409 12670 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 blkdev_get+0x84/0x8a0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x732/0xe90 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:891 do_last fs/namei.c:3428 [inline] path_openat+0x8ca/0x3c50 fs/namei.c:3569 do_filp_open+0x18e/0x250 fs/namei.c:3603 do_sys_open+0x29d/0x3f0 fs/open.c:1084 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4165e1 RSP: 002b:00007f8a77d2f9d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f8a77d306d4 RCX: 00000000004165e1 RDX: 00007f8a77d2fbba RSI: 0000000000000002 RDI: 00007f8a77d2fbb0 RBP: 000000000076c040 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 00000000ffffffff R13: 0000000000000c1c R14: 00000000004c1905 R15: 000000000076c04c INFO: task blkid:13362 blocked for more than 140 seconds. Not tainted 4.14.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D29200 13362 12218 0x00000004 Call Trace: schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893 __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 blkdev_get+0x84/0x8a0 fs/block_dev.c:1612 blkdev_open+0x1cc/0x250 fs/block_dev.c:1770 do_dentry_open+0x732/0xe90 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:891 do_last fs/namei.c:3428 [inline] path_openat+0x8ca/0x3c50 fs/namei.c:3569 do_filp_open+0x18e/0x250 fs/namei.c:3603 do_sys_open+0x29d/0x3f0 fs/open.c:1084 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7febea763120 RSP: 002b:00007ffeee317758 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007febea763120 RDX: 00007ffeee318f41 RSI: 0000000000000000 RDI: 00007ffeee318f41 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000d7e030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1056: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4544 1 lock held by rsyslogd/7223: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:769 2 locks held by getty/7345: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7346: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7347: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7348: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7349: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7350: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by getty/7351: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:284 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1e4/0x16f0 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.1/13322: #0: (&type->s_umount_key#77/1){+.+.}, at: [] alloc_super fs/super.c:251 [inline] #0: (&type->s_umount_key#77/1){+.+.}, at: [] sget_userns+0x556/0xc30 fs/super.c:516 #1: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1c40 drivers/block/loop.c:1414 1 lock held by syz-executor.1/13385: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 3 locks held by syz-executor.2/13358: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1c40 drivers/block/loop.c:1414 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 #2: (&type->s_umount_key#82){.+.+}, at: [] __get_super.part.0+0x1c6/0x280 fs/super.c:678 1 lock held by syz-executor.2/13409: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 1 lock held by blkid/13362: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1056 Comm: khungtaskd Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x13e/0x194 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x139/0x17e lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5e2/0xb80 kernel/hung_task.c:274 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7668 Comm: kworker/u4:6 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker task: ffff888087660600 task.stack: ffff888096fb8000 RIP: 0010:__lock_acquire+0x610/0x4620 kernel/locking/lockdep.c:3464 RSP: 0018:ffff888096fbfa50 EFLAGS: 00000002 RAX: 0000000000000001 RBX: 0000000000000000 RCX: 1ffff11010ecc1de RDX: ffffffff8a587b00 RSI: ffff888087660ed0 RDI: ffffffff8a115560 RBP: ffff888096fbfc00 R08: 0000000000000000 R09: 000000000004056c R10: ffff888087660ed0 R11: ffff888087660600 R12: ffff88805753dce8 R13: 000000000000056c R14: 0000000000000002 R15: ffff888087660ef2 FS: 0000000000000000(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c429444570 CR3: 0000000089379000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3994 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:176 spin_lock_bh include/linux/spinlock.h:322 [inline] batadv_nc_purge_paths+0xcf/0x360 net/batman-adv/network-coding.c:450 batadv_nc_worker+0x26a/0x6d0 net/batman-adv/network-coding.c:729 process_one_work+0x813/0x1540 kernel/workqueue.c:2114 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2248 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 00 00 00 4c 89 54 24 70 4c 89 5c 24 78 e8 c9 e2 ff ff 4c 8b 5c 24 78 85 c0 4c 8b 54 24 70 0f 84 63 fb ff ff 48 c7 c2 00 7b 58 8a <48> b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 48 c7 c0