INFO: task syz-executor5:7199 blocked for more than 140 seconds. Not tainted 4.19.0-rc7+ #57 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D23240 7199 5557 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 fanotify_get_response fs/notify/fanotify/fanotify.c:68 [inline] fanotify_handle_event+0x7fb/0x9a0 fs/notify/fanotify/fanotify.c:245 send_to_group fs/notify/fsnotify.c:234 [inline] fsnotify+0x87f/0x12f0 fs/notify/fsnotify.c:367 fsnotify_perm include/linux/fsnotify.h:52 [inline] security_file_open+0x16f/0x1b0 security/security.c:986 do_dentry_open+0x331/0x1250 fs/open.c:758 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bf/0x5160 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:1276 [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:00007feef0961c78 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: 00007feef09626d4 R13: 00000000004bdb2f R14: 00000000004cc688 R15: 00000000ffffffff INFO: task syz-executor5:7203 blocked for more than 140 seconds. Not tainted 4.19.0-rc7+ #57 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D24048 7203 5557 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3473 schedule+0xfe/0x460 kernel/sched/core.c:3517 fanotify_get_response fs/notify/fanotify/fanotify.c:68 [inline] fanotify_handle_event+0x7fb/0x9a0 fs/notify/fanotify/fanotify.c:245 send_to_group fs/notify/fsnotify.c:234 [inline] fsnotify+0x87f/0x12f0 fs/notify/fsnotify.c:367 fsnotify_perm include/linux/fsnotify.h:52 [inline] security_file_open+0x16f/0x1b0 security/security.c:986 do_dentry_open+0x331/0x1250 fs/open.c:758 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bf/0x5160 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:1276 [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:00007feef0940c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 0000000000457569 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000380 RBP: 000000000072bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007feef09416d4 R13: 00000000004bdb2f R14: 00000000004cc688 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/982: #0: 000000003c4728d6 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4435 1 lock held by rsyslogd/5282: #0: 0000000085f84e7b (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/5372: #0: 00000000ad30ea8c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000e0a9e562 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5373: #0: 0000000095c091b0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000002bced9fd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5374: #0: 0000000060993aea (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000a39cfb66 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5375: #0: 00000000d6a2212b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000179f1012 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5376: #0: 000000003f5753dc (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000b05c6d57 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5377: #0: 0000000032973c80 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000008dc15637 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/5378: #0: 000000000612ece3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001a8f8948 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 1 lock held by syz-executor5/7199: #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 1 lock held by syz-executor5/7203: #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 1 lock held by syz-executor5/7252: #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 1 lock held by syz-executor5/7253: #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000f9e3b242 (sb_writers#3){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 982 Comm: khungtaskd Not tainted 4.19.0-rc7+ #57 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+0x1c4/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1b3/0x1ed 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+0xb3e/0x1050 kernel/hung_task.c:265 kthread+0x35a/0x420 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:413 Sending NMI from CPU 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.553 msecs NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.19.0-rc7+ #57 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:match_held_lock+0x6d/0x8d0 kernel/locking/lockdep.c:3471 Code: ff ff ff 4f 55 eb 88 48 8d 04 13 48 c7 85 48 ff ff ff 70 fd 5f 81 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 f2 f2 f2 f2 40 0c 00 f2 f2 f2 65 48 8b 04 25 28 00 00 00 48 89 45 d0 31 c0 RSP: 0018:ffff8801daf07158 EFLAGS: 00000092 RAX: ffffed003b5e0e30 RBX: 1ffff1003b5e0e30 RCX: 0000000000000000 RDX: dffffc0000000000 RSI: ffffffff8939a7e0 RDI: ffff8801d9b10c50 RBP: ffff8801daf07248 R08: 0000000000000002 R09: 1ffffffff1273965 R10: ffffed003b5e4732 R11: ffff8801daf23993 R12: ffff8801d9b103c0 R13: ffff8801d9b10c40 R14: ffff8801daf07220 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001c0755000 CR4: 00000000001406e0 Call Trace: __lock_is_held+0xb5/0x140 kernel/locking/lockdep.c:3720 lock_is_held_type+0x118/0x210 kernel/locking/lockdep.c:3938 lock_is_held include/linux/lockdep.h:344 [inline] rcu_read_lock_sched_held+0x108/0x120 kernel/rcu/update.c:117 cpufreq_update_util kernel/sched/sched.h:2172 [inline] cfs_rq_util_change kernel/sched/fair.c:3055 [inline] update_cfs_rq_load_avg.part.64+0x253/0x2e0 kernel/sched/fair.c:3432 update_cfs_rq_load_avg kernel/sched/fair.c:3431 [inline] update_blocked_averages+0xb87/0x1e00 kernel/sched/fair.c:7363 _nohz_idle_balance+0x5ba/0x7a0 kernel/sched/fair.c:9349 nohz_idle_balance kernel/sched/fair.c:9402 [inline] run_rebalance_domains+0x2ec/0x500 kernel/sched/fair.c:9585 __do_softirq+0x30b/0xad8 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:412 scheduler_ipi+0x55a/0xad0 kernel/sched/core.c:1780 smp_reschedule_interrupt+0x109/0x650 arch/x86/kernel/smp.c:278 reschedule_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:888 RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:57 Code: e9 2c ff ff ff 48 89 c7 48 89 45 d8 e8 e3 e0 11 fa 48 8b 45 d8 e9 ca fe ff ff 48 89 df e8 d2 e0 11 fa eb 82 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 90 90 90 90 90 RSP: 0018:ffff8801d9b1fc30 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02 RAX: dffffc0000000000 RBX: 1ffff1003b363f8a RCX: 0000000000000000 RDX: 1ffffffff1263e54 RSI: 0000000000000001 RDI: ffffffff8931f2a0 RBP: ffff8801d9b1fc30 R08: ffff8801d9b103c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801d9b1fcf0 R13: ffffffff89f3be20 R14: 0000000000000000 R15: 0000000000000001 arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline] default_idle+0xbf/0x490 arch/x86/kernel/process.c:498 arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:489 default_idle_call+0x6d/0x90 kernel/sched/idle.c:93 cpuidle_idle_call kernel/sched/idle.c:153 [inline] do_idle+0x3db/0x5b0 kernel/sched/idle.c:262 cpu_startup_entry+0x10c/0x120 kernel/sched/idle.c:368 start_secondary+0x447/0x5f0 arch/x86/kernel/smpboot.c:271 secondary_startup_64+0xa4/0xb0 arch/x86/kernel/head_64.S:243