syz-executor0(23799): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(23799): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(23799): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(23799): getblk(): executed=9 bh_count=0 bh_state=0 syz-executor0(23799): getblk(): executed=9 bh_count=0 bh_state=0 INFO: task kworker/u4:2:44 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:2 D12736 44 2 0x80000000 Workqueue: events_unbound fsnotify_mark_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 schedule_timeout+0x1cc/0x260 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x427/0x8a0 kernel/sched/completion.c:136 __synchronize_srcu+0x20a/0x2d0 kernel/rcu/srcutree.c:941 synchronize_srcu+0x44c/0x5b0 kernel/rcu/srcutree.c:1019 fsnotify_mark_destroy_workfn+0x1be/0x510 fs/notify/mark.c:776 process_one_work+0xc8b/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 INFO: task kworker/u4:5:7412 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/u4:5 D13936 7412 2 0x80000000 Workqueue: events_unbound fsnotify_connector_destroy_workfn Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 schedule_timeout+0x1cc/0x260 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x427/0x8a0 kernel/sched/completion.c:136 __synchronize_srcu+0x20a/0x2d0 kernel/rcu/srcutree.c:941 synchronize_srcu_expedited kernel/rcu/srcutree.c:966 [inline] synchronize_srcu+0x1d6/0x5b0 kernel/rcu/srcutree.c:1017 fsnotify_connector_destroy_workfn+0x44/0xa0 fs/notify/mark.c:176 process_one_work+0xc8b/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 INFO: task syz-executor5:23780 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D22776 23780 20572 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 schedule_timeout+0x1cc/0x260 kernel/time/timer.c:1780 do_wait_for_common kernel/sched/completion.c:83 [inline] __wait_for_common kernel/sched/completion.c:104 [inline] wait_for_common kernel/sched/completion.c:115 [inline] wait_for_completion+0x427/0x8a0 kernel/sched/completion.c:136 __flush_work+0x590/0x9b0 kernel/workqueue.c:2917 flush_work+0x17/0x20 kernel/workqueue.c:2938 lru_add_drain_all+0x433/0x5f0 mm/swap.c:701 invalidate_bdev+0x9e/0xe0 fs/block_dev.c:97 loop_clr_fd+0x49e/0xcf0 drivers/block/loop.c:1082 lo_ioctl+0x875/0x1d60 drivers/block/loop.c:1417 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x9ac/0x2010 block/ioctl.c:601 block_ioctl+0xee/0x130 fs/block_dev.c:1883 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702 __do_sys_ioctl fs/ioctl.c:709 [inline] __se_sys_ioctl fs/ioctl.c:707 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4573d7 Code: Bad RIP value. RSP: 002b:00007f42dfd78a88 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f42dfd78b30 RCX: 00000000004573d7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000006 RBP: 0000000020000340 R08: 00007f42dfd78b30 R09: 00007f42dfd78ad0 R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000005 R13: 0000000002000000 R14: 00000000004d7ec0 R15: 00000000ffffffff INFO: task syz-executor0:23805 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24216 23805 5581 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write_nested+0xa9/0x130 kernel/locking/rwsem.c:195 inode_lock_nested include/linux/fs.h:804 [inline] filename_create+0x1b2/0x5b0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mknodat+0x1c2/0x530 fs/namei.c:3755 __do_sys_mknod fs/namei.c:3795 [inline] __se_sys_mknod fs/namei.c:3793 [inline] __x64_sys_mknod+0x7b/0xb0 fs/namei.c:3793 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fefa366cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000340 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefa366d6d4 R13: 00000000004c2807 R14: 00000000004d3b40 R15: 00000000ffffffff INFO: task syz-executor0:23806 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25368 23806 5581 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 __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 inode_lock_shared include/linux/fs.h:779 [inline] do_last fs/namei.c:3323 [inline] path_openat+0x2444/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_openat fs/open.c:1090 [inline] __se_sys_openat fs/open.c:1084 [inline] __x64_sys_openat+0x9d/0x100 fs/open.c:1084 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fefa364bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000457569 RDX: 0000000000000002 RSI: 0000000020000200 RDI: 0000000000000008 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefa364c6d4 R13: 00000000004c2afe R14: 00000000004d4128 R15: 00000000ffffffff INFO: task syz-executor0:23810 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D25896 23810 5581 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 syz-executor0(23799): getblk(): executed=9 bh_count=0 bh_state=0 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write_nested+0xa9/0x130 kernel/locking/rwsem.c:195 inode_lock_nested include/linux/fs.h:804 [inline] do_rmdir+0x38f/0x630 fs/namei.c:3929 __do_sys_rmdir fs/namei.c:3959 [inline] __se_sys_rmdir fs/namei.c:3957 [inline] __x64_sys_rmdir+0x36/0x40 fs/namei.c:3957 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fefa362ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000380 RBP: 000000000072c0e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefa362b6d4 R13: 00000000004c32b7 R14: 00000000004d4ef0 R15: 00000000ffffffff INFO: task syz-executor0:23812 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D22776 23812 5581 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write_nested+0xa9/0x130 kernel/locking/rwsem.c:195 inode_lock_nested include/linux/fs.h:804 [inline] filename_create+0x1b2/0x5b0 fs/namei.c:3635 user_path_create fs/namei.c:3693 [inline] do_mknodat+0x1c2/0x530 fs/namei.c:3755 __do_sys_mknod fs/namei.c:3795 [inline] __se_sys_mknod fs/namei.c:3793 [inline] __x64_sys_mknod+0x7b/0xb0 fs/namei.c:3793 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fefa3609c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000085 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000340 RBP: 000000000072c180 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefa360a6d4 R13: 00000000004c2807 R14: 00000000004d3b40 R15: 00000000ffffffff INFO: task syz-executor0:23827 blocked for more than 140 seconds. Not tainted 4.19.0-rc8-next-20181019+ #98 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D24648 23827 5581 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x8cf/0x21d0 kernel/sched/core.c:3480 schedule+0xfe/0x460 kernel/sched/core.c:3524 __rwsem_down_write_failed_common+0xc9a/0x15e0 kernel/locking/rwsem-xadd.c:577 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:606 call_rwsem_down_write_failed+0x17/0x30 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0xa5/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:764 [inline] do_last fs/namei.c:3321 [inline] path_openat+0x15c4/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 ksys_open include/linux/syscalls.h:1292 [inline] __do_sys_creat fs/open.c:1121 [inline] __se_sys_creat fs/open.c:1119 [inline] __x64_sys_creat+0x61/0x80 fs/open.c:1119 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: Bad RIP value. RSP: 002b:00007fefa35e8c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000072c220 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefa35e96d4 R13: 00000000004bdb2f R14: 00000000004cc688 R15: 00000000ffffffff Showing all locks held in the system: 5 locks held by kworker/u4:1/21: #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: __write_once_size include/linux/compiler.h:206 [inline] #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 00000000db00d562 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0xb43/0x1c40 kernel/workqueue.c:2124 #1: 00000000bedd2df5 (net_cleanup_work){+.+.}, at: process_one_work+0xb9a/0x1c40 kernel/workqueue.c:2128 #2: 000000009b016d3a (pernet_ops_rwsem){++++}, at: cleanup_net+0x13f/0xb10 net/core/net_namespace.c:518 #3: 0000000065da7658 (rtnl_mutex){+.+.}, at: rtnl_lock+0x17/0x20 net/core/rtnetlink.c:77 #4: 000000003413cd3b (cpu_hotplug_lock.rw_sem){++++}, at: get_online_cpus include/linux/cpu.h:130 [inline] #4: 000000003413cd3b (cpu_hotplug_lock.rw_sem){++++}, at: flush_all_backlogs net/core/dev.c:5290 [inline] #4: 000000003413cd3b (cpu_hotplug_lock.rw_sem){++++}, at: rollback_registered_many+0x5ff/0x1250 net/core/dev.c:7987 2 locks held by kworker/u4:2/44: #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:206 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0xb43/0x1c40 kernel/workqueue.c:2124 #1: 00000000bd103480 ((reaper_work).work){+.+.}, at: process_one_work+0xb9a/0x1c40 kernel/workqueue.c:2128 1 lock held by khungtaskd/982: #0: 00000000c98b9a15 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 1 lock held by rsyslogd/5450: #0: 00000000cfced649 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5540: #0: 00000000c81eb977 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000009b80f584 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5541: #0: 0000000027441ab5 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000002ba4e3f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5542: #0: 00000000a6c55877 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000002cc9d21d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5543: #0: 0000000079efe0f3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000c3ab5261 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5544: #0: 00000000c2515ef7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000eed0e1bf (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5545: #0: 0000000089aa3c89 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001ba4c807 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/5546: #0: 000000006f278663 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000db5b6abb (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by kworker/u4:5/7412: #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: __write_once_size include/linux/compiler.h:206 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:59 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000003508e40c ((wq_completion)"events_unbound"){+.+.}, at: process_one_work+0xb43/0x1c40 kernel/workqueue.c:2124 #1: 000000008bccfdf5 (connector_reaper_work){+.+.}, at: process_one_work+0xb9a/0x1c40 kernel/workqueue.c:2128 3 locks held by kworker/0:1/9414: 2 locks held by syz-executor5/23780: #0: 000000000590cbbb (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x8e/0x1d60 drivers/block/loop.c:1404 #1: 000000009b52fe17 (lock#6){+.+.}, at: lru_add_drain_all+0xa6/0x5f0 mm/swap.c:683 3 locks held by syz-executor0/23799: 2 locks held by syz-executor0/23805: #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 00000000e864e811 (&sb->s_type->i_mutex_key#26/1){+.+.}, at: inode_lock_nested include/linux/fs.h:804 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#26/1){+.+.}, at: filename_create+0x1b2/0x5b0 fs/namei.c:3635 2 locks held by syz-executor0/23806: #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 00000000e864e811 (&sb->s_type->i_mutex_key#28){++++}, at: inode_lock_shared include/linux/fs.h:779 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#28){++++}, at: do_last fs/namei.c:3323 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#28){++++}, at: path_openat+0x2444/0x5150 fs/namei.c:3534 2 locks held by syz-executor0/23810: #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 00000000e864e811 (&sb->s_type->i_mutex_key#26/1){+.+.}, at: inode_lock_nested include/linux/fs.h:804 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#26/1){+.+.}, at: do_rmdir+0x38f/0x630 fs/namei.c:3929 2 locks held by syz-executor0/23812: #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 00000000e864e811 (&sb->s_type->i_mutex_key#26/1){+.+.}, at: inode_lock_nested include/linux/fs.h:804 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#26/1){+.+.}, at: filename_create+0x1b2/0x5b0 fs/namei.c:3635 2 locks held by syz-executor0/23827: #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1602 [inline] #0: 00000000c00f3b03 (sb_writers#17){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:359 #1: 00000000e864e811 (&sb->s_type->i_mutex_key#28){++++}, at: inode_lock include/linux/fs.h:764 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#28){++++}, at: do_last fs/namei.c:3321 [inline] #1: 00000000e864e811 (&sb->s_type->i_mutex_key#28){++++}, at: path_openat+0x15c4/0x5150 fs/namei.c:3534 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 982 Comm: khungtaskd Not tainted 4.19.0-rc8-next-20181019+ #98 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+0x244/0x39d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.2+0x5c/0xa1 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1e8/0x22a 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb39/0x1050 kernel/hung_task.c:265 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 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.856 msecs CPU: 0 PID: 23799 Comm: syz-executor0 Not tainted 4.19.0-rc8-next-20181019+ #98 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x303/0x8d0 kernel/locking/lockdep.c:3433 Code: 00 00 fc ff df 48 01 d3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 75 d0 65 48 33 34 25 28 00 00 00 0f 85 c3 02 00 00 <48> 81 c4 c8 00 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 b8 01 00 00 RSP: 0018:ffff8801b7ea6440 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffffed0036fd4c8d RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff8801bffc6bb2 RBP: ffff8801b7ea6530 R08: ffff8801bffc62c0 R09: ffffed003b5c5b4f R10: ffffed003b5c5b4f R11: ffff8801dae2da7b R12: ffff8801bffc62c0 R13: ffff8801bffc6b90 R14: ffff8801b7ea6508 R15: 0000000000000002 FS: 00007fefa368e700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30824000 CR3: 00000001c4ba5000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_is_held+0xb5/0x140 kernel/locking/lockdep.c:3664 lock_is_held_type+0x118/0x210 kernel/locking/lockdep.c:3882 lock_is_held include/linux/lockdep.h:339 [inline] rcu_read_lock_held+0xa9/0xc0 kernel/rcu/update.c:281 xa_entry include/linux/xarray.h:555 [inline] xas_descend+0x413/0x510 lib/xarray.c:198 xas_load+0x145/0x1e0 lib/xarray.c:234 find_get_entry+0x3ca/0x1120 mm/filemap.c:1415 pagecache_get_page+0x12f/0xf00 mm/filemap.c:1518 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1029 [inline] __getblk_slow fs/buffer.c:1062 [inline] __getblk_gfp+0x4ca/0x1030 fs/buffer.c:1351 __bread_gfp+0x2d/0x310 fs/buffer.c:1385 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x5a6/0xa40 fs/fat/dir.c:101 fat_get_entry fs/fat/dir.c:129 [inline] fat_search_long+0x33b/0x1570 fs/fat/dir.c:479 vfat_find+0x16d/0x1a0 fs/fat/namei_vfat.c:697 vfat_lookup+0x107/0x640 fs/fat/namei_vfat.c:711 lookup_open+0x72e/0x1b90 fs/namei.c:3213 do_last fs/namei.c:3324 [inline] path_openat+0x15e4/0x5150 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 ksys_open include/linux/syscalls.h:1292 [inline] __do_sys_creat fs/open.c:1121 [inline] __se_sys_creat fs/open.c:1119 [inline] __x64_sys_creat+0x61/0x80 fs/open.c:1119 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457569 Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fefa368dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fefa368e6d4 R13: 00000000004bdb2f R14: 00000000004cc688 R15: 00000000ffffffff