BUG: workqueue lockup - pool cpus=0 node=0 flags=0x0 nice=0 stuck for 167s! INFO: task syz-executor5:6724 blocked for more than 140 seconds. Not tainted 4.14.71+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D27864 6724 1827 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] do_truncate2+0xfd/0x1c0 fs/open.c:61 handle_truncate fs/namei.c:2998 [inline] do_last fs/namei.c:3417 [inline] path_openat+0xaea/0x23a0 fs/namei.c:3550 do_filp_open+0x197/0x270 fs/namei.c:3584 do_sys_open+0x2ef/0x580 fs/open.c:1071 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457679 RSP: 002b:00007fa0aa2fbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007fa0aa2fc6d4 RCX: 0000000000457679 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004cc688 R14: 00000000004bdcdc R15: 0000000000000002 INFO: task syz-executor5:6729 blocked for more than 140 seconds. Not tainted 4.14.71+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D30232 6729 1827 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] vfs_setxattr+0x89/0xe0 fs/xattr.c:219 setxattr+0x1c6/0x2b0 fs/xattr.c:453 SYSC_fsetxattr fs/xattr.c:508 [inline] SyS_fsetxattr+0x121/0x190 fs/xattr.c:497 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457679 RSP: 002b:00007fa0aa2dac78 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 00007fa0aa2db6d4 RCX: 0000000000457679 RDX: 0000000020000180 RSI: 0000000020000140 RDI: 0000000000000005 RBP: 000000000072c0e0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004ccbc8 R14: 00000000004c6f08 R15: 0000000000000003 INFO: task syz-executor5:6737 blocked for more than 140 seconds. Not tainted 4.14.71+ #8 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor5 D28696 6737 1827 0x00000004 Call Trace: schedule+0x7f/0x1b0 kernel/sched/core.c:3490 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline] rwsem_down_write_failed+0x390/0x730 kernel/locking/rwsem-xadd.c:594 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105 __down_write arch/x86/include/asm/rwsem.h:126 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:56 inode_lock include/linux/fs.h:713 [inline] ext4_file_write_iter+0x1fd/0xe20 fs/ext4/file.c:233 call_write_iter include/linux/fs.h:1782 [inline] do_iter_readv_writev+0x3a4/0x560 fs/read_write.c:678 do_iter_write+0x156/0x530 fs/read_write.c:957 vfs_iter_write+0x70/0xa0 fs/read_write.c:970 iter_file_splice_write+0x5b4/0xab0 fs/splice.c:749 do_splice_from fs/splice.c:851 [inline] direct_splice_actor+0x116/0x160 fs/splice.c:1018 splice_direct_to_actor+0x28c/0x750 fs/splice.c:973 do_splice_direct+0x17b/0x220 fs/splice.c:1061 do_sendfile+0x4a1/0xb50 fs/read_write.c:1438 SYSC_sendfile64 fs/read_write.c:1493 [inline] SyS_sendfile64+0xab/0x140 fs/read_write.c:1485 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457679 RSP: 002b:00007fa0aa277c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fa0aa2786d4 RCX: 0000000000457679 RDX: 0000000020000040 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 000000000072c2c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000100000001 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d50d0 R14: 00000000004c3512 R15: 0000000000000006 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x74/0x20f kernel/locking/lockdep.c:4541 1 lock held by rsyslogd/1631: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 2 locks held by getty/1759: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275 #1: (&ldata->atomic_read_lock){+.+.}, at: [] n_tty_read+0x1ff/0x15e0 drivers/tty/n_tty.c:2142 3 locks held by kworker/1:6/10899: #0: ("%s"("ipv6_addrconf")){+.+.}, at: [] process_one_work+0x787/0x15c0 kernel/workqueue.c:2085 #1: ((addr_chk_work).work){+.+.}, at: [] process_one_work+0x7bf/0x15c0 kernel/workqueue.c:2089 #2: (rtnl_mutex){+.+.}, at: [] addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4432 5 locks held by kworker/u4:9/16360: #0: ("%s""netns"){+.+.}, at: [] process_one_work+0x787/0x15c0 kernel/workqueue.c:2085 #1: (net_cleanup_work){+.+.}, at: [] process_one_work+0x7bf/0x15c0 kernel/workqueue.c:2089 #2: (net_mutex){+.+.}, at: [] cleanup_net+0x14c/0x880 net/core/net_namespace.c:449 #3: (rtnl_mutex){+.+.}, at: [] ip6_tnl_exit_net+0x77/0x580 net/ipv6/ip6_tunnel.c:2254 #4: (cpu_hotplug_lock.rw_sem){++++}, at: [] get_online_cpus include/linux/cpu.h:138 [inline] #4: (cpu_hotplug_lock.rw_sem){++++}, at: [] flush_all_backlogs net/core/dev.c:4631 [inline] #4: (cpu_hotplug_lock.rw_sem){++++}, at: [] rollback_registered_many+0x416/0xac0 net/core/dev.c:7168 2 locks held by syz-executor5/6724: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1543 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write+0x3a/0xa0 fs/namespace.c:387 #1: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#10){++++}, at: [] do_truncate2+0xfd/0x1c0 fs/open.c:61 2 locks held by syz-executor5/6729: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1543 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write_file_path+0x61/0x100 fs/namespace.c:450 #1: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#10){++++}, at: [] vfs_setxattr+0x89/0xe0 fs/xattr.c:219 2 locks held by syz-executor5/6737: #0: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #0: (sb_writers#4){.+.+}, at: [] do_sendfile+0x9b5/0xb50 fs/read_write.c:1437 #1: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #1: (&sb->s_type->i_mutex_key#10){++++}, at: [] ext4_file_write_iter+0x1fd/0xe20 fs/ext4/file.c:233 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.71+ #8 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 nmi_cpu_backtrace.cold.0+0x47/0x85 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x121/0x146 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x574/0xa70 kernel/hung_task.c:252 kthread+0x348/0x420 kernel/kthread.c:232 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6721 Comm: syz-executor1 Not tainted 4.14.71+ #8 task: ffff88019b284680 task.stack: ffff8801a6fb0000 RIP: 0010:inb arch/x86/include/asm/io.h:309 [inline] RIP: 0010:io_serial_in+0x60/0x80 drivers/tty/serial/8250/8250_port.c:450 RSP: 0018:ffff8801db8078f0 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000005 RDI: ffffffff8c11d998 RBP: ffffffff8c11d960 R08: 1ffffffff16c6f01 R09: ffffffff8a83860a R10: ffffed003b700ed3 R11: 0000000000000001 R12: 0000000000000020 R13: fffffbfff1823b72 R14: fffffbfff1823b35 R15: ffffffff8c11db92 FS: 00007eff29f43700(0000) GS:ffff8801db800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000b038 CR3: 00000001cf534006 CR4: 00000000001606b0 DR0: 0000000020000040 DR1: 0000000000000000 DR2: 0000000020000000 DR3: 0000000020000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: serial_in drivers/tty/serial/8250/8250.h:115 [inline] wait_for_xmitr+0x90/0x1e0 drivers/tty/serial/8250/8250_port.c:2032 serial8250_console_putchar+0x19/0x50 drivers/tty/serial/8250/8250_port.c:3184 uart_console_write+0x4b/0xd0 drivers/tty/serial/serial_core.c:1883 serial8250_console_write+0x51b/0x800 drivers/tty/serial/8250/8250_port.c:3250 call_console_drivers kernel/printk/printk.c:1574 [inline] console_unlock+0x5b9/0xb50 kernel/printk/printk.c:2242 vprintk_emit+0x112/0x150 kernel/printk/printk.c:1766 vprintk_func+0x58/0x159 kernel/printk/printk_safe.c:401 printk+0xa7/0xcf kernel/printk/printk.c:1838 wq_watchdog_timer_fn.cold.24+0x4b/0x70 kernel/workqueue.c:5473 call_timer_fn+0x163/0x6a0 kernel/time/timer.c:1279 expire_timers+0x1f3/0x4a0 kernel/time/timer.c:1318 __run_timers kernel/time/timer.c:1634 [inline] run_timer_softirq+0x3a5/0x560 kernel/time/timer.c:1649 __do_softirq+0x215/0x997 kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x10f/0x150 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x188/0x5f0 arch/x86/kernel/apic/apic.c:1064 apic_timer_interrupt+0x84/0x90 arch/x86/entry/entry_64.S:787 RIP: 0010:__sanitizer_cov_trace_pc+0x28/0x60 kernel/kcov.c:68 RSP: 0018:ffff8801a6fb79a8 EFLAGS: 00000297 ORIG_RAX: ffffffffffffff10 RAX: ffff88019b284680 RBX: 0000000000058fe4 RCX: 1ffff10034df6f5c RDX: 0000000000000000 RSI: 1ffff10034df6f63 RDI: ffffffff89c95e08 RBP: ffff8801a6fb7ae0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89c95960 R13: 1ffff10034df6f3d R14: ffffed0034df6f62 R15: ffffc90000026050 ___bpf_prog_run+0xfea/0x5c70 kernel/bpf/core.c:1180 Code: 30 0f b6 8d d1 00 00 00 48 8d 7d 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 d3 e3 80 3c 02 00 75 13 03 5d 38 89 da ec <0f> b6 c0 5b 5d c3 e8 15 df 7d ff eb c9 e8 3e df 7d ff eb e6 66