[ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.46' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program syzkaller login: [ 64.289945][ T8514] 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 executing program executing program executing program executing program executing program [ 64.689003][ T8646] ================================================================== [ 64.697099][ T8646] BUG: KASAN: use-after-free in lockdep_register_key+0x356/0x3e0 [ 64.704795][ T8646] Read of size 8 at addr ffff888028e2c2d8 by task syz-executor951/8646 [ 64.712997][ T8646] [ 64.715366][ T8646] CPU: 0 PID: 8646 Comm: syz-executor951 Not tainted 5.9.0-syzkaller #0 [ 64.723660][ T8646] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 64.733688][ T8646] Call Trace: [ 64.736954][ T8646] dump_stack+0x107/0x163 [ 64.741280][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 64.746625][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 64.752059][ T8646] print_address_description.constprop.0.cold+0xae/0x4c8 [ 64.759057][ T8646] ? get_random_u32+0x103/0x200 [ 64.763881][ T8646] ? vprintk_func+0x95/0x1e0 [ 64.768448][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 64.773795][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 64.779140][ T8646] kasan_report.cold+0x1f/0x37 [ 64.784254][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 64.789628][ T8646] lockdep_register_key+0x356/0x3e0 [ 64.794802][ T8646] htab_map_alloc+0x6c5/0x14a0 [ 64.799540][ T8646] ? bpf_lsm_capable+0x5/0x10 [ 64.804190][ T8646] ? security_capable+0x8f/0xc0 [ 64.809017][ T8646] ? htab_map_alloc_check+0x305/0x450 [ 64.814372][ T8646] ? htab_lru_percpu_map_lookup_batch+0x40/0x40 [ 64.820586][ T8646] __do_sys_bpf+0xa80/0x5180 [ 64.825167][ T8646] ? bpf_link_get_from_fd+0x110/0x110 [ 64.830601][ T8646] ? __up_read+0x1a1/0x7b0 [ 64.834992][ T8646] ? _down_write_nest_lock+0x150/0x150 [ 64.840435][ T8646] ? syscall_enter_from_user_mode+0x1d/0x50 [ 64.846305][ T8646] do_syscall_64+0x2d/0x70 [ 64.850724][ T8646] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.856600][ T8646] RIP: 0033:0x441409 [ 64.860474][ T8646] 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 [ 64.880067][ T8646] RSP: 002b:00007fffe4319db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 64.888455][ T8646] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441409 [ 64.896403][ T8646] RDX: 0000000000000040 RSI: 0000000020000040 RDI: 405a020000000000 [ 64.904351][ T8646] RBP: 00007fffe4319dc0 R08: 0000000000000004 R09: 0000000100000000 [ 64.912296][ T8646] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000fcbc [ 64.920241][ T8646] R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 [ 64.928193][ T8646] [ 64.930507][ T8646] Allocated by task 8548: [ 64.934828][ T8646] kasan_save_stack+0x1b/0x40 [ 64.939480][ T8646] __kasan_kmalloc.constprop.0+0xc2/0xd0 [ 64.945091][ T8646] htab_map_alloc+0xdf/0x14a0 [ 64.949749][ T8646] __do_sys_bpf+0xa80/0x5180 [ 64.954312][ T8646] do_syscall_64+0x2d/0x70 [ 64.958718][ T8646] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 64.964578][ T8646] [ 64.966882][ T8646] Freed by task 8548: [ 64.970839][ T8646] kasan_save_stack+0x1b/0x40 [ 64.975487][ T8646] kasan_set_track+0x1c/0x30 [ 64.980050][ T8646] kasan_set_free_info+0x1b/0x30 [ 64.984958][ T8646] __kasan_slab_free+0x102/0x140 [ 64.989867][ T8646] slab_free_freelist_hook+0x5d/0x150 [ 64.995210][ T8646] kfree+0xdb/0x360 [ 64.999004][ T8646] htab_map_alloc+0x3f9/0x14a0 [ 65.003740][ T8646] __do_sys_bpf+0xa80/0x5180 [ 65.008302][ T8646] do_syscall_64+0x2d/0x70 [ 65.012695][ T8646] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.018567][ T8646] [ 65.020883][ T8646] The buggy address belongs to the object at ffff888028e2c000 [ 65.020883][ T8646] which belongs to the cache kmalloc-1k of size 1024 [ 65.034921][ T8646] The buggy address is located 728 bytes inside of [ 65.034921][ T8646] 1024-byte region [ffff888028e2c000, ffff888028e2c400) [ 65.048246][ T8646] The buggy address belongs to the page: [ 65.053854][ T8646] page:00000000d73a5b4a refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x28e28 [ 65.063984][ T8646] head:00000000d73a5b4a order:3 compound_mapcount:0 compound_pincount:0 [ 65.072278][ T8646] flags: 0xfff00000010200(slab|head) [ 65.077547][ T8646] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888010041140 [ 65.086115][ T8646] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 65.094676][ T8646] page dumped because: kasan: bad access detected [ 65.101059][ T8646] [ 65.103373][ T8646] Memory state around the buggy address: [ 65.108977][ T8646] ffff888028e2c180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.117026][ T8646] ffff888028e2c200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.125065][ T8646] >ffff888028e2c280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.133149][ T8646] ^ [ 65.140063][ T8646] ffff888028e2c300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.148101][ T8646] ffff888028e2c380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 65.156226][ T8646] ================================================================== [ 65.164279][ T8646] Disabling lock debugging due to kernel taint [ 65.170404][ T8646] Kernel panic - not syncing: panic_on_warn set ... [ 65.176970][ T8646] CPU: 0 PID: 8646 Comm: syz-executor951 Tainted: G B 5.9.0-syzkaller #0 [ 65.186660][ T8646] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 65.196686][ T8646] Call Trace: [ 65.199959][ T8646] dump_stack+0x107/0x163 [ 65.204314][ T8646] ? lockdep_register_key+0x270/0x3e0 [ 65.209661][ T8646] panic+0x306/0x73d [ 65.213541][ T8646] ? __warn_printk+0xf3/0xf3 [ 65.218115][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 65.224855][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 65.230433][ T8646] end_report+0x58/0x5e [ 65.234577][ T8646] kasan_report.cold+0xd/0x37 [ 65.239269][ T8646] ? lockdep_register_key+0x356/0x3e0 [ 65.244617][ T8646] lockdep_register_key+0x356/0x3e0 [ 65.249833][ T8646] htab_map_alloc+0x6c5/0x14a0 [ 65.254594][ T8646] ? bpf_lsm_capable+0x5/0x10 [ 65.259271][ T8646] ? security_capable+0x8f/0xc0 [ 65.264096][ T8646] ? htab_map_alloc_check+0x305/0x450 [ 65.269441][ T8646] ? htab_lru_percpu_map_lookup_batch+0x40/0x40 [ 65.275655][ T8646] __do_sys_bpf+0xa80/0x5180 [ 65.280228][ T8646] ? bpf_link_get_from_fd+0x110/0x110 [ 65.285584][ T8646] ? __up_read+0x1a1/0x7b0 [ 65.290843][ T8646] ? _down_write_nest_lock+0x150/0x150 [ 65.296277][ T8646] ? syscall_enter_from_user_mode+0x1d/0x50 [ 65.302143][ T8646] do_syscall_64+0x2d/0x70 [ 65.306550][ T8646] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 65.312417][ T8646] RIP: 0033:0x441409 [ 65.316296][ T8646] 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.335895][ T8646] RSP: 002b:00007fffe4319db8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 [ 65.344282][ T8646] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441409 [ 65.352245][ T8646] RDX: 0000000000000040 RSI: 0000000020000040 RDI: 405a020000000000 [ 65.360209][ T8646] RBP: 00007fffe4319dc0 R08: 0000000000000004 R09: 0000000100000000 [ 65.368162][ T8646] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000fcbc [ 65.376107][ T8646] R13: 00000000004022e0 R14: 0000000000000000 R15: 0000000000000000 [ 65.384737][ T8646] Kernel Offset: disabled [ 65.389060][ T8646] Rebooting in 86400 seconds..