[ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Reached target Login Prompts. [ OK ] Started OpenBSD Secure Shell server. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.51' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 64.934637][ T8485] IPVS: ftp: loaded support on port[0] = 21 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 65.210387][ T8585] ================================================================== [ 65.218487][ T8585] BUG: KASAN: use-after-free in lockdep_register_key+0x356/0x3e0 [ 65.226179][ T8585] Read of size 8 at addr ffff88802f3d3ad8 by task syz-executor469/8585 [ 65.234397][ T8585] [ 65.236736][ T8585] CPU: 0 PID: 8585 Comm: syz-executor469 Not tainted 5.9.0-syzkaller #0 [ 65.245031][ T8585] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.255060][ T8585] Call Trace: [ 65.258421][ T8585] dump_stack+0x107/0x163 [ 65.262730][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.268079][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.273514][ T8585] print_address_description.constprop.0.cold+0xae/0x4c8 [ 65.280536][ T8585] ? get_random_u32+0x103/0x200 [ 65.285366][ T8585] ? vprintk_func+0x95/0x1e0 [ 65.289948][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.295297][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.300652][ T8585] kasan_report.cold+0x1f/0x37 [ 65.305410][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.310867][ T8585] lockdep_register_key+0x356/0x3e0 [ 65.316053][ T8585] htab_map_alloc+0x6c5/0x14a0 [ 65.320991][ T8585] ? htab_map_alloc_check+0x305/0x450 [ 65.326425][ T8585] ? htab_lru_percpu_map_lookup_batch+0x40/0x40 [ 65.332695][ T8585] __do_sys_bpf+0xa80/0x5180 [ 65.337322][ T8585] ? bpf_link_get_from_fd+0x110/0x110 [ 65.342681][ T8585] ? __up_read+0x1a1/0x7b0 [ 65.347075][ T8585] ? _down_write_nest_lock+0x150/0x150 [ 65.352536][ T8585] ? syscall_enter_from_user_mode+0x1d/0x50 [ 65.358409][ T8585] do_syscall_64+0x2d/0x70 [ 65.362807][ T8585] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.368691][ T8585] RIP: 0033:0x441409 [ 65.372578][ T8585] Code: e8 5c ad 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.392159][ T8585] RSP: 002b:00007fff0e284d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 65.400553][ T8585] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441409 [ 65.408503][ T8585] RDX: 0000000000000040 RSI: 0000000020733000 RDI: 0000000000000000 [ 65.416451][ T8585] RBP: 00007fff0e284d10 R08: 0000000000000004 R09: 0000000100000000 [ 65.424412][ T8585] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000fec3 [ 65.432390][ T8585] R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 [ 65.440339][ T8585] [ 65.442648][ T8585] Allocated by task 8507: [ 65.446958][ T8585] kasan_save_stack+0x1b/0x40 [ 65.451611][ T8585] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 65.457230][ T8585] htab_map_alloc+0xdf/0x14a0 [ 65.461898][ T8585] __do_sys_bpf+0xa80/0x5180 [ 65.466465][ T8585] do_syscall_64+0x2d/0x70 [ 65.470877][ T8585] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.476752][ T8585] [ 65.479069][ T8585] Freed by task 8507: [ 65.483201][ T8585] kasan_save_stack+0x1b/0x40 [ 65.487853][ T8585] kasan_set_track+0x1c/0x30 [ 65.492438][ T8585] kasan_set_free_info+0x1b/0x30 [ 65.497361][ T8585] __kasan_slab_free+0x102/0x140 [ 65.502295][ T8585] slab_free_freelist_hook+0x5d/0x150 [ 65.507645][ T8585] kfree+0xdb/0x360 [ 65.511446][ T8585] htab_map_alloc+0x3f9/0x14a0 [ 65.516182][ T8585] __do_sys_bpf+0xa80/0x5180 [ 65.520763][ T8585] do_syscall_64+0x2d/0x70 [ 65.525241][ T8585] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.531103][ T8585] [ 65.533410][ T8585] The buggy address belongs to the object at ffff88802f3d3800 [ 65.533410][ T8585] which belongs to the cache kmalloc-1k of size 1024 [ 65.547457][ T8585] The buggy address is located 728 bytes inside of [ 65.547457][ T8585] 1024-byte region [ffff88802f3d3800, ffff88802f3d3c00) [ 65.560787][ T8585] The buggy address belongs to the page: [ 65.566409][ T8585] page:00000000b1986b5c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2f3d0 [ 65.576538][ T8585] head:00000000b1986b5c order:3 compound_mapcount:0 compound_pincount:0 [ 65.584837][ T8585] flags: 0xfff00000010200(slab|head) [ 65.590101][ T8585] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888010041140 [ 65.598676][ T8585] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 65.607252][ T8585] page dumped because: kasan: bad access detected [ 65.613656][ T8585] [ 65.615965][ T8585] Memory state around the buggy address: [ 65.621575][ T8585] ffff88802f3d3980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.629635][ T8585] ffff88802f3d3a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.637709][ T8585] >ffff88802f3d3a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.645756][ T8585] ^ [ 65.656403][ T8585] ffff88802f3d3b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.664448][ T8585] ffff88802f3d3b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.672487][ T8585] ================================================================== [ 65.680522][ T8585] Disabling lock debugging due to kernel taint [ 65.686647][ T8585] Kernel panic - not syncing: panic_on_warn set ... [ 65.693212][ T8585] CPU: 0 PID: 8585 Comm: syz-executor469 Tainted: G B 5.9.0-syzkaller #0 [ 65.702983][ T8585] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.713022][ T8585] Call Trace: [ 65.716380][ T8585] dump_stack+0x107/0x163 [ 65.720689][ T8585] ? lockdep_register_key+0x270/0x3e0 [ 65.726049][ T8585] panic+0x306/0x73d [ 65.729920][ T8585] ? __warn_printk+0xf3/0xf3 [ 65.734490][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.739853][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.745213][ T8585] end_report+0x58/0x5e [ 65.749358][ T8585] kasan_report.cold+0xd/0x37 [ 65.754027][ T8585] ? lockdep_register_key+0x356/0x3e0 [ 65.759385][ T8585] lockdep_register_key+0x356/0x3e0 [ 65.764564][ T8585] htab_map_alloc+0x6c5/0x14a0 [ 65.769312][ T8585] ? htab_map_alloc_check+0x305/0x450 [ 65.774685][ T8585] ? htab_lru_percpu_map_lookup_batch+0x40/0x40 [ 65.780903][ T8585] __do_sys_bpf+0xa80/0x5180 [ 65.785478][ T8585] ? bpf_link_get_from_fd+0x110/0x110 [ 65.790826][ T8585] ? __up_read+0x1a1/0x7b0 [ 65.795231][ T8585] ? _down_write_nest_lock+0x150/0x150 [ 65.800671][ T8585] ? syscall_enter_from_user_mode+0x1d/0x50 [ 65.806543][ T8585] do_syscall_64+0x2d/0x70 [ 65.811044][ T8585] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.816922][ T8585] RIP: 0033:0x441409 [ 65.820803][ T8585] Code: e8 5c ad 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 bb 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 65.840396][ T8585] RSP: 002b:00007fff0e284d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 65.848786][ T8585] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441409 [ 65.856743][ T8585] RDX: 0000000000000040 RSI: 0000000020733000 RDI: 0000000000000000 [ 65.864700][ T8585] RBP: 00007fff0e284d10 R08: 0000000000000004 R09: 0000000100000000 [ 65.872647][ T8585] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000fec3 [ 65.880594][ T8585] R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 [ 65.889216][ T8585] Kernel Offset: disabled [ 65.893532][ T8585] Rebooting in 86400 seconds..