[ 52.213487][ T6721] ext4_append+0x153/0x360 [ 52.218615][ T6721] ext4_mkdir+0x5e0/0xdf0 [ 52.223458][ T6721] ? ext4_rmdir+0xde0/0xde0 [ 52.227942][ T6721] ? security_inode_permission+0xc4/0xf0 [ 52.233643][ T6721] vfs_mkdir+0x419/0x690 [ 52.237869][ T6721] do_mkdirat+0x21e/0x280 [ 52.242179][ T6721] ? __ia32_sys_mknod+0xb0/0xb0 [ 52.247183][ T6721] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 52.253140][ T6721] ? do_syscall_64+0x21/0x7d0 [ 52.257795][ T6721] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 52.263970][ T6721] do_syscall_64+0xf6/0x7d0 [ 52.268549][ T6721] entry_SYSCALL_64_after_hwframe+0x49/0xb3 [ 52.274429][ T6721] RIP: 0033:0x7f6a4c57a687 [ 52.278841][ T6721] Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48 [ 52.298426][ T6721] RSP: 002b:00007fff8fc55058 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 52.306827][ T6721] RAX: ffffffffffffffda RBX: 00005591dec34985 RCX: 00007f6a4c57a687 [ 52.314774][ T6721] RDX: 00007fff8fc54f20 RSI: 00000000000001ed RDI: 00005591dec34985 [ 52.322724][ T6721] RBP: 00007f6a4c57a680 R08: 0000000000000100 R09: 0000000000000000 [ 52.330686][ T6721] R10: 00005591dec34980 R11: 0000000000000246 R12: 00000000000001ed [ 52.338994][ T6721] R13: 00007fff8fc551e0 R14: 0000000000000000 R15: 0000000000000000 [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 syzkaller login: [ 56.164798][ T108] BUG: using smp_processor_id() in preemptible [00000000] code: kworker/u4:3/108 [ 56.173952][ T108] caller is ext4_mb_new_blocks+0xa77/0x3b30 [ 56.180089][ T108] CPU: 0 PID: 108 Comm: kworker/u4:3 Not tainted 5.7.0-syzkaller #0 [ 56.188079][ T108] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.198217][ T108] Workqueue: writeback wb_workfn (flush-8:0) [ 56.204194][ T108] Call Trace: [ 56.207474][ T108] dump_stack+0x188/0x20d [ 56.211788][ T108] debug_smp_processor_id.cold+0x88/0x9b [ 56.217404][ T108] ext4_mb_new_blocks+0xa77/0x3b30 [ 56.222500][ T108] ? __kmalloc+0x62f/0x7a0 [ 56.226902][ T108] ? ext4_ext_search_right+0x2ca/0xb20 [ 56.232352][ T108] ? ext4_inode_to_goal_block+0x2df/0x3f0 [ 56.238049][ T108] ext4_ext_map_blocks+0x2044/0x3410 [ 56.243311][ T108] ? ext4_ext_release+0x10/0x10 [ 56.248156][ T108] ? __down_timeout+0x2d0/0x2d0 [ 56.253154][ T108] ? ext4_es_lookup_extent+0x41d/0xd30 [ 56.258600][ T108] ? debug_smp_processor_id+0x2f/0x185 [ 56.264048][ T108] ext4_map_blocks+0x4cb/0x1640 [ 56.268892][ T108] ? ext4_issue_zeroout+0x1e0/0x1e0 [ 56.274170][ T108] ? debug_smp_processor_id+0x2f/0x185 [ 56.279618][ T108] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 56.285224][ T108] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 56.291178][ T108] ? ext4_alloc_io_end_vec+0x145/0x1c0 [ 56.296614][ T108] ext4_writepages+0x1ab7/0x3400 [ 56.301540][ T108] ? __ext4_mark_inode_dirty+0x950/0x950 [ 56.307149][ T108] ? __lock_acquire+0x2224/0x48a0 [ 56.312255][ T108] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 56.318227][ T108] ? lockdep_hardirqs_on_prepare+0x590/0x590 [ 56.324190][ T108] ? __ext4_mark_inode_dirty+0x950/0x950 [ 56.329801][ T108] ? do_writepages+0xfa/0x2a0 [ 56.334451][ T108] do_writepages+0xfa/0x2a0 [ 56.338942][ T108] ? page_writeback_cpu_online+0x10/0x10 [ 56.344548][ T108] ? debug_smp_processor_id+0x2f/0x185 [ 56.349994][ T108] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 56.355515][ T108] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 56.361555][ T108] ? lock_downgrade+0x840/0x840 [ 56.366389][ T108] __writeback_single_inode+0x12a/0x1410 [ 56.372013][ T108] ? _raw_spin_unlock+0x24/0x40 [ 56.376853][ T108] ? wbc_attach_and_unlock_inode+0x60a/0x9c0 [ 56.382808][ T108] writeback_sb_inodes+0x515/0xdd0 [ 56.388016][ T108] ? __writeback_single_inode+0x1410/0x1410 [ 56.393909][ T108] __writeback_inodes_wb+0xc3/0x250 [ 56.399088][ T108] wb_writeback+0x910/0xd90 [ 56.403656][ T108] ? print_usage_bug+0x240/0x240 [ 56.408580][ T108] ? writeback_inodes_wb.constprop.0+0x1a0/0x1a0 [ 56.414886][ T108] ? _find_next_bit.constprop.0+0x1a3/0x200 [ 56.420844][ T108] ? cpumask_next+0x3c/0x40 [ 56.425760][ T108] ? get_nr_dirty_inodes+0xd6/0x130 [ 56.430936][ T108] wb_workfn+0xadf/0x10d0 [ 56.435248][ T108] ? inode_wait_for_writeback+0x30/0x30 [ 56.440783][ T108] ? debug_smp_processor_id+0x2f/0x185 [ 56.446231][ T108] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 56.451760][ T108] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 56.457721][ T108] process_one_work+0x965/0x16a0 [ 56.462639][ T108] ? lock_release+0x800/0x800 [ 56.467292][ T108] ? pwq_dec_nr_in_flight+0x310/0x310 [ 56.472643][ T108] ? rwlock_bug.part.0+0x90/0x90 [ 56.477667][ T108] worker_thread+0x96/0xe10 [ 56.482186][ T108] ? process_one_work+0x16a0/0x16a0 [ 56.487366][ T108] kthread+0x388/0x470 [ 56.491453][ T108] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 56.498987][ T108] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 56.504684][ T108] ret_from_fork+0x24/0x30 Warning: Permanently added '10.128.10.48' (ECDSA) to the list of known hosts. 2020/06/11 20:18:44 fuzzer started 2020/06/11 20:18:44 connecting to host at 10.128.0.26:43845 2020/06/11 20:18:44 checking machine... 2020/06/11 20:18:44 checking revisions... 2020/06/11 20:18:44 testing simple program... [ 58.111629][ T6795] BUG: using smp_processor_id() in preemptible [00000000] code: syz-fuzzer/6795 [ 58.120938][ T6795] caller is ext4_mb_new_blocks+0xa77/0x3b30 [ 58.126920][ T6795] CPU: 0 PID: 6795 Comm: syz-fuzzer Not tainted 5.7.0-syzkaller #0 [ 58.134814][ T6795] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.145809][ T6795] Call Trace: [ 58.149086][ T6795] dump_stack+0x188/0x20d [ 58.153420][ T6795] debug_smp_processor_id.cold+0x88/0x9b [ 58.159643][ T6795] ext4_mb_new_blocks+0xa77/0x3b30 [ 58.164848][ T6795] ? ext4_ext_search_right+0x2ca/0xb20 [ 58.170281][ T6795] ? ext4_inode_to_goal_block+0x2df/0x3f0 [ 58.177295][ T6795] ext4_ext_map_blocks+0x2044/0x3410 [ 58.182675][ T6795] ? ext4_ext_release+0x10/0x10 [ 58.187780][ T6795] ? __down_timeout+0x2d0/0x2d0 [ 58.192613][ T6795] ? ext4_es_lookup_extent+0x41d/0xd30 [ 58.198062][ T6795] ext4_map_blocks+0x4cb/0x1640 [ 58.202894][ T6795] ? ext4_issue_zeroout+0x1e0/0x1e0 [ 58.208168][ T6795] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 58.213704][ T6795] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.219668][ T6795] ? prandom_u32_state+0xe/0x170 [ 58.224592][ T6795] ? __brelse+0x84/0xa0 [ 58.228954][ T6795] ? __ext4_new_inode+0x144/0x57c0 [ 58.234247][ T6795] ext4_getblk+0xad/0x520 [ 58.238565][ T6795] ? ext4_iomap_overwrite_begin+0xa0/0xa0 [ 58.244270][ T6795] ? ext4_free_inode+0x17e0/0x17e0 [ 58.249362][ T6795] ext4_bread+0x7c/0x380 [ 58.253595][ T6795] ? ext4_getblk+0x520/0x520 [ 58.258172][ T6795] ? dqget+0xff0/0xff0 [ 58.262230][ T6795] ext4_append+0x153/0x360 [ 58.266641][ T6795] ext4_mkdir+0x5e0/0xdf0 [ 58.270950][ T6795] ? ext4_rmdir+0xde0/0xde0 [ 58.275442][ T6795] ? security_inode_permission+0xc4/0xf0 [ 58.281064][ T6795] vfs_mkdir+0x419/0x690 [ 58.285287][ T6795] do_mkdirat+0x21e/0x280 [ 58.289592][ T6795] ? __ia32_sys_mknod+0xb0/0xb0 [ 58.294419][ T6795] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.300383][ T6795] ? do_syscall_64+0x21/0x7d0 [ 58.305041][ T6795] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.310999][ T6795] do_syscall_64+0xf6/0x7d0 [ 58.315494][ T6795] entry_SYSCALL_64_after_hwframe+0x49/0xb3 [ 58.321364][ T6795] RIP: 0033:0x4b02a0 [ 58.325234][ T6795] Code: 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 49 c7 c2 00 00 00 00 49 c7 c0 00 00 00 00 49 c7 c1 00 00 00 00 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 [ 58.344812][ T6795] RSP: 002b:000000c0000d34b8 EFLAGS: 00000212 ORIG_RAX: 0000000000000102 [ 58.353219][ T6795] RAX: ffffffffffffffda RBX: 000000c00002c000 RCX: 00000000004b02a0 [ 58.361184][ T6795] RDX: 00000000000001c0 RSI: 000000c0000d62e0 RDI: ffffffffffffff9c [ 58.369249][ T6795] RBP: 000000c0000d3510 R08: 0000000000000000 R09: 0000000000000000 [ 58.377215][ T6795] R10: 0000000000000000 R11: 0000000000000212 R12: ffffffffffffffff [ 58.385160][ T6795] R13: 0000000000000018 R14: 0000000000000017 R15: 0000000000000100 [ 58.402431][ T6811] BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.0/6811 [ 58.412143][ T6811] caller is ext4_mb_new_blocks+0xa77/0x3b30 [ 58.418251][ T6811] CPU: 1 PID: 6811 Comm: syz-executor.0 Not tainted 5.7.0-syzkaller #0 [ 58.426490][ T6811] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.436523][ T6811] Call Trace: [ 58.439924][ T6811] dump_stack+0x188/0x20d [ 58.444247][ T6811] debug_smp_processor_id.cold+0x88/0x9b [ 58.449890][ T6811] ext4_mb_new_blocks+0xa77/0x3b30 [ 58.455024][ T6811] ? ext4_ext_search_right+0x2ca/0xb20 [ 58.460479][ T6811] ? ext4_inode_to_goal_block+0x2df/0x3f0 [ 58.466287][ T6811] ext4_ext_map_blocks+0x2044/0x3410 [ 58.471555][ T6811] ? ext4_ext_release+0x10/0x10 [ 58.476398][ T6811] ? __down_timeout+0x2d0/0x2d0 [ 58.481402][ T6811] ? ext4_es_lookup_extent+0x41d/0xd30 [ 58.486842][ T6811] ext4_map_blocks+0x4cb/0x1640 [ 58.491759][ T6811] ? ext4_issue_zeroout+0x1e0/0x1e0 [ 58.496935][ T6811] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 58.502463][ T6811] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.508420][ T6811] ? prandom_u32_state+0xe/0x170 [ 58.513358][ T6811] ? __brelse+0x84/0xa0 [ 58.517641][ T6811] ? __ext4_new_inode+0x144/0x57c0 [ 58.522754][ T6811] ext4_getblk+0xad/0x520 [ 58.527069][ T6811] ? ext4_iomap_overwrite_begin+0xa0/0xa0 [ 58.532770][ T6811] ? ext4_free_inode+0x17e0/0x17e0 [ 58.537871][ T6811] ext4_bread+0x7c/0x380 [ 58.542092][ T6811] ? ext4_getblk+0x520/0x520 [ 58.546671][ T6811] ? dqget+0xff0/0xff0 [ 58.550721][ T6811] ext4_append+0x153/0x360 [ 58.555130][ T6811] ext4_mkdir+0x5e0/0xdf0 [ 58.559455][ T6811] ? ext4_rmdir+0xde0/0xde0 [ 58.563951][ T6811] ? security_inode_permission+0xc4/0xf0 [ 58.569693][ T6811] vfs_mkdir+0x419/0x690 [ 58.574052][ T6811] do_mkdirat+0x21e/0x280 [ 58.578451][ T6811] ? __ia32_sys_mknod+0xb0/0xb0 [ 58.583288][ T6811] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.589304][ T6811] ? do_syscall_64+0x21/0x7d0 [ 58.593968][ T6811] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.600040][ T6811] do_syscall_64+0xf6/0x7d0 [ 58.604648][ T6811] entry_SYSCALL_64_after_hwframe+0x49/0xb3 [ 58.611320][ T6811] RIP: 0033:0x45bee7 [ 58.615238][ T6811] Code: 1f 40 00 b8 5a 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d c2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5d c2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 58.634821][ T6811] RSP: 002b:00007ffcd6c61da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 58.643211][ T6811] RAX: ffffffffffffffda RBX: 000000000003a2f8 RCX: 000000000045bee7 [ 58.651185][ T6811] RDX: 0000000000000003 RSI: 00000000000001c0 RDI: 00007ffcd6c61f80 [ 58.659134][ T6811] RBP: 0000000000000001 R08: 000000000000f8c0 R09: 0000000000003680 [ 58.667086][ T6811] R10: 0000000000000011 R11: 0000000000000246 R12: 00000000000000c2 [ 58.675064][ T6811] R13: 00007ffcd6c61f80 R14: 8421084210842109 R15: 00007ffcd6c61f8c [ 58.757005][ T6812] IPVS: ftp: loaded support on port[0] = 21 [ 58.794738][ T6812] BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.0/6812 [ 58.804219][ T6812] caller is ext4_mb_new_blocks+0xa77/0x3b30 [ 58.810196][ T6812] CPU: 0 PID: 6812 Comm: syz-executor.0 Not tainted 5.7.0-syzkaller #0 [ 58.818465][ T6812] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 58.828505][ T6812] Call Trace: [ 58.831791][ T6812] dump_stack+0x188/0x20d [ 58.836102][ T6812] debug_smp_processor_id.cold+0x88/0x9b [ 58.841729][ T6812] ext4_mb_new_blocks+0xa77/0x3b30 [ 58.846827][ T6812] ? ext4_ext_search_right+0x2ca/0xb20 [ 58.852450][ T6812] ? ext4_inode_to_goal_block+0x2df/0x3f0 [ 58.858170][ T6812] ext4_ext_map_blocks+0x2044/0x3410 [ 58.863443][ T6812] ? ext4_ext_release+0x10/0x10 [ 58.868284][ T6812] ? __down_timeout+0x2d0/0x2d0 [ 58.873112][ T6812] ? ext4_es_lookup_extent+0x41d/0xd30 [ 58.878553][ T6812] ext4_map_blocks+0x4cb/0x1640 [ 58.883386][ T6812] ? ext4_issue_zeroout+0x1e0/0x1e0 [ 58.888559][ T6812] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 58.894113][ T6812] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 58.900075][ T6812] ? prandom_u32_state+0xe/0x170 [ 58.904994][ T6812] ? __brelse+0x84/0xa0 [ 58.909128][ T6812] ? __ext4_new_inode+0x144/0x57c0 [ 58.914221][ T6812] ext4_getblk+0xad/0x520 [ 58.918552][ T6812] ? ext4_iomap_overwrite_begin+0xa0/0xa0 [ 58.924262][ T6812] ? ext4_free_inode+0x17e0/0x17e0 [ 58.929361][ T6812] ext4_bread+0x7c/0x380 [ 58.933783][ T6812] ? ext4_getblk+0x520/0x520 [ 58.938360][ T6812] ? dqget+0xff0/0xff0 [ 58.942422][ T6812] ext4_append+0x153/0x360 [ 58.946822][ T6812] ext4_mkdir+0x5e0/0xdf0 [ 58.951161][ T6812] ? ext4_rmdir+0xde0/0xde0 [ 58.955862][ T6812] ? security_inode_permission+0xc4/0xf0 [ 58.961507][ T6812] vfs_mkdir+0x419/0x690 [ 58.966606][ T6812] do_mkdirat+0x21e/0x280 [ 58.970954][ T6812] ? __ia32_sys_mknod+0xb0/0xb0 [ 58.975796][ T6812] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.981768][ T6812] ? do_syscall_64+0x21/0x7d0 [ 58.986446][ T6812] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 58.992609][ T6812] do_syscall_64+0xf6/0x7d0 [ 58.997141][ T6812] entry_SYSCALL_64_after_hwframe+0x49/0xb3 [ 59.003037][ T6812] RIP: 0033:0x45bee7 [ 59.006931][ T6812] Code: 1f 40 00 b8 5a 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d c2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5d c2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 59.026816][ T6812] RSP: 002b:00007ffcd6c61c98 EFLAGS: 00000202 ORIG_RAX: 0000000000000053 [ 59.035460][ T6812] RAX: ffffffffffffffda RBX: 000000000078c988 RCX: 000000000045bee7 [ 59.043550][ T6812] RDX: 00007ffcd6c61ce3 RSI: 00000000000001ff RDI: 00007ffcd6c61ce0 [ 59.051640][ T6812] RBP: 00000000000000f8 R08: 0000000000000000 R09: 0000000000000003 [ 59.059945][ T6812] R10: 0000000000000064 R11: 0000000000000202 R12: 00000000004185d0 [ 59.068130][ T6812] R13: 00007ffcd6c61cd0 R14: 0000000000000000 R15: 00007ffcd6c61ce0 [ 59.116128][ T6812] BUG: using smp_processor_id() in preemptible [00000000] code: syz-executor.0/6812 [ 59.125660][ T6812] caller is ext4_mb_new_blocks+0xa77/0x3b30 [ 59.131597][ T6812] CPU: 0 PID: 6812 Comm: syz-executor.0 Not tainted 5.7.0-syzkaller #0 [ 59.139859][ T6812] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 59.150044][ T6812] Call Trace: [ 59.153369][ T6812] dump_stack+0x188/0x20d [ 59.157712][ T6812] debug_smp_processor_id.cold+0x88/0x9b [ 59.164139][ T6812] ext4_mb_new_blocks+0xa77/0x3b30 [ 59.169285][ T6812] ? ext4_ext_search_right+0x2ca/0xb20 [ 59.174762][ T6812] ? ext4_inode_to_goal_block+0x2df/0x3f0 [ 59.180510][ T6812] ext4_ext_map_blocks+0x2044/0x3410 [ 59.185907][ T6812] ? ext4_ext_release+0x10/0x10 [ 59.190818][ T6812] ? __down_timeout+0x2d0/0x2d0 [ 59.195670][ T6812] ? ext4_es_lookup_extent+0x41d/0xd30 [ 59.201312][ T6812] ext4_map_blocks+0x4cb/0x1640 [ 59.206184][ T6812] ? ext4_issue_zeroout+0x1e0/0x1e0 [ 59.211657][ T6812] ? rcu_read_lock_sched_held+0x9c/0xd0 [ 59.217185][ T6812] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 59.223159][ T6812] ? prandom_u32_state+0xe/0x170 [ 59.228077][ T6812] ? __brelse+0x84/0xa0 [ 59.232325][ T6812] ? __ext4_new_inode+0x144/0x57c0 [ 59.237444][ T6812] ext4_getblk+0xad/0x520 [ 59.241756][ T6812] ? ext4_iomap_overwrite_begin+0xa0/0xa0 [ 59.247667][ T6812] ? ext4_free_inode+0x17e0/0x17e0 [ 59.252771][ T6812] ext4_bread+0x7c/0x380 [ 59.257016][ T6812] ? ext4_getblk+0x520/0x520 [ 59.261689][ T6812] ? dqget+0xff0/0xff0 [ 59.265743][ T6812] ext4_append+0x153/0x360 [ 59.270145][ T6812] ext4_mkdir+0x5e0/0xdf0 [ 59.274466][ T6812] ? ext4_rmdir+0xde0/0xde0 [ 59.278966][ T6812] ? security_inode_permission+0xc4/0xf0 [ 59.284623][ T6812] vfs_mkdir+0x419/0x690 [ 59.288858][ T6812] do_mkdirat+0x21e/0x280 [ 59.293178][ T6812] ? __ia32_sys_mknod+0xb0/0xb0 [ 59.298036][ T6812] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 59.304105][ T6812] ? do_syscall_64+0x21/0x7d0 [ 59.308848][ T6812] ? lockdep_hardirqs_on_prepare+0x3a2/0x590 [ 59.314821][ T6812] do_syscall_64+0xf6/0x7d0 [ 59.319306][ T6812] entry_SYSCALL_64_after_hwframe+0x49/0xb3 [ 59.325191][ T6812] RIP: 0033:0x45bee7 [ 59.329082][ T6812] Code: 1f 40 00 b8 5a 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d c2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5d c2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 59.348974][ T6812] RSP: 002b:00007ffcd6c61c98 EFLAGS: 00000202 ORIG_RAX: 0000000000000053 [ 59.357567][ T6812] RAX: ffffffffffffffda RBX: 000000000000e6e3 RCX: 000000000045bee7 2020/06/11 20:18:45 building call list... [ 59.365847][ T6812] RDX: 00007ffcd6c61ce3 RSI: 00000000000001ff RDI: 00007ffcd6c61ce0 [ 59.373825][ T6812] RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000003 [ 59.381778][ T6812] R10: 0000000000000064 R11: 0000000000000202 R12: 0000000000000003 [ 59.389745][ T6812] R13: 00007ffcd6c61cd0 R14: 000000000000e6df R15: 00007ffcd6c61ce0 [ 59.683098][ T7] tipc: TX() has been purged, node left! [ 60.195162][ T7] ================================================================== [ 60.203394][ T7] BUG: KASAN: use-after-free in afs_wake_up_async_call+0x7a7/0x880 [ 60.211279][ T7] Write of size 1 at addr ffff8880922749e4 by task kworker/u4:0/7 [ 60.219264][ T7] [ 60.221595][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Not tainted 5.7.0-syzkaller #0 [ 60.229414][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.240254][ T7] Workqueue: netns cleanup_net [ 60.245008][ T7] Call Trace: [ 60.248299][ T7] dump_stack+0x188/0x20d [ 60.252631][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.258266][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.263900][ T7] ? afs_put_call+0xa70/0xa70 [ 60.268572][ T7] print_address_description.constprop.0.cold+0xd3/0x413 [ 60.275768][ T7] ? vprintk_func+0x97/0x1a6 [ 60.280812][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.286352][ T7] kasan_report.cold+0x1f/0x37 [ 60.291119][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.296664][ T7] afs_wake_up_async_call+0x7a7/0x880 [ 60.302033][ T7] ? do_raw_spin_lock+0x129/0x2e0 [ 60.307061][ T7] ? afs_close_socket+0x320/0x320 [ 60.312077][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 60.317280][ T7] ? rcu_read_lock_held+0x9c/0xb0 [ 60.322319][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.327956][ T7] ? afs_close_socket+0x320/0x320 [ 60.332999][ T7] ? afs_put_call+0xa70/0xa70 [ 60.337671][ T7] rxrpc_notify_socket+0x1e5/0x5e0 [ 60.342808][ T7] ? afs_put_call+0xa70/0xa70 [ 60.347490][ T7] __rxrpc_set_call_completion.part.0+0x172/0x420 [ 60.353908][ T7] rxrpc_call_completed+0xca/0xf0 [ 60.358940][ T7] rxrpc_discard_prealloc+0x786/0xac0 [ 60.364371][ T7] ? lock_sock_nested+0x94/0x110 [ 60.369332][ T7] rxrpc_listen+0x147/0x360 [ 60.373927][ T7] afs_close_socket+0x95/0x320 [ 60.378708][ T7] ? afs_purge_servers+0x16d/0x300 [ 60.383828][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 60.389368][ T7] ? debug_smp_processor_id+0x2f/0x185 [ 60.394846][ T7] ? init_wait_var_entry+0x200/0x200 [ 60.400135][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.405790][ T7] afs_net_exit+0x1bc/0x310 [ 60.410289][ T7] ? afs_net_init+0xe30/0xe30 [ 60.414975][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 60.420108][ T7] cleanup_net+0x511/0xa50 [ 60.424568][ T7] ? unregister_pernet_device+0x70/0x70 [ 60.430117][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 60.436087][ T7] process_one_work+0x965/0x16a0 [ 60.441593][ T7] ? lock_release+0x800/0x800 [ 60.446430][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 60.451867][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 60.456805][ T7] worker_thread+0x96/0xe10 [ 60.461327][ T7] ? process_one_work+0x16a0/0x16a0 [ 60.466711][ T7] kthread+0x388/0x470 [ 60.470775][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.476485][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 60.482216][ T7] ret_from_fork+0x24/0x30 [ 60.487335][ T7] [ 60.489673][ T7] Allocated by task 6812: [ 60.494008][ T7] save_stack+0x1b/0x40 [ 60.498428][ T7] __kasan_kmalloc.constprop.0+0xbf/0xd0 [ 60.504063][ T7] kmem_cache_alloc_trace+0x153/0x7d0 [ 60.510127][ T7] afs_alloc_call+0x55/0x640 [ 60.514714][ T7] afs_charge_preallocation+0xe9/0x2d0 [ 60.521048][ T7] afs_open_socket+0x292/0x360 [ 60.526156][ T7] afs_net_init+0xa6c/0xe30 [ 60.530656][ T7] ops_init+0xaf/0x420 [ 60.534720][ T7] setup_net+0x2de/0x860 [ 60.538961][ T7] copy_net_ns+0x293/0x590 [ 60.543373][ T7] create_new_namespaces+0x3fb/0xb30 [ 60.548657][ T7] unshare_nsproxy_namespaces+0xbd/0x1f0 [ 60.554303][ T7] ksys_unshare+0x43d/0x8e0 [ 60.558815][ T7] __x64_sys_unshare+0x2d/0x40 [ 60.563613][ T7] do_syscall_64+0xf6/0x7d0 [ 60.568289][ T7] entry_SYSCALL_64_after_hwframe+0x49/0xb3 [ 60.574302][ T7] [ 60.576628][ T7] Freed by task 7: [ 60.580348][ T7] save_stack+0x1b/0x40 [ 60.584518][ T7] __kasan_slab_free+0xf7/0x140 [ 60.589378][ T7] kfree+0x109/0x2b0 [ 60.593280][ T7] afs_put_call+0x59b/0xa70 [ 60.597783][ T7] rxrpc_discard_prealloc+0x769/0xac0 [ 60.603157][ T7] rxrpc_listen+0x147/0x360 [ 60.607746][ T7] afs_close_socket+0x95/0x320 [ 60.612506][ T7] afs_net_exit+0x1bc/0x310 [ 60.617004][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 60.622112][ T7] cleanup_net+0x511/0xa50 [ 60.626528][ T7] process_one_work+0x965/0x16a0 [ 60.631469][ T7] worker_thread+0x96/0xe10 [ 60.636055][ T7] kthread+0x388/0x470 [ 60.640121][ T7] ret_from_fork+0x24/0x30 [ 60.644523][ T7] [ 60.646848][ T7] The buggy address belongs to the object at ffff888092274800 [ 60.646848][ T7] which belongs to the cache kmalloc-1k of size 1024 [ 60.660898][ T7] The buggy address is located 484 bytes inside of [ 60.660898][ T7] 1024-byte region [ffff888092274800, ffff888092274c00) [ 60.674267][ T7] The buggy address belongs to the page: [ 60.679898][ T7] page:ffffea0002489d00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 [ 60.689528][ T7] flags: 0xfffe0000000200(slab) [ 60.694386][ T7] raw: 00fffe0000000200 ffffea000280a108 ffffea00023ed288 ffff8880aa000c40 [ 60.703927][ T7] raw: 0000000000000000 ffff888092274000 0000000100000002 0000000000000000 [ 60.712640][ T7] page dumped because: kasan: bad access detected [ 60.719049][ T7] [ 60.721368][ T7] Memory state around the buggy address: [ 60.727200][ T7] ffff888092274880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.735348][ T7] ffff888092274900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.743405][ T7] >ffff888092274980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.751574][ T7] ^ [ 60.758881][ T7] ffff888092274a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.766950][ T7] ffff888092274a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 60.775005][ T7] ================================================================== [ 60.783142][ T7] Disabling lock debugging due to kernel taint [ 60.789352][ T7] Kernel panic - not syncing: panic_on_warn set ... [ 60.795941][ T7] CPU: 1 PID: 7 Comm: kworker/u4:0 Tainted: G B 5.7.0-syzkaller #0 [ 60.805124][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 60.815181][ T7] Workqueue: netns cleanup_net [ 60.819928][ T7] Call Trace: [ 60.823219][ T7] dump_stack+0x188/0x20d [ 60.827546][ T7] ? afs_wake_up_async_call+0x6b0/0x880 [ 60.833082][ T7] ? afs_put_call+0xa70/0xa70 [ 60.837753][ T7] panic+0x2e3/0x75c [ 60.841646][ T7] ? add_taint.cold+0x16/0x16 [ 60.846309][ T7] ? retint_kernel+0x2b/0x2b [ 60.850914][ T7] ? trace_hardirqs_on+0x55/0x230 [ 60.855935][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.861554][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.867097][ T7] ? afs_put_call+0xa70/0xa70 [ 60.871764][ T7] end_report+0x4d/0x53 [ 60.875910][ T7] kasan_report.cold+0xd/0x37 [ 60.880666][ T7] ? afs_wake_up_async_call+0x7a7/0x880 [ 60.886205][ T7] afs_wake_up_async_call+0x7a7/0x880 [ 60.891593][ T7] ? do_raw_spin_lock+0x129/0x2e0 [ 60.896608][ T7] ? afs_close_socket+0x320/0x320 [ 60.901618][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 60.906631][ T7] ? rcu_read_lock_held+0x9c/0xb0 [ 60.911736][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.917361][ T7] ? afs_close_socket+0x320/0x320 [ 60.922376][ T7] ? afs_put_call+0xa70/0xa70 [ 60.927041][ T7] rxrpc_notify_socket+0x1e5/0x5e0 [ 60.932195][ T7] ? afs_put_call+0xa70/0xa70 [ 60.936864][ T7] __rxrpc_set_call_completion.part.0+0x172/0x420 [ 60.943282][ T7] rxrpc_call_completed+0xca/0xf0 [ 60.948310][ T7] rxrpc_discard_prealloc+0x786/0xac0 [ 60.953678][ T7] ? lock_sock_nested+0x94/0x110 [ 60.959220][ T7] rxrpc_listen+0x147/0x360 [ 60.963724][ T7] afs_close_socket+0x95/0x320 [ 60.968490][ T7] ? afs_purge_servers+0x16d/0x300 [ 60.973614][ T7] ? afs_rx_discard_new_call+0x50/0x50 [ 60.979078][ T7] ? debug_smp_processor_id+0x2f/0x185 [ 60.984541][ T7] ? init_wait_var_entry+0x200/0x200 [ 60.989827][ T7] ? rcu_read_lock_held_common+0xa0/0xa0 [ 60.995467][ T7] afs_net_exit+0x1bc/0x310 [ 60.999972][ T7] ? afs_net_init+0xe30/0xe30 [ 61.004650][ T7] ops_exit_list.isra.0+0xa8/0x150 [ 61.009755][ T7] cleanup_net+0x511/0xa50 [ 61.014422][ T7] ? unregister_pernet_device+0x70/0x70 [ 61.019964][ T7] ? rcu_read_lock_any_held.part.0+0x50/0x50 [ 61.025939][ T7] process_one_work+0x965/0x16a0 [ 61.030869][ T7] ? lock_release+0x800/0x800 [ 61.035552][ T7] ? pwq_dec_nr_in_flight+0x310/0x310 [ 61.040925][ T7] ? rwlock_bug.part.0+0x90/0x90 [ 61.045870][ T7] worker_thread+0x96/0xe10 [ 61.050377][ T7] ? process_one_work+0x16a0/0x16a0 [ 61.055570][ T7] kthread+0x388/0x470 [ 61.059632][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.065369][ T7] ? kthread_mod_delayed_work+0x1a0/0x1a0 [ 61.071087][ T7] ret_from_fork+0x24/0x30 [ 61.077254][ T7] Kernel Offset: disabled [ 61.081577][ T7] Rebooting in 86400 seconds..