Warning: Permanently added '10.128.1.9' (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 executing program executing program executing program [ 35.398043] ================================================================== [ 35.405566] BUG: KASAN: use-after-free in __list_del_entry_valid+0xcc/0xf0 [ 35.412583] Read of size 8 at addr ffff88809c2e2cc8 by task syz-executor148/8157 [ 35.420130] [ 35.421784] CPU: 1 PID: 8157 Comm: syz-executor148 Not tainted 4.19.211-syzkaller #0 [ 35.429660] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 35.439003] Call Trace: [ 35.441586] dump_stack+0x1fc/0x2ef [ 35.445203] print_address_description.cold+0x54/0x219 [ 35.450470] kasan_report_error.cold+0x8a/0x1b9 [ 35.455126] ? __list_del_entry_valid+0xcc/0xf0 [ 35.459788] __asan_report_load8_noabort+0x88/0x90 [ 35.464703] ? __list_del_entry_valid+0xcc/0xf0 [ 35.469360] __list_del_entry_valid+0xcc/0xf0 [ 35.473844] __nf_tables_abort+0x1fde/0x2ca0 [ 35.479224] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 35.484294] nf_tables_abort+0x13/0x30 [ 35.488175] nfnetlink_rcv_batch+0xb66/0x1df0 [ 35.492678] ? nfnetlink_bind+0x2b0/0x2b0 [ 35.496850] ? apparmor_capable+0x147/0x750 [ 35.501182] ? apparmor_capable+0x147/0x750 [ 35.505497] ? apparmor_sb_mount+0x970/0x970 [ 35.509900] ? apparmor_sb_mount+0x970/0x970 [ 35.514299] ? lock_downgrade+0x720/0x720 [ 35.518436] ? cap_capable+0x1eb/0x250 [ 35.522322] ? security_capable+0x8f/0xc0 [ 35.526456] ? memset+0x20/0x40 [ 35.529723] ? nla_parse+0x1b2/0x290 [ 35.534466] nfnetlink_rcv+0x3b5/0x420 [ 35.538348] ? nfnetlink_rcv_batch+0x1df0/0x1df0 [ 35.543112] netlink_unicast+0x4d5/0x690 [ 35.547168] ? netlink_sendskb+0x110/0x110 [ 35.551392] ? _copy_from_iter_full+0x229/0x7c0 [ 35.556049] ? __phys_addr_symbol+0x2c/0x70 [ 35.560381] ? __check_object_size+0x17b/0x3e0 [ 35.564969] netlink_sendmsg+0x6c3/0xc50 [ 35.569027] ? aa_af_perm+0x230/0x230 [ 35.572825] ? nlmsg_notify+0x1f0/0x1f0 [ 35.576779] ? kernel_recvmsg+0x220/0x220 [ 35.580915] ? nlmsg_notify+0x1f0/0x1f0 [ 35.584887] sock_sendmsg+0xc3/0x120 [ 35.588589] ___sys_sendmsg+0x7bb/0x8e0 [ 35.592548] ? copy_msghdr_from_user+0x440/0x440 [ 35.597298] ? do_huge_pmd_anonymous_page+0x935/0x1e60 [ 35.602587] ? __fget+0x32f/0x510 [ 35.606028] ? lock_downgrade+0x720/0x720 [ 35.610159] ? check_preemption_disabled+0x41/0x280 [ 35.615175] ? check_preemption_disabled+0x41/0x280 [ 35.620184] ? __fget+0x356/0x510 [ 35.623629] ? do_dup2+0x450/0x450 [ 35.627153] ? __fdget+0x1d0/0x230 [ 35.630695] __x64_sys_sendmsg+0x132/0x220 [ 35.634915] ? __sys_sendmsg+0x1b0/0x1b0 [ 35.638966] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.644323] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.649332] ? do_syscall_64+0x21/0x620 [ 35.653308] do_syscall_64+0xf9/0x620 [ 35.657108] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.662288] RIP: 0033:0x7f134587cb79 [ 35.665999] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 35.685002] RSP: 002b:00007f134582e318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.692704] RAX: ffffffffffffffda RBX: 00007f13459043e8 RCX: 00007f134587cb79 [ 35.699988] RDX: 0000000000000000 RSI: 000000002000c2c0 RDI: 0000000000000003 [ 35.707252] RBP: 00007f13459043e0 R08: 0000000000000000 R09: 0000000000000000 [ 35.714537] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13459043ec [ 35.721886] R13: 00007ffe784a121f R14: 00007f134582e400 R15: 0000000000022000 [ 35.729162] [ 35.730778] Allocated by task 8157: [ 35.734409] kmem_cache_alloc_trace+0x12f/0x380 [ 35.739146] nf_tables_newtable+0xad9/0x1620 [ 35.743535] nfnetlink_rcv_batch+0x10d5/0x1df0 [ 35.748096] nfnetlink_rcv+0x3b5/0x420 [ 35.751980] netlink_unicast+0x4d5/0x690 [ 35.756046] netlink_sendmsg+0x6c3/0xc50 [ 35.760087] sock_sendmsg+0xc3/0x120 [ 35.763781] ___sys_sendmsg+0x7bb/0x8e0 [ 35.767734] __x64_sys_sendmsg+0x132/0x220 [ 35.771953] do_syscall_64+0xf9/0x620 [ 35.775752] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.780917] [ 35.782631] Freed by task 8141: [ 35.785909] kfree+0xcc/0x210 [ 35.789000] nf_tables_table_destroy+0xee/0x130 [ 35.793649] nf_tables_commit+0x2aba/0x57f0 [ 35.797965] nfnetlink_rcv_batch+0xe22/0x1df0 [ 35.802448] nfnetlink_rcv+0x3b5/0x420 [ 35.806317] netlink_unicast+0x4d5/0x690 [ 35.810357] netlink_sendmsg+0x6c3/0xc50 [ 35.814439] sock_sendmsg+0xc3/0x120 [ 35.818131] ___sys_sendmsg+0x7bb/0x8e0 [ 35.822091] __x64_sys_sendmsg+0x132/0x220 [ 35.826318] do_syscall_64+0xf9/0x620 [ 35.830103] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.835294] [ 35.836918] The buggy address belongs to the object at ffff88809c2e2cc0 [ 35.836918] which belongs to the cache kmalloc-512 of size 512 [ 35.849669] The buggy address is located 8 bytes inside of [ 35.849669] 512-byte region [ffff88809c2e2cc0, ffff88809c2e2ec0) [ 35.861352] The buggy address belongs to the page: [ 35.866264] page:ffffea000270b880 count:1 mapcount:0 mapping:ffff88813bff0940 index:0x0 [ 35.874403] flags: 0xfff00000000100(slab) [ 35.878543] raw: 00fff00000000100 ffffea00028cc7c8 ffffea0002949508 ffff88813bff0940 [ 35.886409] raw: 0000000000000000 ffff88809c2e2040 0000000100000006 0000000000000000 [ 35.895412] page dumped because: kasan: bad access detected [ 35.901110] [ 35.902726] Memory state around the buggy address: [ 35.907635] ffff88809c2e2b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.914972] ffff88809c2e2c00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 35.922319] >ffff88809c2e2c80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 35.929653] ^ [ 35.935341] ffff88809c2e2d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.942686] ffff88809c2e2d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.950039] ================================================================== [ 35.957397] Disabling lock debugging due to kernel taint [ 35.963948] Kernel panic - not syncing: panic_on_warn set ... [ 35.963948] [ 35.971335] CPU: 0 PID: 8157 Comm: syz-executor148 Tainted: G B 4.19.211-syzkaller #0 [ 35.980595] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 [ 35.989941] Call Trace: [ 35.992533] dump_stack+0x1fc/0x2ef [ 35.996168] panic+0x26a/0x50e [ 35.999364] ? __warn_printk+0xf3/0xf3 [ 36.003244] ? preempt_schedule_common+0x45/0xc0 [ 36.007984] ? ___preempt_schedule+0x16/0x18 [ 36.012371] ? trace_hardirqs_on+0x55/0x210 [ 36.016674] kasan_end_report+0x43/0x49 [ 36.020633] kasan_report_error.cold+0xa7/0x1b9 [ 36.025284] ? __list_del_entry_valid+0xcc/0xf0 [ 36.029934] __asan_report_load8_noabort+0x88/0x90 [ 36.034848] ? __list_del_entry_valid+0xcc/0xf0 [ 36.039501] __list_del_entry_valid+0xcc/0xf0 [ 36.043984] __nf_tables_abort+0x1fde/0x2ca0 [ 36.048376] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 36.053386] nf_tables_abort+0x13/0x30 [ 36.057257] nfnetlink_rcv_batch+0xb66/0x1df0 [ 36.061738] ? nfnetlink_bind+0x2b0/0x2b0 [ 36.065881] ? apparmor_capable+0x147/0x750 [ 36.070190] ? apparmor_capable+0x147/0x750 [ 36.074498] ? apparmor_sb_mount+0x970/0x970 [ 36.078907] ? apparmor_sb_mount+0x970/0x970 [ 36.083317] ? lock_downgrade+0x720/0x720 [ 36.087458] ? cap_capable+0x1eb/0x250 [ 36.091335] ? security_capable+0x8f/0xc0 [ 36.095464] ? memset+0x20/0x40 [ 36.098728] ? nla_parse+0x1b2/0x290 [ 36.102422] nfnetlink_rcv+0x3b5/0x420 [ 36.106297] ? nfnetlink_rcv_batch+0x1df0/0x1df0 [ 36.111037] netlink_unicast+0x4d5/0x690 [ 36.115075] ? netlink_sendskb+0x110/0x110 [ 36.119287] ? _copy_from_iter_full+0x229/0x7c0 [ 36.123938] ? __phys_addr_symbol+0x2c/0x70 [ 36.128238] ? __check_object_size+0x17b/0x3e0 [ 36.132799] netlink_sendmsg+0x6c3/0xc50 [ 36.136841] ? aa_af_perm+0x230/0x230 [ 36.140621] ? nlmsg_notify+0x1f0/0x1f0 [ 36.144574] ? kernel_recvmsg+0x220/0x220 [ 36.148703] ? nlmsg_notify+0x1f0/0x1f0 [ 36.152656] sock_sendmsg+0xc3/0x120 [ 36.156376] ___sys_sendmsg+0x7bb/0x8e0 [ 36.160340] ? copy_msghdr_from_user+0x440/0x440 [ 36.165094] ? do_huge_pmd_anonymous_page+0x935/0x1e60 [ 36.170353] ? __fget+0x32f/0x510 [ 36.173785] ? lock_downgrade+0x720/0x720 [ 36.177916] ? check_preemption_disabled+0x41/0x280 [ 36.182927] ? check_preemption_disabled+0x41/0x280 [ 36.187926] ? __fget+0x356/0x510 [ 36.191359] ? do_dup2+0x450/0x450 [ 36.194876] ? __fdget+0x1d0/0x230 [ 36.198413] __x64_sys_sendmsg+0x132/0x220 [ 36.202626] ? __sys_sendmsg+0x1b0/0x1b0 [ 36.206673] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 36.212016] ? trace_hardirqs_off_caller+0x6e/0x210 [ 36.217011] ? do_syscall_64+0x21/0x620 [ 36.220964] do_syscall_64+0xf9/0x620 [ 36.224744] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 36.229911] RIP: 0033:0x7f134587cb79 [ 36.233603] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 90 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 36.252483] RSP: 002b:00007f134582e318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 36.260182] RAX: ffffffffffffffda RBX: 00007f13459043e8 RCX: 00007f134587cb79 [ 36.267430] RDX: 0000000000000000 RSI: 000000002000c2c0 RDI: 0000000000000003 [ 36.274680] RBP: 00007f13459043e0 R08: 0000000000000000 R09: 0000000000000000 [ 36.282712] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13459043ec [ 36.289961] R13: 00007ffe784a121f R14: 00007f134582e400 R15: 0000000000022000 [ 36.297375] Kernel Offset: disabled [ 36.300986] Rebooting in 86400 seconds..