[ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ 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.45' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 67.446872][ T8481] 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 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 [ 67.802253][ T8606] ================================================================== [ 67.810350][ T8606] BUG: KASAN: use-after-free in lockdep_register_key+0x356/0x3e0 [ 67.818048][ T8606] Read of size 8 at addr ffff888143f29ad8 by task syz-executor516/8606 [ 67.826258][ T8606] [ 67.828573][ T8606] CPU: 0 PID: 8606 Comm: syz-executor516 Not tainted 5.9.0-syzkaller #0 [ 67.836869][ T8606] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 67.847032][ T8606] Call Trace: [ 67.850324][ T8606] dump_stack+0x107/0x163 [ 67.854653][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 67.860022][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 67.865392][ T8606] print_address_description.constprop.0.cold+0xae/0x4c8 [ 67.872392][ T8606] ? get_random_u32+0x103/0x200 [ 67.877242][ T8606] ? vprintk_func+0x95/0x1e0 [ 67.881812][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 67.887163][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 67.892531][ T8606] kasan_report.cold+0x1f/0x37 [ 67.897280][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 67.902647][ T8606] lockdep_register_key+0x356/0x3e0 [ 67.907828][ T8606] htab_map_alloc+0x6c5/0x14a0 [ 67.912575][ T8606] ? htab_map_alloc_check+0x305/0x450 [ 67.917927][ T8606] ? htab_lru_percpu_map_lookup_batch+0x40/0x40 [ 67.924155][ T8606] __do_sys_bpf+0xa80/0x5180 [ 67.928751][ T8606] ? bpf_link_get_from_fd+0x110/0x110 [ 67.934115][ T8606] ? __up_read+0x1a1/0x7b0 [ 67.938510][ T8606] ? _down_write_nest_lock+0x150/0x150 [ 67.943960][ T8606] ? syscall_enter_from_user_mode+0x1d/0x50 [ 67.949833][ T8606] do_syscall_64+0x2d/0x70 [ 67.954319][ T8606] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 67.960207][ T8606] RIP: 0033:0x441409 [ 67.964082][ T8606] 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 [ 67.983666][ T8606] RSP: 002b:00007ffcc0bf1768 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 67.992074][ T8606] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441409 [ 68.000042][ T8606] RDX: 0000000000000040 RSI: 0000000020000580 RDI: 0000000000000000 [ 68.008013][ T8606] RBP: 00007ffcc0bf1770 R08: 0000000000000004 R09: 0000000100000000 [ 68.015984][ T8606] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000108d6 [ 68.023959][ T8606] R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 [ 68.031915][ T8606] [ 68.034225][ T8606] Allocated by task 8557: [ 68.038537][ T8606] kasan_save_stack+0x1b/0x40 [ 68.043211][ T8606] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 68.048826][ T8606] htab_map_alloc+0xdf/0x14a0 [ 68.053500][ T8606] __do_sys_bpf+0xa80/0x5180 [ 68.058110][ T8606] do_syscall_64+0x2d/0x70 [ 68.062531][ T8606] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 68.068411][ T8606] [ 68.070720][ T8606] Freed by task 8557: [ 68.074683][ T8606] kasan_save_stack+0x1b/0x40 [ 68.079341][ T8606] kasan_set_track+0x1c/0x30 [ 68.083909][ T8606] kasan_set_free_info+0x1b/0x30 [ 68.088824][ T8606] __kasan_slab_free+0x102/0x140 [ 68.093742][ T8606] slab_free_freelist_hook+0x5d/0x150 [ 68.099091][ T8606] kfree+0xdb/0x360 [ 68.102884][ T8606] htab_map_alloc+0x3f9/0x14a0 [ 68.107667][ T8606] __do_sys_bpf+0xa80/0x5180 [ 68.112235][ T8606] do_syscall_64+0x2d/0x70 [ 68.116647][ T8606] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 68.122520][ T8606] [ 68.124846][ T8606] The buggy address belongs to the object at ffff888143f29800 [ 68.124846][ T8606] which belongs to the cache kmalloc-1k of size 1024 [ 68.138900][ T8606] The buggy address is located 728 bytes inside of [ 68.138900][ T8606] 1024-byte region [ffff888143f29800, ffff888143f29c00) [ 68.152251][ T8606] The buggy address belongs to the page: [ 68.157869][ T8606] page:000000008e689f49 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x143f28 [ 68.168099][ T8606] head:000000008e689f49 order:3 compound_mapcount:0 compound_pincount:0 [ 68.176418][ T8606] flags: 0x57ff00000010200(slab|head) [ 68.181771][ T8606] raw: 057ff00000010200 0000000000000000 0000000100000001 ffff888010041140 [ 68.190338][ T8606] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 68.198911][ T8606] page dumped because: kasan: bad access detected [ 68.205325][ T8606] [ 68.207633][ T8606] Memory state around the buggy address: [ 68.213260][ T8606] ffff888143f29980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.221318][ T8606] ffff888143f29a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.229367][ T8606] >ffff888143f29a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.237414][ T8606] ^ [ 68.244359][ T8606] ffff888143f29b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.252426][ T8606] ffff888143f29b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 68.260480][ T8606] ================================================================== [ 68.268536][ T8606] Disabling lock debugging due to kernel taint [ 68.274666][ T8606] Kernel panic - not syncing: panic_on_warn set ... [ 68.281239][ T8606] CPU: 0 PID: 8606 Comm: syz-executor516 Tainted: G B 5.9.0-syzkaller #0 [ 68.290960][ T8606] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 68.301021][ T8606] Call Trace: [ 68.304319][ T8606] dump_stack+0x107/0x163 [ 68.308633][ T8606] ? lockdep_register_key+0x270/0x3e0 [ 68.314012][ T8606] panic+0x306/0x73d [ 68.318000][ T8606] ? __warn_printk+0xf3/0xf3 [ 68.322598][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 68.327983][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 68.333334][ T8606] end_report+0x58/0x5e [ 68.337470][ T8606] kasan_report.cold+0xd/0x37 [ 68.342126][ T8606] ? lockdep_register_key+0x356/0x3e0 [ 68.347478][ T8606] lockdep_register_key+0x356/0x3e0 [ 68.352669][ T8606] htab_map_alloc+0x6c5/0x14a0 [ 68.357500][ T8606] ? htab_map_alloc_check+0x305/0x450 [ 68.362865][ T8606] ? htab_lru_percpu_map_lookup_batch+0x40/0x40 [ 68.369101][ T8606] __do_sys_bpf+0xa80/0x5180 [ 68.373776][ T8606] ? bpf_link_get_from_fd+0x110/0x110 [ 68.379141][ T8606] ? __up_read+0x1a1/0x7b0 [ 68.383549][ T8606] ? _down_write_nest_lock+0x150/0x150 [ 68.388997][ T8606] ? syscall_enter_from_user_mode+0x1d/0x50 [ 68.394882][ T8606] do_syscall_64+0x2d/0x70 [ 68.399298][ T8606] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 68.405183][ T8606] RIP: 0033:0x441409 [ 68.409060][ T8606] 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 [ 68.428644][ T8606] RSP: 002b:00007ffcc0bf1768 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 68.439479][ T8606] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441409 [ 68.447427][ T8606] RDX: 0000000000000040 RSI: 0000000020000580 RDI: 0000000000000000 [ 68.455379][ T8606] RBP: 00007ffcc0bf1770 R08: 0000000000000004 R09: 0000000100000000 [ 68.471446][ T8606] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000108d6 [ 68.479428][ T8606] R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 [ 68.487938][ T8606] Kernel Offset: disabled [ 68.492253][ T8606] Rebooting in 86400 seconds..