atomic_op 00000000f3120d39 conn xmit_atomic (null) atomic_op 000000008baf677f conn xmit_atomic (null) INFO: task syz-executor0:19505 blocked for more than 140 seconds. Not tainted 4.19.0-rc2+ #226 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor0 D23416 19505 4692 0x00000004 Call Trace: context_switch kernel/sched/core.c:2825 [inline] __schedule+0x87c/0x1df0 kernel/sched/core.c:3473 schedule+0xfb/0x450 kernel/sched/core.c:3517 __rwsem_down_write_failed_common+0x98b/0x1650 kernel/locking/rwsem-xadd.c:566 rwsem_down_write_failed+0xe/0x10 kernel/locking/rwsem-xadd.c:595 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+0xaa/0x130 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:738 [inline] do_truncate+0x19f/0x2b0 fs/open.c:61 handle_truncate fs/namei.c:3008 [inline] do_last fs/namei.c:3424 [inline] path_openat+0x34e3/0x5340 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x584/0x720 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:0x457099 Code: fd b4 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 b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f723b90fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f723b9106d4 RCX: 0000000000457099 RDX: 0000000000002761 RSI: 0000000020000200 RDI: ffffffffffffffff RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d3678 R14: 00000000004c83ea R15: 0000000000000001 Showing all locks held in the system: 1 lock held by khungtaskd/793: #0: 000000006ad9d5a4 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4436 1 lock held by rsyslogd/4553: 2 locks held by getty/4644: #0: 00000000ea3a5757 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000007b40e93a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4645: #0: 00000000316a5197 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000000be7f5c9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4646: #0: 000000009f432ad1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000001de84f9a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4647: #0: 000000000d21d31b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000d7668ce0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4648: #0: 00000000411d487d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000009b364a1f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4649: #0: 0000000030edb0b4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000005f899b8a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 2 locks held by getty/4650: #0: 00000000c6a3175c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000088ce4eb9 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2140 3 locks held by kworker/u4:6/9523: 4 locks held by syz-executor0/19502: 2 locks held by syz-executor0/19505: #0: 00000000d6a893b0 (sb_writers#21){.+.+}, at: sb_start_write include/linux/fs.h:1566 [inline] #0: 00000000d6a893b0 (sb_writers#21){.+.+}, at: mnt_want_write+0x3f/0xc0 fs/namespace.c:360 #1: 0000000067bc6c69 (&sb->s_type->i_mutex_key#28){++++}, at: inode_lock include/linux/fs.h:738 [inline] #1: 0000000067bc6c69 (&sb->s_type->i_mutex_key#28){++++}, at: do_truncate+0x19f/0x2b0 fs/open.c:61 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 793 Comm: khungtaskd Not tainted 4.19.0-rc2+ #226 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+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.3+0x48/0x88 lib/nmi_backtrace.c:101 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:144 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:204 [inline] watchdog+0xb39/0x1040 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 1 to CPUs 0: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.556 msecs NMI backtrace for cpu 0 CPU: 0 PID: 19502 Comm: syz-executor0 Not tainted 4.19.0-rc2+ #226 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:bpf_prog_array_valid include/linux/trace_events.h:307 [inline] RIP: 0010:perf_trace_lock_acquire+0x189/0x9a0 include/trace/events/lock.h:13 Code: 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 43 05 00 00 49 8d 44 24 80 49 8b 97 80 00 00 00 <48> be 00 00 00 00 00 fc ff df 48 89 c7 48 c1 ef 03 80 3c 37 00 0f RSP: 0018:ffff880191f26448 EFLAGS: 00000046 RAX: ffff880191f26578 RBX: 1ffff100323e4c93 RCX: ffff880191f264b8 RDX: 0000000000000000 RSI: 1ffff100323e4c97 RDI: ffffffff8817c9c0 RBP: ffff880191f26620 R08: 0000000000000002 R09: ffffffff881937a0 R10: dffffc0000000000 R11: ffffffff815ea5b0 R12: ffff880191f265f8 R13: ffffe8ffffcb4ec8 R14: 000000000000000d R15: ffffffff8817c940 FS: 00007f723b931700(0000) GS:ffff8801db000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000001990a7000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x374/0x4f0 kernel/locking/lockdep.c:3900 rcu_lock_acquire include/linux/rcupdate.h:244 [inline] rcu_read_lock include/linux/rcupdate.h:629 [inline] find_get_entry+0x130/0xc90 mm/filemap.c:1428 pagecache_get_page+0x11e/0xe40 mm/filemap.c:1541 find_get_page_flags include/linux/pagemap.h:278 [inline] __find_get_block_slow fs/buffer.c:205 [inline] __find_get_block+0x5b1/0xdf0 fs/buffer.c:1294 __getblk_slow fs/buffer.c:1039 [inline] __getblk_gfp+0x2be/0xb10 fs/buffer.c:1320 __bread_gfp+0x2d/0x310 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] fat12_ent_bread+0x14e/0x3d0 fs/fat/fatent.c:76 fat_ent_read+0x646/0xc10 fs/fat/fatent.c:368 fat_free_clusters+0x314/0xe90 fs/fat/fatent.c:565 fat_free fs/fat/file.c:379 [inline] fat_truncate_blocks+0x9dd/0x1190 fs/fat/file.c:397 fat_setattr+0x810/0xc90 fs/fat/file.c:541 notify_change+0xbde/0x1110 fs/attr.c:334 do_truncate+0x1ac/0x2b0 fs/open.c:63 handle_truncate fs/namei.c:3008 [inline] do_last fs/namei.c:3424 [inline] path_openat+0x34e3/0x5340 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x584/0x720 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:0x457099 Code: fd b4 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 b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f723b930c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f723b9316d4 RCX: 0000000000457099 RDX: 0000000000002761 RSI: 0000000020000200 RDI: ffffffffffffffff RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d3678 R14: 00000000004c83ea R15: 0000000000000000