Warning: Permanently added '10.128.0.130' (ECDSA) to the list of known hosts. 2021/05/02 17:41:55 fuzzer started 2021/05/02 17:41:55 dialing manager at 10.128.0.169:44661 2021/05/02 17:41:55 syscalls: 3571 2021/05/02 17:41:55 code coverage: enabled 2021/05/02 17:41:55 comparison tracing: enabled 2021/05/02 17:41:55 extra coverage: enabled 2021/05/02 17:41:55 setuid sandbox: enabled 2021/05/02 17:41:55 namespace sandbox: enabled 2021/05/02 17:41:55 Android sandbox: /sys/fs/selinux/policy does not exist 2021/05/02 17:41:55 fault injection: enabled 2021/05/02 17:41:55 leak checking: CONFIG_DEBUG_KMEMLEAK is not enabled 2021/05/02 17:41:55 net packet injection: enabled 2021/05/02 17:41:55 net device setup: enabled 2021/05/02 17:41:55 concurrency sanitizer: /sys/kernel/debug/kcsan does not exist 2021/05/02 17:41:55 devlink PCI setup: PCI device 0000:00:10.0 is not available 2021/05/02 17:41:55 USB emulation: enabled 2021/05/02 17:41:55 hci packet injection: enabled 2021/05/02 17:41:55 wifi device emulation: enabled 2021/05/02 17:41:55 802.15.4 emulation: enabled 2021/05/02 17:41:55 fetching corpus: 0, signal 0/2000 (executing program) 2021/05/02 17:41:55 fetching corpus: 50, signal 52051/55789 (executing program) syzkaller login: [ 71.905342][ T8427] ================================================================== [ 71.913664][ T8427] BUG: KASAN: use-after-free in __skb_datagram_iter+0x6b8/0x770 [ 71.921407][ T8427] Read of size 4 at addr ffff88801d310004 by task syz-fuzzer/8427 [ 71.929197][ T8427] [ 71.931594][ T8427] CPU: 0 PID: 8427 Comm: syz-fuzzer Not tainted 5.12.0-rc8-next-20210423-syzkaller #0 [ 71.942347][ T8427] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 71.952498][ T8427] Call Trace: [ 71.955854][ T8427] dump_stack+0x141/0x1d7 [ 71.960197][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 71.965466][ T8427] print_address_description.constprop.0.cold+0x5b/0x2f8 [ 71.972505][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 71.977776][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 71.984151][ T8427] kasan_report.cold+0x7c/0xd8 [ 71.989010][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 71.994381][ T8427] __skb_datagram_iter+0x6b8/0x770 [ 71.999516][ T8427] ? zerocopy_sg_from_iter+0x110/0x110 [ 72.004982][ T8427] skb_copy_datagram_iter+0x40/0x50 [ 72.010278][ T8427] tcp_recvmsg_locked+0x1048/0x22f0 [ 72.015521][ T8427] ? tcp_splice_read+0x8b0/0x8b0 [ 72.020454][ T8427] ? mark_held_locks+0x9f/0xe0 [ 72.025218][ T8427] ? __local_bh_enable_ip+0xa0/0x120 [ 72.030580][ T8427] tcp_recvmsg+0x134/0x550 [ 72.035129][ T8427] ? tcp_recvmsg_locked+0x22f0/0x22f0 [ 72.040499][ T8427] ? aa_sk_perm+0x311/0xab0 [ 72.044990][ T8427] inet_recvmsg+0x11b/0x5e0 [ 72.049478][ T8427] ? inet_sendpage+0x140/0x140 [ 72.054231][ T8427] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 72.060465][ T8427] ? security_socket_recvmsg+0x8f/0xc0 [ 72.065936][ T8427] sock_read_iter+0x33c/0x470 [ 72.070606][ T8427] ? ____sys_recvmsg+0x600/0x600 [ 72.075536][ T8427] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 72.081786][ T8427] ? fsnotify+0xa58/0x1060 [ 72.086212][ T8427] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 72.092607][ T8427] new_sync_read+0x5b7/0x6e0 [ 72.097588][ T8427] ? ksys_lseek+0x1b0/0x1b0 [ 72.103130][ T8427] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 72.112818][ T8427] vfs_read+0x35c/0x570 [ 72.117215][ T8427] ksys_read+0x1ee/0x250 [ 72.122164][ T8427] ? vfs_write+0xa40/0xa40 [ 72.126591][ T8427] ? syscall_enter_from_user_mode+0x27/0x70 [ 72.132741][ T8427] do_syscall_64+0x3a/0xb0 [ 72.137352][ T8427] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 72.143684][ T8427] RIP: 0033:0x4af19b [ 72.147567][ T8427] Code: fb ff eb bd e8 a6 b6 fb ff e9 61 ff ff ff cc e8 9b 82 fb ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 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 [ 72.167713][ T8427] RSP: 002b:000000c00032d850 EFLAGS: 00000206 ORIG_RAX: 0000000000000000 [ 72.176232][ T8427] RAX: ffffffffffffffda RBX: 000000c00001c000 RCX: 00000000004af19b [ 72.184201][ T8427] RDX: 0000000000001000 RSI: 000000c0000f0000 RDI: 0000000000000006 [ 72.192166][ T8427] RBP: 000000c00032d8a0 R08: 0000000000000001 R09: 0000000000000002 [ 72.200128][ T8427] R10: 0000000000001284 R11: 0000000000000206 R12: ffffffffffffffff [ 72.208203][ T8427] R13: 0000000000001000 R14: 0000000000000020 R15: 0000000000000008 [ 72.216180][ T8427] [ 72.218537][ T8427] Allocated by task 6434: [ 72.222944][ T8427] kasan_save_stack+0x1b/0x40 [ 72.227745][ T8427] __kasan_kmalloc+0x9b/0xd0 [ 72.232347][ T8427] tomoyo_realpath_from_path+0xc3/0x620 [ 72.237888][ T8427] tomoyo_path_perm+0x21b/0x400 [ 72.242939][ T8427] security_inode_getattr+0xcf/0x140 [ 72.249052][ T8427] vfs_statx+0x164/0x390 [ 72.253334][ T8427] __do_sys_newlstat+0x91/0x110 [ 72.258191][ T8427] do_syscall_64+0x3a/0xb0 [ 72.262604][ T8427] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 72.268487][ T8427] [ 72.270795][ T8427] Freed by task 4174: [ 72.274752][ T8427] kasan_save_stack+0x1b/0x40 [ 72.279429][ T8427] kasan_set_track+0x1c/0x30 [ 72.284004][ T8427] kasan_set_free_info+0x20/0x30 [ 72.288938][ T8427] __kasan_slab_free+0xfb/0x130 [ 72.293779][ T8427] slab_free_freelist_hook+0xdf/0x240 [ 72.299134][ T8427] kfree+0xe5/0x7f0 [ 72.302937][ T8427] tomoyo_realpath_from_path+0x191/0x620 [ 72.308563][ T8427] tomoyo_path_perm+0x21b/0x400 [ 72.313399][ T8427] security_inode_getattr+0xcf/0x140 [ 72.318707][ T8427] vfs_statx+0x164/0x390 [ 72.322937][ T8427] __do_sys_newlstat+0x91/0x110 [ 72.327793][ T8427] do_syscall_64+0x3a/0xb0 [ 72.332193][ T8427] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 72.338072][ T8427] [ 72.340381][ T8427] The buggy address belongs to the object at ffff88801d310000 [ 72.340381][ T8427] which belongs to the cache kmalloc-4k of size 4096 [ 72.360157][ T8427] The buggy address is located 4 bytes inside of [ 72.360157][ T8427] 4096-byte region [ffff88801d310000, ffff88801d311000) [ 72.373479][ T8427] The buggy address belongs to the page: [ 72.380281][ T8427] page:ffffea000074c400 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1d310 [ 72.390446][ T8427] head:ffffea000074c400 order:3 compound_mapcount:0 compound_pincount:0 [ 72.398925][ T8427] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 72.406893][ T8427] raw: 00fff00000010200 0000000000000000 0000000300000001 ffff888011042140 [ 72.415548][ T8427] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 72.424239][ T8427] page dumped because: kasan: bad access detected [ 72.430631][ T8427] [ 72.432934][ T8427] Memory state around the buggy address: [ 72.438892][ T8427] ffff88801d30ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 72.446934][ T8427] ffff88801d30ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 72.454981][ T8427] >ffff88801d310000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.463018][ T8427] ^ [ 72.467062][ T8427] ffff88801d310080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.475103][ T8427] ffff88801d310100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 72.483139][ T8427] ================================================================== [ 72.491178][ T8427] Disabling lock debugging due to kernel taint [ 72.498978][ T8427] Kernel panic - not syncing: panic_on_warn set ... [ 72.505565][ T8427] CPU: 0 PID: 8427 Comm: syz-fuzzer Tainted: G B 5.12.0-rc8-next-20210423-syzkaller #0 [ 72.516499][ T8427] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 72.526566][ T8427] Call Trace: [ 72.529829][ T8427] dump_stack+0x141/0x1d7 [ 72.534428][ T8427] panic+0x306/0x73d [ 72.539979][ T8427] ? __warn_printk+0xf3/0xf3 [ 72.544608][ T8427] ? preempt_schedule_common+0x59/0xc0 [ 72.550249][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 72.555521][ T8427] ? preempt_schedule_thunk+0x16/0x18 [ 72.560879][ T8427] ? trace_hardirqs_on+0x38/0x1c0 [ 72.565887][ T8427] ? trace_hardirqs_on+0x51/0x1c0 [ 72.570889][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 72.576154][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 72.581420][ T8427] end_report.cold+0x5a/0x5a [ 72.587615][ T8427] kasan_report.cold+0x6a/0xd8 [ 72.592552][ T8427] ? __skb_datagram_iter+0x6b8/0x770 [ 72.598800][ T8427] __skb_datagram_iter+0x6b8/0x770 [ 72.603903][ T8427] ? zerocopy_sg_from_iter+0x110/0x110 [ 72.609435][ T8427] skb_copy_datagram_iter+0x40/0x50 [ 72.614618][ T8427] tcp_recvmsg_locked+0x1048/0x22f0 [ 72.619804][ T8427] ? tcp_splice_read+0x8b0/0x8b0 [ 72.624726][ T8427] ? mark_held_locks+0x9f/0xe0 [ 72.629475][ T8427] ? __local_bh_enable_ip+0xa0/0x120 [ 72.634784][ T8427] tcp_recvmsg+0x134/0x550 [ 72.639196][ T8427] ? tcp_recvmsg_locked+0x22f0/0x22f0 [ 72.644554][ T8427] ? aa_sk_perm+0x311/0xab0 [ 72.649039][ T8427] inet_recvmsg+0x11b/0x5e0 [ 72.653528][ T8427] ? inet_sendpage+0x140/0x140 [ 72.658273][ T8427] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 72.664783][ T8427] ? security_socket_recvmsg+0x8f/0xc0 [ 72.670236][ T8427] sock_read_iter+0x33c/0x470 [ 72.674926][ T8427] ? ____sys_recvmsg+0x600/0x600 [ 72.679862][ T8427] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 72.686101][ T8427] ? fsnotify+0xa58/0x1060 [ 72.690512][ T8427] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 72.696798][ T8427] new_sync_read+0x5b7/0x6e0 [ 72.701388][ T8427] ? ksys_lseek+0x1b0/0x1b0 [ 72.705876][ T8427] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 72.711845][ T8427] vfs_read+0x35c/0x570 [ 72.715983][ T8427] ksys_read+0x1ee/0x250 [ 72.720217][ T8427] ? vfs_write+0xa40/0xa40 [ 72.724613][ T8427] ? syscall_enter_from_user_mode+0x27/0x70 [ 72.730490][ T8427] do_syscall_64+0x3a/0xb0 [ 72.734890][ T8427] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 72.740767][ T8427] RIP: 0033:0x4af19b [ 72.744653][ T8427] Code: fb ff eb bd e8 a6 b6 fb ff e9 61 ff ff ff cc e8 9b 82 fb ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 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 [ 72.765293][ T8427] RSP: 002b:000000c00032d850 EFLAGS: 00000206 ORIG_RAX: 0000000000000000 [ 72.773884][ T8427] RAX: ffffffffffffffda RBX: 000000c00001c000 RCX: 00000000004af19b [ 72.782146][ T8427] RDX: 0000000000001000 RSI: 000000c0000f0000 RDI: 0000000000000006 [ 72.790358][ T8427] RBP: 000000c00032d8a0 R08: 0000000000000001 R09: 0000000000000002 [ 72.798549][ T8427] R10: 0000000000001284 R11: 0000000000000206 R12: ffffffffffffffff [ 72.806515][ T8427] R13: 0000000000001000 R14: 0000000000000020 R15: 0000000000000008 [ 72.815164][ T8427] Kernel Offset: disabled [ 72.819488][ T8427] Rebooting in 86400 seconds..