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:12954 blocked for more than 140 seconds. Not tainted 4.14.174-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28320 12954 7755 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:00007f23189f0c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f23189f16d4 RCX: 000000000045c849 RDX: 0000000020000200 RSI: 0000000020000180 RDI: 0000000020000080 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000749 R14: 00000000004ca11a R15: 000000000076bf0c INFO: task syz-executor.5:12962 blocked for more than 140 seconds. Not tainted 4.14.174-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D28128 12962 7754 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:00007f3851d5a9d8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 000000000045c6b7 RDX: 00007f3851d5aac0 RSI: 0000000000004c04 RDI: 0000000000000008 RBP: 000000000076bf00 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000202 R12: 00000000ffffffff R13: 0000000000000c1b R14: 00000000004c1905 R15: 000000000076bf0c INFO: task syz-executor.5:12992 blocked for more than 140 seconds. Not tainted 4.14.174-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.5 D29408 12992 7754 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:888 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:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4165e1 RSP: 002b:00007f3851d189d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007f3851d196d4 RCX: 00000000004165e1 RDX: 00007f3851d18bba RSI: 0000000000000002 RDI: 00007f3851d18bb0 RBP: 000000000076c040 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 00000000ffffffff R13: 0000000000000c1b R14: 00000000004c1905 R15: 000000000076c04c INFO: task blkid:12965 blocked for more than 140 seconds. Not tainted 4.14.174-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D28688 12965 9103 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:888 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:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x7f9909e44120 RSP: 002b:00007fff6f2de018 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9909e44120 RDX: 00007fff6f2dff41 RSI: 0000000000000000 RDI: 00007fff6f2dff41 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001cca030 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 2 locks held by getty/7706: #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/7707: #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/7708: #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/7709: #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/7710: #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/7711: #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/7712: #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.2/12954: #0: (&type->s_umount_key#80/1){+.+.}, at: [] alloc_super fs/super.c:251 [inline] #0: (&type->s_umount_key#80/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 3 locks held by syz-executor.5/12962: #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#81){.+.+}, at: [] __get_super.part.0+0x1c6/0x280 fs/super.c:678 1 lock held by syz-executor.5/12992: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 1 lock held by blkid/12965: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x131/0x10d0 fs/block_dev.c:1457 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1056 Comm: khungtaskd Not tainted 4.14.174-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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.14.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet task: ffff8880a9a1e5c0 task.stack: ffff8880a9a28000 RIP: 0010:unwind_next_frame+0xea8/0x17a0 arch/x86/kernel/unwind_orc.c:474 RSP: 0018:ffff8880a9a2f5e0 EFLAGS: 00000a06 RAX: 1ffffffff129c188 RBX: ffff8880a9a2f690 RCX: dffffc0000000000 RDX: ffff8880a9a2f6d0 RSI: 0000000000000000 RDI: ffffffff894e0c42 RBP: 1ffff11015345ec3 R08: ffffffff894e0c44 R09: ffff8880a9a2fce8 R10: ffff8880a9a2f6c5 R11: 0000000000058071 R12: ffffffff894e0c40 R13: ffff8880a9a2f6c8 R14: ffff8880a9a2fd60 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001e52650 CR3: 000000008abd7000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __save_stack_trace+0x6b/0xd0 arch/x86/kernel/stacktrace.c:44 save_stack+0x32/0xa0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc mm/kasan/kasan.c:551 [inline] kasan_kmalloc+0xbf/0xe0 mm/kasan/kasan.c:529 slab_post_alloc_hook mm/slab.h:442 [inline] slab_alloc mm/slab.c:3390 [inline] __do_kmalloc mm/slab.c:3718 [inline] __kmalloc+0x145/0x7c0 mm/slab.c:3729 kmalloc include/linux/slab.h:493 [inline] kzalloc include/linux/slab.h:661 [inline] batadv_tvlv_container_register+0x41/0x380 net/batman-adv/tvlv.c:245 batadv_tt_tvlv_container_update+0x19f/0x730 net/batman-adv/translation-table.c:1071 batadv_tt_local_commit_changes_nolock+0xa0b/0xb40 net/batman-adv/translation-table.c:3918 batadv_tt_local_commit_changes+0x22/0x30 net/batman-adv/translation-table.c:3946 batadv_iv_ogm_schedule_buff+0xc12/0xeb0 net/batman-adv/bat_iv_ogm.c:983 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:1041 [inline] batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:1034 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x500/0x6f0 net/batman-adv/bat_iv_ogm.c:1859 process_one_work+0x813/0x1540 kernel/workqueue.c:2116 worker_thread+0x5d1/0x1070 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 43 35 01 e9 8c f5 ff ff 4c 8b 74 24 58 49 8d 7c 24 02 48 b9 00 00 00 00 00 fc ff df 48 8d 53 40 48 89 f8 48 c1 e8 03 0f b6 34 08 <49> 8d 44 24 03 49 89 c0 49 c1 e8 03 41 0f b6 0c 08 49 89 f8 41