[ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. [ OK ] Started OpenBSD Secure Shell server. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.149' (ECDSA) to the list of known hosts. 2021/05/02 18:45:50 fuzzer started 2021/05/02 18:45:51 dialing manager at 10.128.0.169:44661 2021/05/02 18:45:51 syscalls: 3571 2021/05/02 18:45:51 code coverage: enabled 2021/05/02 18:45:51 comparison tracing: enabled 2021/05/02 18:45:51 extra coverage: enabled 2021/05/02 18:45:51 setuid sandbox: enabled 2021/05/02 18:45:51 namespace sandbox: enabled 2021/05/02 18:45:51 Android sandbox: /sys/fs/selinux/policy does not exist 2021/05/02 18:45:51 fault injection: enabled 2021/05/02 18:45:51 leak checking: CONFIG_DEBUG_KMEMLEAK is not enabled 2021/05/02 18:45:51 net packet injection: enabled 2021/05/02 18:45:51 net device setup: enabled 2021/05/02 18:45:51 concurrency sanitizer: /sys/kernel/debug/kcsan does not exist 2021/05/02 18:45:51 devlink PCI setup: PCI device 0000:00:10.0 is not available 2021/05/02 18:45:51 USB emulation: enabled 2021/05/02 18:45:51 hci packet injection: enabled 2021/05/02 18:45:51 wifi device emulation: enabled 2021/05/02 18:45:51 802.15.4 emulation: enabled 2021/05/02 18:45:51 fetching corpus: 0, signal 0/2000 (executing program) 2021/05/02 18:45:51 fetching corpus: 50, signal 42820/46589 (executing program) 2021/05/02 18:45:51 fetching corpus: 100, signal 73416/78822 (executing program) 2021/05/02 18:45:52 fetching corpus: 150, signal 102210/109090 (executing program) 2021/05/02 18:45:52 fetching corpus: 200, signal 126187/134484 (executing program) 2021/05/02 18:45:52 fetching corpus: 250, signal 152773/162362 (executing program) 2021/05/02 18:45:52 fetching corpus: 300, signal 164079/175066 (executing program) syzkaller login: [ 71.111249][ T3256] ieee802154 phy0 wpan0: encryption failed: -22 [ 71.117979][ T3256] ieee802154 phy1 wpan1: encryption failed: -22 2021/05/02 18:45:52 fetching corpus: 350, signal 174992/187364 (executing program) [ 71.206875][ T8430] ================================================================== [ 71.215065][ T8430] BUG: KASAN: use-after-free in __skb_datagram_iter+0x6b8/0x770 [ 71.222726][ T8430] Read of size 4 at addr ffff888028d40004 by task syz-fuzzer/8430 [ 71.230530][ T8430] [ 71.232850][ T8430] CPU: 1 PID: 8430 Comm: syz-fuzzer Not tainted 5.12.0-rc8-next-20210423-syzkaller #0 [ 71.242411][ T8430] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 71.252461][ T8430] Call Trace: [ 71.255743][ T8430] dump_stack+0x141/0x1d7 [ 71.260095][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.265503][ T8430] print_address_description.constprop.0.cold+0x5b/0x2f8 [ 71.272546][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.277833][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.283105][ T8430] kasan_report.cold+0x7c/0xd8 [ 71.287891][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.293188][ T8430] __skb_datagram_iter+0x6b8/0x770 [ 71.298316][ T8430] ? zerocopy_sg_from_iter+0x110/0x110 [ 71.303800][ T8430] skb_copy_datagram_iter+0x40/0x50 [ 71.309046][ T8430] tcp_recvmsg_locked+0x1048/0x22f0 [ 71.314292][ T8430] ? tcp_splice_read+0x8b0/0x8b0 [ 71.319259][ T8430] ? mark_held_locks+0x9f/0xe0 [ 71.324045][ T8430] ? __local_bh_enable_ip+0xa0/0x120 [ 71.329357][ T8430] tcp_recvmsg+0x134/0x550 [ 71.333794][ T8430] ? tcp_recvmsg_locked+0x22f0/0x22f0 [ 71.339184][ T8430] ? aa_sk_perm+0x311/0xab0 [ 71.343702][ T8430] inet_recvmsg+0x11b/0x5e0 [ 71.348217][ T8430] ? inet_sendpage+0x140/0x140 [ 71.352995][ T8430] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 71.359252][ T8430] ? security_socket_recvmsg+0x8f/0xc0 [ 71.364738][ T8430] sock_read_iter+0x33c/0x470 [ 71.369470][ T8430] ? ____sys_recvmsg+0x600/0x600 [ 71.374434][ T8430] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 71.380713][ T8430] ? fsnotify+0xa58/0x1060 [ 71.385158][ T8430] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 71.391427][ T8430] new_sync_read+0x5b7/0x6e0 [ 71.396051][ T8430] ? ksys_lseek+0x1b0/0x1b0 [ 71.400570][ T8430] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 71.406591][ T8430] vfs_read+0x35c/0x570 [ 71.410779][ T8430] ksys_read+0x1ee/0x250 [ 71.415057][ T8430] ? vfs_write+0xa40/0xa40 [ 71.419498][ T8430] ? syscall_enter_from_user_mode+0x27/0x70 [ 71.425407][ T8430] do_syscall_64+0x3a/0xb0 [ 71.429838][ T8430] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 71.435743][ T8430] RIP: 0033:0x4af19b [ 71.439640][ T8430] 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 [ 71.459255][ T8430] RSP: 002b:000000c000219828 EFLAGS: 00000212 ORIG_RAX: 0000000000000000 [ 71.467693][ T8430] RAX: ffffffffffffffda RBX: 000000c00001e800 RCX: 00000000004af19b [ 71.475671][ T8430] RDX: 0000000000001000 RSI: 000000c00027a000 RDI: 0000000000000006 [ 71.483677][ T8430] RBP: 000000c000219878 R08: 0000000000000001 R09: 0000000000000002 [ 71.491660][ T8430] R10: 0000000000006037 R11: 0000000000000212 R12: 0000000000006031 [ 71.499644][ T8430] R13: 0000000000002000 R14: 0000000000000020 R15: 0000000000000004 [ 71.507651][ T8430] [ 71.509979][ T8430] Allocated by task 6428: [ 71.514320][ T8430] kasan_save_stack+0x1b/0x40 [ 71.519014][ T8430] __kasan_kmalloc+0x9b/0xd0 [ 71.523623][ T8430] tomoyo_realpath_from_path+0xc3/0x620 [ 71.529183][ T8430] tomoyo_path_perm+0x21b/0x400 [ 71.534044][ T8430] security_inode_getattr+0xcf/0x140 [ 71.539337][ T8430] vfs_statx+0x164/0x390 [ 71.543589][ T8430] __do_sys_newlstat+0x91/0x110 [ 71.548455][ T8430] do_syscall_64+0x3a/0xb0 [ 71.552882][ T8430] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 71.558784][ T8430] [ 71.561102][ T8430] Freed by task 24654: [ 71.565170][ T8430] kasan_save_stack+0x1b/0x40 [ 71.569858][ T8430] kasan_set_track+0x1c/0x30 [ 71.574630][ T8430] kasan_set_free_info+0x20/0x30 [ 71.579570][ T8430] __kasan_slab_free+0xfb/0x130 [ 71.584423][ T8430] slab_free_freelist_hook+0xdf/0x240 [ 71.589816][ T8430] kfree+0xe5/0x7f0 [ 71.593631][ T8430] tomoyo_realpath_from_path+0x191/0x620 [ 71.599271][ T8430] tomoyo_path_perm+0x21b/0x400 [ 71.604147][ T8430] security_inode_getattr+0xcf/0x140 [ 71.609435][ T8430] vfs_statx+0x164/0x390 [ 71.613686][ T8430] __do_sys_newlstat+0x91/0x110 [ 71.618542][ T8430] do_syscall_64+0x3a/0xb0 [ 71.622967][ T8430] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 71.628868][ T8430] [ 71.631186][ T8430] The buggy address belongs to the object at ffff888028d40000 [ 71.631186][ T8430] which belongs to the cache kmalloc-4k of size 4096 [ 71.645240][ T8430] The buggy address is located 4 bytes inside of [ 71.645240][ T8430] 4096-byte region [ffff888028d40000, ffff888028d41000) [ 71.658448][ T8430] The buggy address belongs to the page: [ 71.664082][ T8430] page:ffffea0000a35000 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28d40 [ 71.674243][ T8430] head:ffffea0000a35000 order:3 compound_mapcount:0 compound_pincount:0 [ 71.682657][ T8430] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 71.690682][ T8430] raw: 00fff00000010200 0000000000000000 dead000000000122 ffff888011042140 [ 71.699277][ T8430] raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 [ 71.707859][ T8430] page dumped because: kasan: bad access detected [ 71.714268][ T8430] [ 71.716586][ T8430] Memory state around the buggy address: [ 71.722208][ T8430] ffff888028d3ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 71.730271][ T8430] ffff888028d3ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 71.738330][ T8430] >ffff888028d40000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 71.746385][ T8430] ^ [ 71.750446][ T8430] ffff888028d40080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 71.758503][ T8430] ffff888028d40100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 71.766560][ T8430] ================================================================== [ 71.774616][ T8430] Disabling lock debugging due to kernel taint [ 71.784197][ T8430] Kernel panic - not syncing: panic_on_warn set ... [ 71.790799][ T8430] CPU: 1 PID: 8430 Comm: syz-fuzzer Tainted: G B 5.12.0-rc8-next-20210423-syzkaller #0 [ 71.801752][ T8430] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 71.811806][ T8430] Call Trace: [ 71.815083][ T8430] dump_stack+0x141/0x1d7 [ 71.819420][ T8430] panic+0x306/0x73d [ 71.823353][ T8430] ? __warn_printk+0xf3/0xf3 [ 71.828033][ T8430] ? preempt_schedule_common+0x59/0xc0 [ 71.833508][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.838794][ T8430] ? preempt_schedule_thunk+0x16/0x18 [ 71.844172][ T8430] ? trace_hardirqs_on+0x38/0x1c0 [ 71.849194][ T8430] ? trace_hardirqs_on+0x51/0x1c0 [ 71.854221][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.859507][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.864810][ T8430] end_report.cold+0x5a/0x5a [ 71.869428][ T8430] kasan_report.cold+0x6a/0xd8 [ 71.874197][ T8430] ? __skb_datagram_iter+0x6b8/0x770 [ 71.879485][ T8430] __skb_datagram_iter+0x6b8/0x770 [ 71.884604][ T8430] ? zerocopy_sg_from_iter+0x110/0x110 [ 71.890087][ T8430] skb_copy_datagram_iter+0x40/0x50 [ 71.895300][ T8430] tcp_recvmsg_locked+0x1048/0x22f0 [ 71.900513][ T8430] ? tcp_splice_read+0x8b0/0x8b0 [ 71.905451][ T8430] ? mark_held_locks+0x9f/0xe0 [ 71.910316][ T8430] ? __local_bh_enable_ip+0xa0/0x120 [ 71.915607][ T8430] tcp_recvmsg+0x134/0x550 [ 71.920026][ T8430] ? tcp_recvmsg_locked+0x22f0/0x22f0 [ 71.925402][ T8430] ? aa_sk_perm+0x311/0xab0 [ 71.929909][ T8430] inet_recvmsg+0x11b/0x5e0 [ 71.934418][ T8430] ? inet_sendpage+0x140/0x140 [ 71.939189][ T8430] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 71.945439][ T8430] ? security_socket_recvmsg+0x8f/0xc0 [ 71.950904][ T8430] sock_read_iter+0x33c/0x470 [ 71.955592][ T8430] ? ____sys_recvmsg+0x600/0x600 [ 71.960555][ T8430] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 71.966815][ T8430] ? fsnotify+0xa58/0x1060 [ 71.971236][ T8430] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 71.977490][ T8430] new_sync_read+0x5b7/0x6e0 [ 71.982112][ T8430] ? ksys_lseek+0x1b0/0x1b0 [ 71.986618][ T8430] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 71.992613][ T8430] vfs_read+0x35c/0x570 [ 71.996772][ T8430] ksys_read+0x1ee/0x250 [ 72.001015][ T8430] ? vfs_write+0xa40/0xa40 [ 72.005432][ T8430] ? syscall_enter_from_user_mode+0x27/0x70 [ 72.011330][ T8430] do_syscall_64+0x3a/0xb0 [ 72.015754][ T8430] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 72.021655][ T8430] RIP: 0033:0x4af19b [ 72.025560][ T8430] 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.045193][ T8430] RSP: 002b:000000c000219828 EFLAGS: 00000212 ORIG_RAX: 0000000000000000 [ 72.053619][ T8430] RAX: ffffffffffffffda RBX: 000000c00001e800 RCX: 00000000004af19b [ 72.061589][ T8430] RDX: 0000000000001000 RSI: 000000c00027a000 RDI: 0000000000000006 [ 72.069646][ T8430] RBP: 000000c000219878 R08: 0000000000000001 R09: 0000000000000002 [ 72.077636][ T8430] R10: 0000000000006037 R11: 0000000000000212 R12: 0000000000006031 [ 72.085785][ T8430] R13: 0000000000002000 R14: 0000000000000020 R15: 0000000000000004 [ 72.094168][ T8430] Kernel Offset: disabled [ 72.098485][ T8430] Rebooting in 86400 seconds..