INFO: task syz-executor.1:11243 blocked for more than 143 seconds. Not tainted 5.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27232 pid:11243 ppid: 8474 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902 raw_init+0x296/0x340 net/can/raw.c:339 can_create+0x27c/0x4d0 net/can/af_can.c:168 __sock_create+0x3de/0x780 net/socket.c:1408 sock_create net/socket.c:1459 [inline] __sys_socket+0xef/0x200 net/socket.c:1501 __do_sys_socket net/socket.c:1510 [inline] __se_sys_socket net/socket.c:1508 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1508 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007fabc4f38188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffed0fd21ef R14: 00007fabc4f38300 R15: 0000000000022000 INFO: task syz-executor.1:11262 blocked for more than 143 seconds. Not tainted 5.13.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:22968 pid:11262 ppid: 8474 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:4339 [inline] __schedule+0x916/0x23e0 kernel/sched/core.c:5147 schedule+0xcf/0x270 kernel/sched/core.c:5226 rwsem_down_write_slowpath+0x7e5/0x1200 kernel/locking/rwsem.c:1106 __down_write_common kernel/locking/rwsem.c:1261 [inline] __down_write_common kernel/locking/rwsem.c:1258 [inline] __down_write kernel/locking/rwsem.c:1270 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1407 register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902 raw_init+0x296/0x340 net/can/raw.c:339 can_create+0x27c/0x4d0 net/can/af_can.c:168 __sock_create+0x3de/0x780 net/socket.c:1408 sock_create net/socket.c:1459 [inline] __sys_socket+0xef/0x200 net/socket.c:1501 __do_sys_socket net/socket.c:1510 [inline] __se_sys_socket net/socket.c:1508 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1508 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 RSP: 002b:00007fabc4ed5188 EFLAGS: 00000246 ORIG_RAX: 0000000000000029 RAX: ffffffffffffffda RBX: 000000000056c1a8 RCX: 00000000004665d9 RDX: 0000000000000001 RSI: 0000000000000003 RDI: 000000000000001d RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c1a8 R13: 00007ffed0fd21ef R14: 00007fabc4ed5300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1643: #0: ffffffff8bf79320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6333 1 lock held by in:imklog/8143: #0: ffff888030c97c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:974 2 locks held by kworker/u4:15/15498: 3 locks held by kworker/u4:23/15517: #0: ffff88801618b138 ((wq_completion)netns){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801618b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff88801618b138 ((wq_completion)netns){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff88801618b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:617 [inline] #0: ffff88801618b138 ((wq_completion)netns){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:644 [inline] #0: ffff88801618b138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x871/0x1600 kernel/workqueue.c:2247 #1: ffffc9000303fda8 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1600 kernel/workqueue.c:2251 #2: ffffffff8d691a50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x9b/0xb10 net/core/net_namespace.c:557 1 lock held by syz-executor.1/11243: #0: ffffffff8d691a50 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902 1 lock held by syz-executor.1/11262: #0: ffffffff8d691a50 (pernet_ops_rwsem){++++}-{3:3}, at: register_netdevice_notifier+0x1e/0x260 net/core/dev.c:1902 1 lock held by syz-executor.2/11379: #0: ffffffff8d691a50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2fa/0x760 net/core/net_namespace.c:470 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1643 Comm: khungtaskd Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x141/0x1d7 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd48/0xfb0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8144 Comm: rs:main Q:Reg Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:mark_buffer_dirty+0x0/0x5d0 fs/buffer.c:1108 Code: ef e8 74 90 e4 ff e9 b0 fd ff ff 48 89 df e8 67 90 e4 ff e9 34 fe ff ff e8 5d 90 e4 ff e9 e9 fd ff ff 0f 1f 84 00 00 00 00 00 <41> 55 41 54 55 53 48 89 fb e8 c2 89 9f ff be 08 00 00 00 48 89 df RSP: 0018:ffffc9000c02f7e0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffff88801cf60000 RSI: ffffffff8206793a RDI: ffff88801a8ea488 RBP: ffff88801a8ea488 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff820677b2 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffffc9000c02f958 FS: 00007f8006479700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30598e2020 CR3: 000000002ac5b000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ext4_handle_dirty_metadata+0x3d5/0x730 fs/ext4/ext4_jbd2.c:362 ext4_do_update_inode fs/ext4/inode.c:5139 [inline] ext4_mark_iloc_dirty+0x19b6/0x38c0 fs/ext4/inode.c:5724 __ext4_mark_inode_dirty+0x222/0x8d0 fs/ext4/inode.c:5918 ext4_dirty_inode+0xd4/0x110 fs/ext4/inode.c:5947 __mark_inode_dirty+0x6e3/0x10f0 fs/fs-writeback.c:2274 generic_update_time+0x21d/0x350 fs/inode.c:1772 update_time fs/inode.c:1785 [inline] file_update_time+0x434/0x520 fs/inode.c:2001 file_modified fs/inode.c:2024 [inline] file_modified+0x7d/0xa0 fs/inode.c:2009 ext4_write_checks fs/ext4/file.c:247 [inline] ext4_buffered_write_iter+0xff/0x4d0 fs/ext4/file.c:264 ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:680 call_write_iter include/linux/fs.h:2114 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x796/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8008ebd1cd Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007f8006478590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7ffc016f70 RCX: 00007f8008ebd1cd RDX: 0000000000000516 RSI: 00007f7ffc016f70 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 00007f7ffc016cf0 R13: 00007f80064785b0 R14: 000055e25b742440 R15: 0000000000000516