netlink: 41 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 41 bytes leftover after parsing attributes in process `syz-executor0'. INFO: task syz-executor1:3724 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-executor1 D29272 3724 30068 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] new_sync_write fs/read_write.c:471 [inline] __vfs_write+0x417/0x5c0 fs/read_write.c:484 vfs_write+0x17f/0x4d0 fs/read_write.c:546 SYSC_write fs/read_write.c:593 [inline] SyS_write+0xc2/0x1a0 fs/read_write.c:585 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457679 RSP: 002b:00007f663b5f5c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f663b5f66d4 RCX: 0000000000457679 RDX: 0000000000000015 RSI: 0000000020000080 RDI: 0000000000000004 RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004d8b90 R14: 00000000004c540d R15: 0000000000000002 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 3 locks held by rs:main Q:Reg/1630: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 #1: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #1: (sb_writers#4){.+.+}, at: [] vfs_write+0x3d7/0x4d0 fs/read_write.c:545 #2: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_trylock include/linux/fs.h:733 [inline] #2: (&sb->s_type->i_mutex_key#10){++++}, at: [] ext4_file_write_iter+0x1b9/0xe20 fs/ext4/file.c:230 2 locks held by getty/1760: #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 2 locks held by syz-fuzzer/1784: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x26d/0xb60 arch/x86/mm/fault.c:1354 #1: (sb_pagefaults){.+.+}, at: [] sb_start_pagefault include/linux/fs.h:1572 [inline] #1: (sb_pagefaults){.+.+}, at: [] ext4_page_mkwrite+0x167/0xf40 fs/ext4/inode.c:6084 2 locks held by syz-fuzzer/1790: #0: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x26d/0xb60 arch/x86/mm/fault.c:1354 #1: (sb_pagefaults){.+.+}, at: [] sb_start_pagefault include/linux/fs.h:1572 [inline] #1: (sb_pagefaults){.+.+}, at: [] ext4_page_mkwrite+0x167/0xf40 fs/ext4/inode.c:6084 2 locks held by syz-executor4/1849: #0: (&type->i_mutex_dir_key){++++}, at: [] inode_lock_shared include/linux/fs.h:723 [inline] #0: (&type->i_mutex_dir_key){++++}, at: [] iterate_dir+0xb9/0x5e0 fs/readdir.c:41 #1: (sb_writers#4){.+.+}, at: [] sb_start_write_trylock include/linux/fs.h:1548 [inline] #1: (sb_writers#4){.+.+}, at: [] touch_atime+0x144/0x270 fs/inode.c:1723 3 locks held by syz-executor3/1850: #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: (&type->i_mutex_dir_key/1){+.+.}, at: [] inode_lock_nested include/linux/fs.h:748 [inline] #1: (&type->i_mutex_dir_key/1){+.+.}, at: [] do_unlinkat+0x273/0x650 fs/namei.c:4083 #2: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #2: (&sb->s_type->i_mutex_key#10){++++}, at: [] vfs_unlink2+0xc5/0x470 fs/namei.c:4017 2 locks held by syz-executor2/1851: #0: (&type->i_mutex_dir_key){++++}, at: [] inode_lock_shared include/linux/fs.h:723 [inline] #0: (&type->i_mutex_dir_key){++++}, at: [] iterate_dir+0xb9/0x5e0 fs/readdir.c:41 #1: (sb_writers#4){.+.+}, at: [] sb_start_write_trylock include/linux/fs.h:1548 [inline] #1: (sb_writers#4){.+.+}, at: [] touch_atime+0x144/0x270 fs/inode.c:1723 4 locks held by kworker/u4:6/2513: #0: ("writeback"){+.+.}, at: [] process_one_work+0x787/0x15c0 kernel/workqueue.c:2085 #1: ((&(&wb->dwork)->work)){+.+.}, at: [] process_one_work+0x7bf/0x15c0 kernel/workqueue.c:2089 #2: (&type->s_umount_key#34){++++}, at: [] trylock_super+0x1a/0xe0 fs/super.c:402 #3: (&sbi->s_journal_flag_rwsem){++++}, at: [] do_writepages+0xe0/0x270 mm/page-writeback.c:2341 2 locks held by syz-executor5/7018: #0: (&type->i_mutex_dir_key){++++}, at: [] inode_lock_shared include/linux/fs.h:723 [inline] #0: (&type->i_mutex_dir_key){++++}, at: [] iterate_dir+0xb9/0x5e0 fs/readdir.c:41 #1: (sb_writers#4){.+.+}, at: [] sb_start_write_trylock include/linux/fs.h:1548 [inline] #1: (sb_writers#4){.+.+}, at: [] touch_atime+0x144/0x270 fs/inode.c:1723 2 locks held by syz-executor2/8958: #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 2 locks held by syz-executor0/22285: #0: (&type->i_mutex_dir_key){++++}, at: [] inode_lock_shared include/linux/fs.h:723 [inline] #0: (&type->i_mutex_dir_key){++++}, at: [] iterate_dir+0xb9/0x5e0 fs/readdir.c:41 #1: (sb_writers#4){.+.+}, at: [] sb_start_write_trylock include/linux/fs.h:1548 [inline] #1: (sb_writers#4){.+.+}, at: [] touch_atime+0x144/0x270 fs/inode.c:1723 2 locks held by syz-executor4/23039: #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 2 locks held by syz-executor5/29170: #0: (&tty->ldisc_sem){++++}, at: [] tty_ldisc_ref_wait+0x20/0x80 drivers/tty/tty_ldisc.c:275 #1: (&tty->atomic_write_lock){+.+.}, at: [] tty_write_lock+0x1b/0x60 drivers/tty/tty_io.c:883 1 lock held by syz-executor1/31316: #0: (&pipe->mutex/1){+.+.}, at: [] pipe_lock_nested fs/pipe.c:67 [inline] #0: (&pipe->mutex/1){+.+.}, at: [] pipe_lock+0x58/0x70 fs/pipe.c:75 3 locks held by syz-executor1/3720: #0: (sb_writers#4){.+.+}, at: [] sb_start_write include/linux/fs.h:1543 [inline] #0: (sb_writers#4){.+.+}, at: [] mnt_want_write_file+0xfa/0x300 fs/namespace.c:498 #1: (&journal->j_barrier){+.+.}, at: [] jbd2_journal_lock_updates+0x2e9/0x4b0 fs/jbd2/transaction.c:761 #2: (&journal->j_checkpoint_mutex){+.+.}, at: [] jbd2_journal_flush+0x140/0x4f0 fs/jbd2/journal.c:1987 2 locks held by syz-executor1/3723: #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 3 locks held by syz-executor1/3724: #0: (&f->f_pos_lock){+.+.}, at: [] __fdget_pos+0xa2/0xc0 fs/file.c:768 #1: (sb_writers#4){.+.+}, at: [] file_start_write include/linux/fs.h:2722 [inline] #1: (sb_writers#4){.+.+}, at: [] vfs_write+0x3d7/0x4d0 fs/read_write.c:545 #2: (&sb->s_type->i_mutex_key#10){++++}, at: [] inode_lock include/linux/fs.h:713 [inline] #2: (&sb->s_type->i_mutex_key#10){++++}, at: [] ext4_file_write_iter+0x1fd/0xe20 fs/ext4/file.c:233 ============================================= NMI backtrace for cpu 0 CPU: 0 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3358 Comm: syz-executor3 Not tainted 4.14.71+ #8 task: ffff8801a067c680 task.stack: ffff8801a43b8000 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 RSP: 0018:ffff8801a43bff00 EFLAGS: 00000282 RAX: ffffffffffffffff RBX: ffff8801a43bff58 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff969d3aa0 RBP: ffffffffffffffff R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801a067c680 R13: ffff8801a43bffd0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fb7c90c1700(0000) GS:ffff8801db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe26df2fc8 CR3: 00000001a6848005 CR4: 00000000001606a0 Call Trace: do_syscall_64+0x79/0x4b0 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x457679 RSP: 002b:00007fb7c90c0cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffff001 RBX: 000000000072bf08 RCX: 0000000000457679 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000072bf08 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000072bf0c R13: 00007fff6484317f R14: 00007fb7c90c19c0 R15: 0000000000000000 Code: ff ff 48 89 df e8 b1 f8 21 00 e9 9f fe ff ff 4c 89 e7 e8 a4 f8 21 00 e9 2c fe ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <65> 48 8b 04 25 c0 de 01 00 48 85 c0 74 1a 65 8b 15 2b 25 d1 6c