FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 INFO: task kworker/0:3:2087 blocked for more than 120 seconds. CPU: 1 PID: 19953 Comm: syz-executor5 Not tainted 4.16.0+ #3 Not tainted 4.16.0+ #3 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+0x1b9/0x294 lib/dump_stack.c:113 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold.4+0xa/0x1a lib/fault-inject.c:149 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kworker/0:3 D 19800 2087 2 0x80000000 Workqueue: events cgwb_release_workfn __should_failslab+0x124/0x180 mm/failslab.c:32 should_failslab+0x9/0x14 mm/slab_common.c:1522 slab_pre_alloc_hook mm/slab.h:423 [inline] slab_alloc mm/slab.c:3378 [inline] kmem_cache_alloc+0x2af/0x760 mm/slab.c:3552 kmem_cache_zalloc include/linux/slab.h:691 [inline] ext4_mb_new_blocks+0x773/0x4730 fs/ext4/mballoc.c:4538 Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x801/0x1e30 kernel/sched/core.c:3490 schedule+0xef/0x430 kernel/sched/core.c:3549 ext4_ext_map_blocks+0x2d63/0x6270 fs/ext4/extents.c:4461 bit_wait+0x18/0x90 kernel/sched/wait_bit.c:197 __wait_on_bit+0xb3/0x130 kernel/sched/wait_bit.c:48 out_of_line_wait_on_bit+0x204/0x3a0 kernel/sched/wait_bit.c:63 ext4_map_blocks+0x8d9/0x1b40 fs/ext4/inode.c:636 mpage_map_one_extent fs/ext4/inode.c:2452 [inline] mpage_map_and_submit_extent fs/ext4/inode.c:2505 [inline] ext4_writepages+0x2494/0x4030 fs/ext4/inode.c:2856 wait_on_bit include/linux/wait_bit.h:76 [inline] wb_shutdown+0x370/0x470 mm/backing-dev.c:366 do_writepages+0x9a/0x1a0 mm/page-writeback.c:2341 __filemap_fdatawrite_range+0x333/0x470 mm/filemap.c:445 filemap_write_and_wait_range+0x69/0xf0 mm/filemap.c:656 ext4_punch_hole+0x179/0x11c0 fs/ext4/inode.c:4227 cgwb_release_workfn+0x87/0x750 mm/backing-dev.c:509 ext4_fallocate+0x4ab/0x2300 fs/ext4/extents.c:4921 process_one_work+0xc1e/0x1b50 kernel/workqueue.c:2145 vfs_fallocate+0x4b4/0x8d0 fs/open.c:319 ksys_fallocate+0x56/0x90 fs/open.c:342 SYSC_fallocate fs/open.c:350 [inline] SyS_fallocate+0x2c/0x40 fs/open.c:348 do_syscall_64+0x29e/0x9d0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x455319 RSP: 002b:00007f9abb8a7c68 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f9abb8a86d4 RCX: 0000000000455319 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004c02 R11: 0000000000000246 R12: 0000000000000014 R13: 000000000000007d R14: 00000000006f3c58 R15: 0000000000000004 worker_thread+0x1cc/0x1440 kernel/workqueue.c:2279 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 Showing all locks held in the system: 2 locks held by khungtaskd/889: #0: 00000000c8d33ddd (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 00000000c8d33ddd (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 000000009348d2b6 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 2 locks held by kworker/0:3/2087: #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 000000009cc976e9 ((work_completion)(&wb->release_work)){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 2 locks held by getty/4451: #0: 000000009292fdb8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000295e0bdf (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4452: #0: 00000000eef6f645 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000006bf9e037 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4453: #0: 0000000089c4cd54 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000079b633ea (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4454: #0: 00000000387680f6 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000653058b6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4455: #0: 00000000111ed44c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000e2e40da3 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4456: #0: 00000000b4ab760d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000009f4f7b87 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4457: #0: 00000000099eccd3 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b516929e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 5 locks held by kworker/1:2/4803: #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: __write_once_size include/linux/compiler.h:215 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: atomic64_set include/asm-generic/atomic-instrumented.h:40 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: atomic_long_set include/asm-generic/atomic-long.h:57 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: set_work_data kernel/workqueue.c:617 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: 000000009f68f000 ((wq_completion)"events"){+.+.}, at: process_one_work+0xaef/0x1b50 kernel/workqueue.c:2116 #1: 00000000918b0deb ((perf_sched_work).work){+.+.}, at: process_one_work+0xb46/0x1b50 kernel/workqueue.c:2120 #2: 000000000e246c8a (perf_sched_mutex){+.+.}, at: perf_sched_delayed+0x18/0x70 kernel/events/core.c:4320 #3: 00000000dc5965c9 (cpu_hotplug_lock.rw_sem){++++}, at: static_key_disable+0x12/0x30 kernel/jump_label.c:178 #4: 00000000f4e97abb (jump_label_mutex){+.+.}, at: jump_label_lock kernel/jump_label.c:28 [inline] #4: 00000000f4e97abb (jump_label_mutex){+.+.}, at: static_key_disable_cpuslocked+0x22e/0x2f0 kernel/jump_label.c:169 1 lock held by syz-executor1/19960: #0: 00000000320913ed (event_mutex){+.+.}, at: perf_trace_destroy+0x28/0x100 kernel/trace/trace_event_perf.c:235 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 889 Comm: khungtaskd Not tainted 4.16.0+ #3 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+0x1b9/0x294 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 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:138 [inline] check_hung_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0xc10/0xf60 kernel/hung_task.c:249 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 13517 Comm: kworker/u4:5 Not tainted 4.16.0+ #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:167 [inline] RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline] RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline] RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline] RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline] RIP: 0010:check_memory_region+0x117/0x1b0 mm/kasan/kasan.c:267 RSP: 0018:ffff88018d9ef260 EFLAGS: 00000246 RAX: ffffed003b6246c3 RBX: 1ffff1003b6246c2 RCX: ffffffff8162e8a5 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff8801db123610 RBP: ffff88018d9ef278 R08: ffffed003b6246c3 R09: ffffed003b6246c2 R10: ffffed003b6246c2 R11: ffff8801db123613 R12: ffffed003b6246c3 R13: ffff8801db123610 R14: ffff88018d9ef300 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc41c25440 CR3: 00000001926aa000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_check_read+0x11/0x20 mm/kasan/kasan.c:272 atomic_read include/asm-generic/atomic-instrumented.h:21 [inline] rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:349 [inline] rcu_is_watching+0x85/0x140 kernel/rcu/tree.c:1075 rcu_read_unlock include/linux/rcupdate.h:684 [inline] inet_twsk_purge+0x728/0x860 net/ipv4/inet_timewait_sock.c:298 dccp_v6_exit_batch+0x1a/0x20 net/dccp/ipv6.c:1113 ops_exit_list.isra.7+0x105/0x160 net/core/net_namespace.c:155 cleanup_net+0x51d/0xb20 net/core/net_namespace.c:523 process_one_work+0xc1e/0x1b50 kernel/workqueue.c:2145 worker_thread+0x1cc/0x1440 kernel/workqueue.c:2279 kthread+0x345/0x410 kernel/kthread.c:238 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:411 Code: 0d 00 4d 85 c0 75 3e 4d 89 e0 49 29 c0 e9 6c ff ff ff 4d 85 c0 74 ba 48 b8 01 00 00 00 00 fc ff df 4d 01 c8 48 01 d8 41 80 39 00 <74> 08 e9 8c 00 00 00 48 89 d8 4c 39 c0 74 97 80 38 00 48 8d 58