Warning: Permanently added '10.128.0.230' (ECDSA) to the list of known hosts. 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 syzkaller login: [ 70.254059][ T8394] ================================================================== [ 70.262165][ T8394] BUG: KASAN: use-after-free in __lock_acquire+0x3e6f/0x54c0 [ 70.269570][ T8394] Read of size 8 at addr ffff888019e67468 by task syz-executor531/8394 [ 70.277824][ T8394] [ 70.280155][ T8394] CPU: 1 PID: 8394 Comm: syz-executor531 Not tainted 5.12.0-rc6-syzkaller #0 [ 70.288925][ T8394] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.298991][ T8394] Call Trace: executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.302281][ T8394] dump_stack+0x141/0x1d7 [ 70.306654][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.311710][ T8394] print_address_description.constprop.0.cold+0x5b/0x2f8 [ 70.318760][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.323819][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.328864][ T8394] kasan_report.cold+0x7c/0xd8 [ 70.333655][ T8394] ? __lock_acquire+0x15d0/0x54c0 [ 70.339096][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.344142][ T8394] __lock_acquire+0x3e6f/0x54c0 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.349013][ T8394] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 70.355013][ T8394] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 70.361010][ T8394] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 70.367016][ T8394] lock_acquire+0x1ab/0x740 [ 70.371536][ T8394] ? nfc_llcp_sock_unlink+0x1d/0x1c0 [ 70.376845][ T8394] ? lock_release+0x720/0x720 [ 70.381542][ T8394] ? llcp_sock_release+0x1df/0x580 [ 70.386674][ T8394] ? mark_held_locks+0x9f/0xe0 [ 70.391456][ T8394] _raw_write_lock+0x2a/0x40 [ 70.396064][ T8394] ? nfc_llcp_sock_unlink+0x1d/0x1c0 executing program executing program executing program executing program executing program executing program executing program executing program [ 70.401392][ T8394] nfc_llcp_sock_unlink+0x1d/0x1c0 [ 70.406522][ T8394] llcp_sock_release+0x286/0x580 [ 70.411483][ T8394] __sock_release+0xcd/0x280 [ 70.416094][ T8394] sock_close+0x18/0x20 [ 70.420270][ T8394] __fput+0x288/0x920 [ 70.424274][ T8394] ? __sock_release+0x280/0x280 [ 70.429144][ T8394] task_work_run+0xdd/0x1a0 [ 70.433672][ T8394] do_exit+0xbfc/0x2a60 [ 70.437860][ T8394] ? mm_update_next_owner+0x7a0/0x7a0 [ 70.443250][ T8394] ? lock_downgrade+0x6e0/0x6e0 [ 70.448129][ T8394] do_group_exit+0x125/0x310 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.452762][ T8394] __x64_sys_exit_group+0x3a/0x50 [ 70.457819][ T8394] do_syscall_64+0x2d/0x70 [ 70.462253][ T8394] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 70.468168][ T8394] RIP: 0033:0x43e989 [ 70.472072][ T8394] Code: Unable to access opcode bytes at RIP 0x43e95f. [ 70.478942][ T8394] RSP: 002b:00007ffc5e103168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 70.487368][ T8394] RAX: ffffffffffffffda RBX: 00000000004b02f0 RCX: 000000000043e989 [ 70.495351][ T8394] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.503331][ T8394] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 [ 70.511314][ T8394] R10: 0000000000080800 R11: 0000000000000246 R12: 00000000004b02f0 [ 70.519301][ T8394] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 70.527292][ T8394] [ 70.529616][ T8394] Allocated by task 1: [ 70.533717][ T8394] kasan_save_stack+0x1b/0x40 [ 70.539714][ T8394] __kasan_kmalloc+0x99/0xc0 [ 70.544342][ T8394] nfc_llcp_register_device+0x45/0x9d0 [ 70.549823][ T8394] nfc_register_device+0x6d/0x360 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.554878][ T8394] nfcsim_device_new+0x345/0x5c1 [ 70.559843][ T8394] nfcsim_init+0x71/0x14d [ 70.564192][ T8394] do_one_initcall+0x103/0x650 [ 70.569727][ T8394] kernel_init_freeable+0x63e/0x6c2 [ 70.574944][ T8394] kernel_init+0xd/0x1b8 [ 70.579228][ T8394] ret_from_fork+0x1f/0x30 [ 70.583658][ T8394] [ 70.586010][ T8394] Freed by task 8396: [ 70.589990][ T8394] kasan_save_stack+0x1b/0x40 [ 70.594683][ T8394] kasan_set_track+0x1c/0x30 [ 70.599286][ T8394] kasan_set_free_info+0x20/0x30 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.604241][ T8394] __kasan_slab_free+0xf5/0x130 [ 70.609104][ T8394] slab_free_freelist_hook+0x92/0x210 [ 70.614515][ T8394] kfree+0xe5/0x7f0 [ 70.618333][ T8394] nfc_llcp_local_put+0x194/0x200 [ 70.623373][ T8394] llcp_sock_destruct+0x81/0x150 [ 70.628414][ T8394] __sk_destruct+0x4b/0x900 [ 70.632937][ T8394] sk_destruct+0xbd/0xe0 [ 70.637193][ T8394] __sk_free+0xef/0x3d0 [ 70.641362][ T8394] sk_free+0x78/0xa0 [ 70.645275][ T8394] llcp_sock_release+0x3c9/0x580 [ 70.650230][ T8394] __sock_release+0xcd/0x280 executing program executing program executing program executing program executing program executing program executing program executing program [ 70.654839][ T8394] sock_close+0x18/0x20 [ 70.659014][ T8394] __fput+0x288/0x920 [ 70.663012][ T8394] task_work_run+0xdd/0x1a0 [ 70.667532][ T8394] do_exit+0xbfc/0x2a60 [ 70.671705][ T8394] do_group_exit+0x125/0x310 [ 70.676310][ T8394] __x64_sys_exit_group+0x3a/0x50 [ 70.681350][ T8394] do_syscall_64+0x2d/0x70 [ 70.685781][ T8394] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 70.691698][ T8394] [ 70.694025][ T8394] The buggy address belongs to the object at ffff888019e67000 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.694025][ T8394] which belongs to the cache kmalloc-2k of size 2048 [ 70.708086][ T8394] The buggy address is located 1128 bytes inside of [ 70.708086][ T8394] 2048-byte region [ffff888019e67000, ffff888019e67800) [ 70.721549][ T8394] The buggy address belongs to the page: [ 70.727178][ T8394] page:ffffea0000679800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x19e60 [ 70.737342][ T8394] head:ffffea0000679800 order:3 compound_mapcount:0 compound_pincount:0 [ 70.745669][ T8394] flags: 0xfff00000010200(slab|head) executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.750973][ T8394] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888010842000 [ 70.759563][ T8394] raw: 0000000000000000 0000000000080008 00000001ffffffff 0000000000000000 [ 70.768149][ T8394] page dumped because: kasan: bad access detected [ 70.774559][ T8394] [ 70.777083][ T8394] Memory state around the buggy address: [ 70.782738][ T8394] ffff888019e67300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.790834][ T8394] ffff888019e67380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.798912][ T8394] >ffff888019e67400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.806975][ T8394] ^ [ 70.814436][ T8394] ffff888019e67480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.822513][ T8394] ffff888019e67500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.830585][ T8394] ================================================================== [ 70.838648][ T8394] Disabling lock debugging due to kernel taint [ 70.844822][ T8394] Kernel panic - not syncing: panic_on_warn set ... 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 [ 70.851513][ T8394] CPU: 1 PID: 8394 Comm: syz-executor531 Tainted: G B 5.12.0-rc6-syzkaller #0 [ 70.861674][ T8394] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 70.871740][ T8394] Call Trace: [ 70.875036][ T8394] dump_stack+0x141/0x1d7 [ 70.879387][ T8394] panic+0x306/0x73d [ 70.883302][ T8394] ? __warn_printk+0xf3/0xf3 [ 70.887905][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.892941][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.899387][ T8394] ? __lock_acquire+0x3e6f/0x54c0 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 [ 70.904437][ T8394] end_report.cold+0x5a/0x5a [ 70.909042][ T8394] kasan_report.cold+0x6a/0xd8 [ 70.913843][ T8394] ? __lock_acquire+0x15d0/0x54c0 [ 70.918885][ T8394] ? __lock_acquire+0x3e6f/0x54c0 [ 70.923926][ T8394] __lock_acquire+0x3e6f/0x54c0 [ 70.928796][ T8394] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 70.934806][ T8394] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 70.940825][ T8394] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 70.946837][ T8394] lock_acquire+0x1ab/0x740 [ 70.951356][ T8394] ? nfc_llcp_sock_unlink+0x1d/0x1c0 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 [ 70.956662][ T8394] ? lock_release+0x720/0x720 [ 70.961357][ T8394] ? llcp_sock_release+0x1df/0x580 [ 70.966495][ T8394] ? mark_held_locks+0x9f/0xe0 [ 70.971302][ T8394] _raw_write_lock+0x2a/0x40 [ 70.975907][ T8394] ? nfc_llcp_sock_unlink+0x1d/0x1c0 [ 70.981219][ T8394] nfc_llcp_sock_unlink+0x1d/0x1c0 [ 70.986353][ T8394] llcp_sock_release+0x286/0x580 [ 70.991309][ T8394] __sock_release+0xcd/0x280 [ 70.995912][ T8394] sock_close+0x18/0x20 [ 71.000079][ T8394] __fput+0x288/0x920 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 [ 71.004079][ T8394] ? __sock_release+0x280/0x280 [ 71.008943][ T8394] task_work_run+0xdd/0x1a0 [ 71.013460][ T8394] do_exit+0xbfc/0x2a60 [ 71.017648][ T8394] ? mm_update_next_owner+0x7a0/0x7a0 [ 71.023037][ T8394] ? lock_downgrade+0x6e0/0x6e0 [ 71.027907][ T8394] do_group_exit+0x125/0x310 [ 71.032524][ T8394] __x64_sys_exit_group+0x3a/0x50 [ 71.037565][ T8394] do_syscall_64+0x2d/0x70 [ 71.041996][ T8394] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 71.048052][ T8394] RIP: 0033:0x43e989 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 [ 71.051956][ T8394] Code: Unable to access opcode bytes at RIP 0x43e95f. [ 71.058803][ T8394] RSP: 002b:00007ffc5e103168 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 71.067228][ T8394] RAX: ffffffffffffffda RBX: 00000000004b02f0 RCX: 000000000043e989 [ 71.075212][ T8394] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 71.083191][ T8394] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000001 [ 71.091260][ T8394] R10: 0000000000080800 R11: 0000000000000246 R12: 00000000004b02f0 [ 71.099243][ T8394] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 71.107752][ T8394] Kernel Offset: disabled [ 71.112076][ T8394] Rebooting in 86400 seconds..