device syz6 left promiscuous mode device syz6 entered promiscuous mode INFO: task blkid:7197 blocked for more than 120 seconds. Not tainted 4.14.0-rc4+ #122 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D23368 7197 1603 0x00000004 Call Trace: context_switch kernel/sched/core.c:2790 [inline] __schedule+0x8eb/0x2080 kernel/sched/core.c:3366 schedule+0xf5/0x430 kernel/sched/core.c:3425 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3483 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0xadb/0x19d0 kernel/locking/mutex.c:893 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908 __blkdev_get+0x158/0xf90 fs/block_dev.c:1449 blkdev_get+0x3a1/0xad0 fs/block_dev.c:1601 blkdev_open+0x1e4/0x270 fs/block_dev.c:1759 do_dentry_open+0x67f/0xd70 fs/open.c:752 vfs_open+0x107/0x230 fs/open.c:866 do_last fs/namei.c:3387 [inline] path_openat+0x1157/0x3520 fs/namei.c:3527 do_filp_open+0x25b/0x3b0 fs/namei.c:3562 do_sys_open+0x502/0x6d0 fs/open.c:1059 SYSC_open fs/open.c:1077 [inline] SyS_open+0x2d/0x40 fs/open.c:1072 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x7fefcfc5f120 RSP: 002b:00007ffcb6a0e628 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fefcfc5f120 RDX: 00007ffcb6a10f35 RSI: 0000000000000000 RDI: 00007ffcb6a10f35 RBP: 0000000000000086 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000e2c030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 2 locks held by khungtaskd/643: #0: (rcu_read_lock){....}, at: [] check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: (rcu_read_lock){....}, at: [] watchdog+0x1c5/0xd60 kernel/hung_task.c:249 #1: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0xd3/0x400 kernel/locking/lockdep.c:4552 2 locks held by getty/2954: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 2 locks held by getty/2955: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 2 locks held by getty/2956: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 2 locks held by getty/2957: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 2 locks held by getty/2958: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 2 locks held by getty/2959: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 2 locks held by getty/2960: #0: (&tty->ldisc_sem){++++}, at: [] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:367 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2133 1 lock held by syz-executor1/7185: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xa7/0x7c0 fs/block_dev.c:1767 1 lock held by blkid/7197: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x158/0xf90 fs/block_dev.c:1449 1 lock held by syz-executor1/7242: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x158/0xf90 fs/block_dev.c:1449 1 lock held by syz-executor1/7244: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x158/0xf90 fs/block_dev.c:1449 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 643 Comm: khungtaskd Not tainted 4.14.0-rc4+ #122 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 nmi_cpu_backtrace+0x20e/0x240 lib/nmi_backtrace.c:102 nmi_trigger_cpumask_backtrace+0x122/0x180 lib/nmi_backtrace.c:61 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37 trigger_all_cpu_backtrace include/linux/nmi.h:137 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0x90c/0xd60 kernel/hung_task.c:249 kthread+0x39c/0x470 kernel/kthread.c:231 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.0-rc4+ #122 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffffffff85a2f380 task.stack: ffffffff85a00000 RIP: 0010:__read_once_size include/linux/compiler.h:276 [inline] RIP: 0010:trace_softirq_raise include/trace/events/irq.h:155 [inline] RIP: 0010:__raise_softirq_irqoff kernel/softirq.c:443 [inline] RIP: 0010:raise_softirq_irqoff+0x23f/0x320 kernel/softirq.c:417 RSP: 0018:ffff8801db207d90 EFLAGS: 00000082 RAX: ffffed003b640fbf RBX: 1ffff1003b640fb3 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff8801db207e60 R08: 0000000000000001 R09: ffff88021fff9008 R10: ffff88021fff9010 R11: ffff88021fff901d R12: 0000000000000007 R13: ffff8801db207e38 R14: ffffffff85a2f380 R15: ffffffff85ac9960 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000083d000 CR3: 00000001d3214000 CR4: 00000000001406f0 Call Trace: scheduler_ipi+0x31e/0x460 kernel/sched/core.c:1792 smp_reschedule_interrupt+0xf2/0x670 arch/x86/kernel/smp.c:277 reschedule_interrupt+0x9d/0xb0 arch/x86/entry/entry_64.S:794 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:53 RSP: 0018:ffffffff85a07d08 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffffffff0b40fa4 RCX: 0000000000000000 RDX: 1ffffffff0b59330 RSI: 0000000000000001 RDI: ffffffff85ac9980 RBP: ffffffff85a07d08 R08: ffffffff857b4a60 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff85ac9970 R13: ffffffff85a07dc0 R14: 0000000000000000 R15: ffffffff85ac9960 arch_safe_halt arch/x86/include/asm/paravirt.h:93 [inline] default_idle+0xbf/0x460 arch/x86/kernel/process.c:341 arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:332 default_idle_call+0x36/0x90 kernel/sched/idle.c:98 cpuidle_idle_call kernel/sched/idle.c:156 [inline] do_idle+0x24e/0x3b0 kernel/sched/idle.c:246 cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:351 rest_init+0xed/0xf0 init/main.c:435 start_kernel+0x72e/0x754 init/main.c:710 x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:377 x86_64_start_kernel+0x77/0x7a arch/x86/kernel/head64.c:358 secondary_startup_64+0xa5/0xa5 arch/x86/kernel/head_64.S:235 Code: e9 62 fe ff ff 65 ff 05 10 d7 bf 7e 49 8d 45 c0 48 ba 00 00 00 00 00 fc ff df 48 c1 e8 03 48 01 d0 c6 00 00 48 8b 15 e9 65 d9 04 <49> 89 55 c0 c6 00 f8 e8 45 4b 19 00 85 c0 74 09 80 3d 41 28 d9