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 systemd-udevd:7847 blocked for more than 140 seconds. Not tainted 4.14.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D28432 7847 3639 0x00000100 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x8a6/0x1d70 kernel/sched/core.c:3384 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+0x5f0/0x1430 kernel/locking/mutex.c:893 lo_ioctl+0x87/0x1c00 drivers/block/loop.c:1414 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x91d/0x17c0 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+0x46/0xbb RIP: 0033:0x7fe9b5690017 RSP: 002b:00007ffc82f51aa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000055cf1f303fa0 RCX: 00007fe9b5690017 RDX: 0000000000000000 RSI: 0000000000005331 RDI: 000000000000000f RBP: 000000000000000f R08: 000055cf1f3040b0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000008100000 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000000f INFO: task syz-executor.0:7874 blocked for more than 140 seconds. Not tainted 4.14.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28208 7874 6351 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x8a6/0x1d70 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x1fc/0x380 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+0xe1/0x860 block/partition-generic.c:515 __blkdev_reread_part+0x140/0x1d0 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+0xbfd/0x11f0 drivers/block/loop.c:1193 loop_set_status64+0x92/0xe0 drivers/block/loop.c:1311 lo_ioctl+0x587/0x1c00 drivers/block/loop.c:1441 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x91d/0x17c0 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+0x46/0xbb RIP: 0033:0x45c0a7 RSP: 002b:00007f5c310e29f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f5c310e36d4 RCX: 000000000045c0a7 RDX: 00007f5c310e2ab0 RSI: 0000000000004c04 RDI: 0000000000000006 RBP: 0000000000000005 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 0000000000000005 R13: 00007f5c310e36d4 R14: 0000000000000006 R15: 000000000078bf0c INFO: task syz-executor.0:7885 blocked for more than 140 seconds. Not tainted 4.14.184-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28960 7885 6351 0x80000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x8a6/0x1d70 kernel/sched/core.c:3384 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+0x5f0/0x1430 kernel/locking/mutex.c:893 lo_ioctl+0x87/0x1c00 drivers/block/loop.c:1414 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x91d/0x17c0 block/ioctl.c:594 ioctl_by_bdev+0xa0/0x110 fs/block_dev.c:2066 isofs_get_last_session fs/isofs/inode.c:571 [inline] isofs_fill_super+0x1cb5/0x25b0 fs/isofs/inode.c:670 mount_bdev+0x2b3/0x360 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/0x25e0 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+0x46/0xbb RIP: 0033:0x45c1d9 RSP: 002b:00007f5c310c1c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001fa40 RCX: 000000000045c1d9 RDX: 0000000020000080 RSI: 0000000020000200 RDI: 0000000020000340 RBP: 000000000078bff0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 00007ffd80d0ebff R14: 00007f5c310c29c0 R15: 000000000078bfac 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:4548 1 lock held by in:imklog/5990: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa6/0xc0 fs/file.c:769 1 lock held by systemd-udevd/7847: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1c00 drivers/block/loop.c:1414 3 locks held by syz-executor.0/7874: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1c00 drivers/block/loop.c:1414 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 #2: (&type->s_umount_key#59){++++}, at: [] __get_super.part.0+0x1c6/0x280 fs/super.c:678 2 locks held by syz-executor.0/7885: #0: (&type->s_umount_key#58/1){+.+.}, at: [] alloc_super fs/super.c:251 [inline] #0: (&type->s_umount_key#58/1){+.+.}, at: [] sget_userns+0x556/0xc30 fs/super.c:516 #1: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1c00 drivers/block/loop.c:1414 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1056 Comm: khungtaskd Not tainted 4.14.184-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+0x1b2/0x283 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x13a/0x17f 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.184-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker task: ffff8880a9c7c140 task.stack: ffff8880a9cc8000 RIP: 0010:hlock_class kernel/locking/lockdep.c:148 [inline] RIP: 0010:mark_lock+0x0/0x1040 kernel/locking/lockdep.c:3168 RSP: 0018:ffff8880a9ccfad8 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000008 RSI: ffff8880a9c7ca18 RDI: ffff8880a9c7c140 RBP: ffff8880a9ccfc88 R08: 0000000000000000 R09: 0000000000020012 R10: ffff8880a9c7ca18 R11: ffff8880a9c7c140 R12: ffffffff87b84be0 R13: 0000000000000012 R14: 0000000000000002 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f91989b5000 CR3: 00000000a9739000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x655/0x42a0 kernel/locking/lockdep.c:3452 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:629 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:416 [inline] batadv_nc_worker+0x103/0x6d0 net/batman-adv/network-coding.c:726 process_one_work+0x7c0/0x14c0 kernel/workqueue.c:2116 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 83 c4 18 31 c0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 0b 48 c7 c7 48 67 b1 87 e8 ad ad 3d 00 eb 87 4c 89 ff e8 93 ad 3d 00 eb c7 90 <48> b8 00 00 00 00 00 fc ff df 41 57 89 d1 41 89 d7 41 56 49 89