Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.46' (ECDSA) to the list of known hosts. 2021/05/02 07:08:05 fuzzer started 2021/05/02 07:08:06 dialing manager at 10.128.0.169:44661 2021/05/02 07:08:06 syscalls: 3571 2021/05/02 07:08:06 code coverage: enabled 2021/05/02 07:08:06 comparison tracing: enabled 2021/05/02 07:08:06 extra coverage: enabled 2021/05/02 07:08:06 setuid sandbox: enabled 2021/05/02 07:08:06 namespace sandbox: enabled 2021/05/02 07:08:06 Android sandbox: /sys/fs/selinux/policy does not exist 2021/05/02 07:08:06 fault injection: enabled 2021/05/02 07:08:06 leak checking: CONFIG_DEBUG_KMEMLEAK is not enabled 2021/05/02 07:08:06 net packet injection: enabled 2021/05/02 07:08:06 net device setup: enabled 2021/05/02 07:08:06 concurrency sanitizer: /sys/kernel/debug/kcsan does not exist 2021/05/02 07:08:06 devlink PCI setup: PCI device 0000:00:10.0 is not available 2021/05/02 07:08:06 USB emulation: enabled 2021/05/02 07:08:06 hci packet injection: enabled 2021/05/02 07:08:06 wifi device emulation: enabled 2021/05/02 07:08:06 802.15.4 emulation: enabled 2021/05/02 07:08:06 fetching corpus: 0, signal 0/2000 (executing program) syzkaller login: [ 74.339960][ T8435] ================================================================== [ 74.348279][ T8435] BUG: KASAN: use-after-free in __skb_datagram_iter+0x6b8/0x770 [ 74.356027][ T8435] Read of size 4 at addr ffff888022560004 by task syz-fuzzer/8435 [ 74.363848][ T8435] [ 74.366195][ T8435] CPU: 0 PID: 8435 Comm: syz-fuzzer Not tainted 5.12.0-rc8-next-20210423-syzkaller #0 [ 74.375758][ T8435] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.385841][ T8435] Call Trace: [ 74.389137][ T8435] dump_stack+0x141/0x1d7 [ 74.393541][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.398845][ T8435] print_address_description.constprop.0.cold+0x5b/0x2f8 [ 74.405920][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.411222][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.416532][ T8435] kasan_report.cold+0x7c/0xd8 [ 74.421324][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.426648][ T8435] __skb_datagram_iter+0x6b8/0x770 [ 74.431781][ T8435] ? zerocopy_sg_from_iter+0x110/0x110 [ 74.437271][ T8435] skb_copy_datagram_iter+0x40/0x50 [ 74.442491][ T8435] tcp_recvmsg_locked+0x1048/0x22f0 [ 74.447754][ T8435] ? tcp_splice_read+0x8b0/0x8b0 [ 74.452719][ T8435] ? mark_held_locks+0x9f/0xe0 [ 74.457562][ T8435] ? __local_bh_enable_ip+0xa0/0x120 [ 74.462888][ T8435] tcp_recvmsg+0x134/0x550 [ 74.467327][ T8435] ? tcp_recvmsg_locked+0x22f0/0x22f0 [ 74.472731][ T8435] ? aa_sk_perm+0x311/0xab0 [ 74.477258][ T8435] inet_recvmsg+0x11b/0x5e0 [ 74.481765][ T8435] ? inet_sendpage+0x140/0x140 [ 74.486543][ T8435] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.492805][ T8435] ? security_socket_recvmsg+0x8f/0xc0 [ 74.498269][ T8435] sock_read_iter+0x33c/0x470 [ 74.502938][ T8435] ? ____sys_recvmsg+0x600/0x600 [ 74.507881][ T8435] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.514184][ T8435] ? fsnotify+0xa58/0x1060 [ 74.518637][ T8435] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 74.524894][ T8435] new_sync_read+0x5b7/0x6e0 [ 74.529481][ T8435] ? ksys_lseek+0x1b0/0x1b0 [ 74.533987][ T8435] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 74.539989][ T8435] vfs_read+0x35c/0x570 [ 74.544145][ T8435] ksys_read+0x1ee/0x250 [ 74.548387][ T8435] ? vfs_write+0xa40/0xa40 [ 74.552791][ T8435] ? syscall_enter_from_user_mode+0x27/0x70 [ 74.558719][ T8435] do_syscall_64+0x3a/0xb0 [ 74.563126][ T8435] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.569045][ T8435] RIP: 0033:0x4af19b [ 74.572961][ T8435] 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 [ 74.592566][ T8435] RSP: 002b:000000c000329850 EFLAGS: 00000206 ORIG_RAX: 0000000000000000 [ 74.600979][ T8435] RAX: ffffffffffffffda RBX: 000000c00001c000 RCX: 00000000004af19b [ 74.608936][ T8435] RDX: 0000000000001000 RSI: 000000c0001da000 RDI: 0000000000000006 [ 74.616898][ T8435] RBP: 000000c0003298a0 R08: 0000000000000001 R09: 0000000000000002 [ 74.624881][ T8435] R10: 0000000000000d55 R11: 0000000000000206 R12: ffffffffffffffff [ 74.632860][ T8435] R13: 0000000000002000 R14: 0000000000000020 R15: 0000000000000020 [ 74.640867][ T8435] [ 74.643186][ T8435] Allocated by task 1: [ 74.647234][ T8435] kasan_save_stack+0x1b/0x40 [ 74.651915][ T8435] __kasan_slab_alloc+0x84/0xa0 [ 74.656752][ T8435] kmem_cache_alloc+0x219/0x3a0 [ 74.661599][ T8435] getname_flags.part.0+0x50/0x4f0 [ 74.667670][ T8435] getname+0x8e/0xd0 [ 74.671914][ T8435] do_sys_openat2+0xf5/0x420 [ 74.676506][ T8435] __x64_sys_open+0x119/0x1c0 [ 74.681173][ T8435] do_syscall_64+0x3a/0xb0 [ 74.685580][ T8435] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.691473][ T8435] [ 74.693782][ T8435] Freed by task 16462: [ 74.697858][ T8435] kasan_save_stack+0x1b/0x40 [ 74.702540][ T8435] kasan_set_track+0x1c/0x30 [ 74.707122][ T8435] kasan_set_free_info+0x20/0x30 [ 74.712053][ T8435] __kasan_slab_free+0xfb/0x130 [ 74.716910][ T8435] slab_free_freelist_hook+0xdf/0x240 [ 74.722386][ T8435] kmem_cache_free+0x97/0x750 [ 74.727076][ T8435] putname+0xe1/0x120 [ 74.731080][ T8435] do_sys_openat2+0x153/0x420 [ 74.735746][ T8435] __x64_sys_open+0x119/0x1c0 [ 74.740423][ T8435] do_syscall_64+0x3a/0xb0 [ 74.744898][ T8435] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 74.750779][ T8435] [ 74.753088][ T8435] The buggy address belongs to the object at ffff888022560000 [ 74.753088][ T8435] which belongs to the cache names_cache of size 4096 [ 74.767233][ T8435] The buggy address is located 4 bytes inside of [ 74.767233][ T8435] 4096-byte region [ffff888022560000, ffff888022561000) [ 74.780511][ T8435] The buggy address belongs to the page: [ 74.786133][ T8435] page:ffffea0000895800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x22560 [ 74.796280][ T8435] head:ffffea0000895800 order:3 compound_mapcount:0 compound_pincount:0 [ 74.804587][ T8435] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 74.812563][ T8435] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff8880111be280 [ 74.821157][ T8435] raw: 0000000000000000 0000000000070007 00000001ffffffff 0000000000000000 [ 74.829725][ T8435] page dumped because: kasan: bad access detected [ 74.836130][ T8435] [ 74.838434][ T8435] Memory state around the buggy address: [ 74.844041][ T8435] ffff88802255ff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 74.852118][ T8435] ffff88802255ff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 74.860180][ T8435] >ffff888022560000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 74.868230][ T8435] ^ [ 74.872291][ T8435] ffff888022560080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 74.880350][ T8435] ffff888022560100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 74.888390][ T8435] ================================================================== [ 74.896430][ T8435] Disabling lock debugging due to kernel taint [ 74.903364][ T8435] Kernel panic - not syncing: panic_on_warn set ... [ 74.909953][ T8435] CPU: 0 PID: 8435 Comm: syz-fuzzer Tainted: G B 5.12.0-rc8-next-20210423-syzkaller #0 [ 74.920894][ T8435] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 74.930957][ T8435] Call Trace: [ 74.934240][ T8435] dump_stack+0x141/0x1d7 [ 74.938595][ T8435] panic+0x306/0x73d [ 74.942509][ T8435] ? __warn_printk+0xf3/0xf3 [ 74.947085][ T8435] ? preempt_schedule_common+0x59/0xc0 [ 74.952654][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.957920][ T8435] ? preempt_schedule_thunk+0x16/0x18 [ 74.963295][ T8435] ? trace_hardirqs_on+0x38/0x1c0 [ 74.968322][ T8435] ? trace_hardirqs_on+0x51/0x1c0 [ 74.973333][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.978609][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.983908][ T8435] end_report.cold+0x5a/0x5a [ 74.988488][ T8435] kasan_report.cold+0x6a/0xd8 [ 74.993255][ T8435] ? __skb_datagram_iter+0x6b8/0x770 [ 74.998544][ T8435] __skb_datagram_iter+0x6b8/0x770 [ 75.003641][ T8435] ? zerocopy_sg_from_iter+0x110/0x110 [ 75.009121][ T8435] skb_copy_datagram_iter+0x40/0x50 [ 75.014312][ T8435] tcp_recvmsg_locked+0x1048/0x22f0 [ 75.019501][ T8435] ? tcp_splice_read+0x8b0/0x8b0 [ 75.024421][ T8435] ? mark_held_locks+0x9f/0xe0 [ 75.029173][ T8435] ? __local_bh_enable_ip+0xa0/0x120 [ 75.034458][ T8435] tcp_recvmsg+0x134/0x550 [ 75.038858][ T8435] ? tcp_recvmsg_locked+0x22f0/0x22f0 [ 75.044215][ T8435] ? aa_sk_perm+0x311/0xab0 [ 75.048702][ T8435] inet_recvmsg+0x11b/0x5e0 [ 75.053191][ T8435] ? inet_sendpage+0x140/0x140 [ 75.057953][ T8435] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 75.064188][ T8435] ? security_socket_recvmsg+0x8f/0xc0 [ 75.069634][ T8435] sock_read_iter+0x33c/0x470 [ 75.074312][ T8435] ? ____sys_recvmsg+0x600/0x600 [ 75.079253][ T8435] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 75.085491][ T8435] ? fsnotify+0xa58/0x1060 [ 75.089890][ T8435] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 75.096136][ T8435] new_sync_read+0x5b7/0x6e0 [ 75.100725][ T8435] ? ksys_lseek+0x1b0/0x1b0 [ 75.105226][ T8435] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 75.111197][ T8435] vfs_read+0x35c/0x570 [ 75.115340][ T8435] ksys_read+0x1ee/0x250 [ 75.119590][ T8435] ? vfs_write+0xa40/0xa40 [ 75.124002][ T8435] ? syscall_enter_from_user_mode+0x27/0x70 [ 75.129880][ T8435] do_syscall_64+0x3a/0xb0 [ 75.134294][ T8435] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 75.140172][ T8435] RIP: 0033:0x4af19b [ 75.144047][ T8435] 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 [ 75.163641][ T8435] RSP: 002b:000000c000329850 EFLAGS: 00000206 ORIG_RAX: 0000000000000000 [ 75.172070][ T8435] RAX: ffffffffffffffda RBX: 000000c00001c000 RCX: 00000000004af19b [ 75.180040][ T8435] RDX: 0000000000001000 RSI: 000000c0001da000 RDI: 0000000000000006 [ 75.188013][ T8435] RBP: 000000c0003298a0 R08: 0000000000000001 R09: 0000000000000002 [ 75.195976][ T8435] R10: 0000000000000d55 R11: 0000000000000206 R12: ffffffffffffffff [ 75.203930][ T8435] R13: 0000000000002000 R14: 0000000000000020 R15: 0000000000000020 [ 75.211946][ T8435] Kernel Offset: disabled [ 75.216260][ T8435] Rebooting in 86400 seconds..