kworker/dying (3056) used greatest stack depth: 9288 bytes left INFO: task syz-executor2:29478 blocked for more than 140 seconds. Not tainted 4.20.0+ #396 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D21208 29478 17626 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x371/0x710 kernel/locking/rwsem-xadd.c:297 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x9b/0x120 kernel/locking/rwsem.c:26 __get_super.part.11+0x207/0x2e0 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2d/0x50 fs/super.c:727 fsync_bdev+0x17/0xc0 fs/block_dev.c:495 invalidate_partition+0x35/0x60 block/genhd.c:1579 drop_partitions.isra.14+0xe1/0x200 block/partition-generic.c:443 rescan_partitions+0x72/0x8e0 block/partition-generic.c:516 __blkdev_reread_part+0x1ad/0x230 block/ioctl.c:173 blkdev_reread_part+0x26/0x40 block/ioctl.c:193 loop_reread_partitions+0x1c/0x40 drivers/block/loop.c:634 loop_set_status+0xcd8/0x10e0 drivers/block/loop.c:1269 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1389 lo_ioctl+0x904/0x22a0 drivers/block/loop.c:1515 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xd84/0x21b0 block/ioctl.c:605 block_ioctl+0xee/0x130 fs/block_dev.c:1909 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457ec9 Code: Bad RIP value. RSP: 002b:00007fccf2cd0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457ec9 RDX: 0000000020000380 RSI: 0000000000004c04 RDI: 000000000000000e RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fccf2cd16d4 R13: 00000000004c1277 R14: 00000000004d2b50 R15: 00000000ffffffff INFO: task syz-executor0:29475 blocked for more than 140 seconds. Not tainted 4.20.0+ #396 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D23032 29475 7871 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 blkdev_put+0x34/0x540 fs/block_dev.c:1842 blkdev_close+0x8b/0xb0 fs/block_dev.c:1891 __fput+0x385/0xa50 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411c91 Code: 2e 0f 1f 84 00 00 00 00 00 31 c0 c3 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 31 c0 c3 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 48 07 b0 20 41 00 31 c0 c3 66 0f 1f 44 00 00 41 54 55 53 80 bf d4 RSP: 002b:00007fff90b39720 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000411c91 RDX: 0000000000000000 RSI: 0000000000001a78 RDI: 0000000000000005 RBP: 0000000000000000 R08: 000000003bbfba7c R09: 0000000000000000 R10: 00007fff90b39650 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 00000000000002bb R15: 0000000000000000 INFO: task blkid:29490 blocked for more than 140 seconds. Not tainted 4.20.0+ #396 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D23672 29490 8732 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xef/0x370 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x13b0 fs/block_dev.c:1492 blkdev_get+0xc1/0xb50 fs/block_dev.c:1643 blkdev_open+0x1fb/0x280 fs/block_dev.c:1801 do_dentry_open+0x499/0x1250 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bc/0x5160 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x780 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f04c24bf120 Code: Bad RIP value. RSP: 002b:00007ffe104cd058 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f04c24bf120 RDX: 00007ffe104cef40 RSI: 0000000000000000 RDI: 00007ffe104cef40 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000018ca030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 000000003e4d7bc3 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7744: #0: 00000000fce27c41 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:795 2 locks held by getty/7834: #0: 000000005ac9a81d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000512214e7 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/7835: #0: 00000000bb2b3a7f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004e1a0761 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/7836: #0: 000000001505f6f1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000001016611c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/7837: #0: 000000000b7f23fe (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003f8f61ee (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/7838: #0: 00000000d2ba76a8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000e8a3eaa (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/7839: #0: 00000000805b882d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000fe9a63f6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by getty/7840: #0: 000000004e52d430 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000007ad37a6b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ee0 drivers/tty/n_tty.c:2154 2 locks held by syz-executor2/29478: #0: 00000000e81c009b (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1e/0x40 block/ioctl.c:192 #1: 000000003be31aaa (&type->s_umount_key#77){++++}, at: __get_super.part.11+0x207/0x2e0 fs/super.c:698 1 lock held by syz-executor0/29475: #0: 00000000e81c009b (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x34/0x540 fs/block_dev.c:1842 2 locks held by syz-executor0/29480: 1 lock held by blkid/29490: #0: 00000000e81c009b (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13b0 fs/block_dev.c:1492 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1040 Comm: khungtaskd Not tainted 4.20.0+ #396 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d3/0x2c6 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1c2/0x22c lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb51/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 2967 Comm: kworker/0:2 Not tainted 4.20.0+ #396 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_power_efficient gc_worker RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:2761 [inline] RIP: 0010:lockdep_hardirqs_on+0x194/0x5c0 kernel/locking/lockdep.c:2814 Code: 01 00 48 8d bb 48 08 00 00 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 2d 03 00 00 c7 83 48 08 00 00 01 00 00 00 <31> f6 48 89 df e8 72 8c ff ff 85 c0 0f 84 c7 00 00 00 48 8d bb 68 RSP: 0018:ffff88809e827430 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff88809e84e280 RCX: 0000000000000000 RDX: 1ffff11013d09d59 RSI: ffffffff81880c04 RDI: ffff88809e84eac8 RBP: ffff88809e827440 R08: ffff88809e84e280 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff865889c2 R13: 0000000000000200 R14: ffffffff865889c2 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f04c24bf0f6 CR3: 000000009070e000 CR4: 00000000001426f0 Call Trace: trace_hardirqs_on+0xbd/0x310 kernel/trace/trace_preemptirq.c:30 seqcount_lockdep_reader_access include/linux/seqlock.h:83 [inline] read_seqcount_begin include/linux/seqlock.h:164 [inline] nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:307 [inline] gc_worker+0xbb2/0x1110 net/netfilter/nf_conntrack_core.c:1160 process_one_work+0xc90/0x1c40 kernel/workqueue.c:2153 worker_thread+0x17f/0x1390 kernel/workqueue.c:2296 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352