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.2:17761 blocked for more than 140 seconds. Not tainted 4.14.194-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27856 17761 6376 0x80000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 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+0x669/0x1310 kernel/locking/mutex.c:893 lo_ioctl+0x87/0x1cd0 drivers/block/loop.c:1414 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x540/0x1830 block/ioctl.c:594 ioctl_by_bdev+0xa0/0x110 fs/block_dev.c:2068 hfs_get_last_session fs/hfs/mdb.c:55 [inline] hfs_mdb_get+0x192/0x1b3d fs/hfs/mdb.c:83 hfs_fill_super+0xcdb/0x1250 fs/hfs/super.c:413 mount_bdev+0x2b3/0x360 fs/super.c:1134 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 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:0x45d579 RSP: 002b:00007f7c10572c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000021100 RCX: 000000000045d579 RDX: 0000000020000400 RSI: 0000000020000180 RDI: 0000000020000140 RBP: 000000000118cf90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffd48195bbf R14: 00007f7c105739c0 R15: 000000000118cf4c INFO: task syz-executor.2:17772 blocked for more than 140 seconds. Not tainted 4.14.194-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28832 17772 6376 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 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+0x669/0x1310 kernel/locking/mutex.c:893 __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 blkdev_get+0x441/0x890 fs/block_dev.c:1611 blkdev_get_by_path+0x38/0xa0 fs/block_dev.c:1692 mount_bdev+0x4c/0x360 fs/super.c:1092 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 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:0x45d579 RSP: 002b:00007f7c10551c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000021100 RCX: 000000000045d579 RDX: 0000000020000400 RSI: 0000000020000180 RDI: 0000000020000140 RBP: 000000000118d030 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec R13: 00007ffd48195bbf R14: 00007f7c105529c0 R15: 000000000118cfec INFO: task syz-executor.2:17806 blocked for more than 140 seconds. Not tainted 4.14.194-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29040 17806 6376 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 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+0x669/0x1310 kernel/locking/mutex.c:893 __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 blkdev_get+0x88/0x890 fs/block_dev.c:1611 blkdev_open+0x1cc/0x250 fs/block_dev.c:1772 do_dentry_open+0x44b/0xec0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:888 do_last fs/namei.c:3428 [inline] path_openat+0x628/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4170c1 RSP: 002b:00007f7c10530990 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004170c1 RDX: 00007f7c10530bb0 RSI: 0000000000000002 RDI: 00007f7c10530bb0 RBP: 0000000000000000 R08: 00007f7c10530a28 R09: 0000000000000000 R10: 00007f7c10530a2c R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000005 R14: 0000000000000005 R15: 0000000000000010 INFO: task syz-executor.2:17765 blocked for more than 140 seconds. Not tainted 4.14.194-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28960 17765 17761 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 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+0x1e6/0x350 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+0x44/0x80 kernel/locking/rwsem.c:26 __get_super.part.0+0x271/0x390 fs/super.c:678 __get_super include/linux/spinlock.h:317 [inline] get_super+0x2b/0x50 fs/super.c:707 fsync_bdev+0x14/0xc0 fs/block_dev.c:495 invalidate_partition+0x74/0xb0 block/genhd.c:1506 drop_partitions.isra.0+0x83/0x150 block/partition-generic.c:442 rescan_partitions+0xa9/0x800 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 drivers/block/loop.c:624 [inline] loop_set_status+0xeeb/0x12b0 drivers/block/loop.c:1193 loop_set_status64+0x92/0xe0 drivers/block/loop.c:1311 lo_ioctl+0x587/0x1cd0 drivers/block/loop.c:1441 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x540/0x1830 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1883 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 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:0x45d3e7 RSP: 002b:00007f7c105729f8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045d3e7 RDX: 00007f7c10572ac0 RSI: 0000000000004c04 RDI: 0000000000000006 RBP: 000000000118cf80 R08: 00007f7c10572a28 R09: 0000000000000000 R10: 00007f7c10572a2c R11: 0000000000000202 R12: 000000000118cf4c R13: 00007ffd48195bbf R14: 00007f7c105739c0 R15: 000000000118cf4c INFO: task systemd-udevd:17785 blocked for more than 140 seconds. Not tainted 4.14.194-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D28912 17785 3661 0x00000104 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 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+0x669/0x1310 kernel/locking/mutex.c:893 __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 blkdev_get+0x88/0x890 fs/block_dev.c:1611 blkdev_open+0x1cc/0x250 fs/block_dev.c:1772 do_dentry_open+0x44b/0xec0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:888 do_last fs/namei.c:3428 [inline] path_openat+0x628/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f38a2167840 RSP: 002b:00007ffdc260d078 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000565295fc83b0 RCX: 00007f38a2167840 RDX: 0000565294f44fe3 RSI: 00000000000a0800 RDI: 0000565295fd2aa0 RBP: 00007ffdc260d1f0 R08: 0000565294f44670 R09: 0000000000000010 R10: 0000565294f44d0c R11: 0000000000000246 R12: 00007ffdc260d140 R13: 0000565295fcf130 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 1 lock held by khungtaskd/1068: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548 2 locks held by agetty/6070: #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+0x1e3/0x1680 drivers/tty/n_tty.c:2156 2 locks held by syz-executor.2/17761: #0: (&type->s_umount_key#83/1){+.+.}, at: [] alloc_super fs/super.c:251 [inline] #0: (&type->s_umount_key#83/1){+.+.}, at: [] sget_userns+0x556/0xc10 fs/super.c:516 #1: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1cd0 drivers/block/loop.c:1414 1 lock held by syz-executor.2/17772: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 1 lock held by syz-executor.2/17806: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 3 locks held by syz-executor.2/17765: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1cd0 drivers/block/loop.c:1414 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 #2: (&type->s_umount_key#84){.+.+}, at: [] __get_super.part.0+0x271/0x390 fs/super.c:678 1 lock held by systemd-udevd/17785: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1068 Comm: khungtaskd Not tainted 4.14.194-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+0x5b9/0xb40 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: 3643 Comm: systemd-journal Not tainted 4.14.194-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809452a100 task.stack: ffff888094598000 RIP: 0010:strlen+0x54/0x90 lib/string.c:482 RSP: 0018:ffff88809459f7a0 EFLAGS: 00000006 RAX: ffffffff86ab654d RBX: dffffc0000000000 RCX: 0000000000000005 RDX: 0000000000000006 RSI: ffffffff87d84e60 RDI: ffffffff86ab6540 RBP: ffffffff86ab6540 R08: 0000000000000001 R09: ffffed10128b3f44 R10: 0000000000000000 R11: ffff88809452a100 R12: ffffffff87d6f180 R13: ffffffff87d84e60 R14: 0000000000000000 R15: ffff88809459f850 FS: 00007f91611318c0(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f915e973000 CR3: 00000000948c1000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: strlen include/linux/string.h:294 [inline] trace_event_get_offsets_lock include/trace/events/lock.h:39 [inline] perf_trace_lock+0xc6/0x490 include/trace/events/lock.h:39 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x4df/0x870 kernel/locking/lockdep.c:4016 rcu_lock_release include/linux/rcupdate.h:247 [inline] rcu_read_unlock include/linux/rcupdate.h:685 [inline] avc_has_perm_noaudit+0x17e/0x2a0 security/selinux/avc.c:1118 selinux_inode_permission+0x380/0x580 security/selinux/hooks.c:3106 security_inode_permission+0xa8/0xf0 security/security.c:698 __inode_permission+0xc5/0x2f0 fs/namei.c:434 inode_permission fs/namei.c:476 [inline] may_lookup fs/namei.c:1711 [inline] link_path_walk+0x16f/0x10a0 fs/namei.c:2097 path_openat+0x15e/0x2970 fs/namei.c:3568 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f91606c1840 RSP: 002b:00007fff0a7f3a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff0a7f3d10 RCX: 00007f91606c1840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000559d52778320 RBP: 000000000000000d R08: 00000000000001e0 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000559d52774060 R14: 00007fff0a7f3cd0 R15: 0000559d5277faa0 Code: c0 75 48 80 7d 00 00 74 39 48 bb 00 00 00 00 00 fc ff df 48 89 e8 48 83 c0 01 48 89 c2 48 89 c1 48 c1 ea 03 83 e1 07 0f b6 14 1a <38> ca 7f 04 84 d2 75 1f 80 38 00 75 de 48 83 c4 08 48 29 e8 5b