[ OK ] Started OpenBSD Secure Shell server. [ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.152' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 34.503588] ================================================================== [ 34.511086] BUG: KASAN: use-after-free in __list_del_entry_valid+0xcc/0xf0 [ 34.518099] Read of size 8 at addr ffff8880b3729548 by task syz-executor888/8122 [ 34.525644] [ 34.527268] CPU: 1 PID: 8122 Comm: syz-executor888 Not tainted 4.19.211-syzkaller #0 [ 34.535144] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.544491] Call Trace: [ 34.547065] dump_stack+0x1fc/0x2ef [ 34.550681] print_address_description.cold+0x54/0x219 [ 34.555958] kasan_report_error.cold+0x8a/0x1b9 [ 34.560630] ? __list_del_entry_valid+0xcc/0xf0 [ 34.565308] __asan_report_load8_noabort+0x88/0x90 [ 34.570252] ? __list_del_entry_valid+0xcc/0xf0 [ 34.575078] __list_del_entry_valid+0xcc/0xf0 [ 34.579577] __nf_tables_abort+0x1fde/0x2ca0 [ 34.583971] ? mark_held_locks+0xa6/0xf0 [ 34.588015] ? kfree+0x110/0x210 [ 34.591382] ? nfnetlink_rcv_batch+0x125c/0x1df0 [ 34.596124] nf_tables_abort+0x13/0x30 [ 34.600010] nfnetlink_rcv_batch+0xb66/0x1df0 [ 34.604506] ? nfnetlink_bind+0x2b0/0x2b0 [ 34.608653] ? apparmor_capable+0x147/0x750 [ 34.612959] ? apparmor_capable+0x147/0x750 [ 34.617267] ? apparmor_sb_mount+0x970/0x970 [ 34.621682] ? apparmor_sb_mount+0x970/0x970 [ 34.626088] ? lock_downgrade+0x720/0x720 [ 34.630416] ? cap_capable+0x1eb/0x250 [ 34.634292] ? security_capable+0x8f/0xc0 [ 34.638701] ? memset+0x20/0x40 [ 34.641967] ? nla_parse+0x1b2/0x290 [ 34.645677] nfnetlink_rcv+0x3b5/0x420 [ 34.649566] ? nfnetlink_rcv_batch+0x1df0/0x1df0 [ 34.654330] netlink_unicast+0x4d5/0x690 [ 34.658386] ? netlink_sendskb+0x110/0x110 [ 34.662610] ? _copy_from_iter_full+0x229/0x7c0 [ 34.667291] ? __phys_addr_symbol+0x2c/0x70 [ 34.671617] ? __check_object_size+0x17b/0x3e0 [ 34.676204] netlink_sendmsg+0x6c3/0xc50 [ 34.680277] ? aa_af_perm+0x230/0x230 [ 34.684345] ? nlmsg_notify+0x1f0/0x1f0 [ 34.688305] ? kernel_recvmsg+0x220/0x220 [ 34.692449] ? nlmsg_notify+0x1f0/0x1f0 [ 34.696421] sock_sendmsg+0xc3/0x120 [ 34.700166] ___sys_sendmsg+0x7bb/0x8e0 [ 34.704140] ? copy_msghdr_from_user+0x440/0x440 [ 34.708893] ? do_huge_pmd_anonymous_page+0x935/0x1e60 [ 34.714161] ? __fget+0x32f/0x510 [ 34.717597] ? lock_downgrade+0x720/0x720 [ 34.721746] ? check_preemption_disabled+0x41/0x280 [ 34.726744] ? check_preemption_disabled+0x41/0x280 [ 34.731745] ? __fget+0x356/0x510 [ 34.735195] ? do_dup2+0x450/0x450 [ 34.738718] ? __fdget+0x1d0/0x230 [ 34.742241] __x64_sys_sendmsg+0x132/0x220 [ 34.746456] ? __sys_sendmsg+0x1b0/0x1b0 [ 34.750504] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.755851] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.760855] ? do_syscall_64+0x21/0x620 [ 34.765142] do_syscall_64+0xf9/0x620 [ 34.768955] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.774146] RIP: 0033:0x7f77cd989b69 [ 34.777980] 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 [ 34.796998] RSP: 002b:00007f77cd93b318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.804690] RAX: ffffffffffffffda RBX: 00007f77cda113e8 RCX: 00007f77cd989b69 [ 34.811942] RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 [ 34.819196] RBP: 00007f77cda113e0 R08: 0000000000000000 R09: 0000000000000000 [ 34.826454] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f77cda113ec [ 34.833725] R13: 00007ffd6e8ecd5f R14: 00007f77cd93b400 R15: 0000000000022000 [ 34.841004] [ 34.842626] Allocated by task 8122: [ 34.846245] kmem_cache_alloc_trace+0x12f/0x380 [ 34.850896] nf_tables_newtable+0xad9/0x1620 [ 34.855310] nfnetlink_rcv_batch+0x10d5/0x1df0 [ 34.859872] nfnetlink_rcv+0x3b5/0x420 [ 34.863741] netlink_unicast+0x4d5/0x690 [ 34.867968] netlink_sendmsg+0x6c3/0xc50 [ 34.872007] sock_sendmsg+0xc3/0x120 [ 34.875698] ___sys_sendmsg+0x7bb/0x8e0 [ 34.879648] __x64_sys_sendmsg+0x132/0x220 [ 34.883862] do_syscall_64+0xf9/0x620 [ 34.887643] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.892808] [ 34.894416] Freed by task 8129: [ 34.897683] kfree+0xcc/0x210 [ 34.900864] nf_tables_table_destroy+0xee/0x130 [ 34.905518] nf_tables_commit+0x2aba/0x57f0 [ 34.909818] nfnetlink_rcv_batch+0xe22/0x1df0 [ 34.914293] nfnetlink_rcv+0x3b5/0x420 [ 34.918157] netlink_unicast+0x4d5/0x690 [ 34.922209] netlink_sendmsg+0x6c3/0xc50 [ 34.926260] sock_sendmsg+0xc3/0x120 [ 34.929952] ___sys_sendmsg+0x7bb/0x8e0 [ 34.933913] __x64_sys_sendmsg+0x132/0x220 [ 34.938129] do_syscall_64+0xf9/0x620 [ 34.941910] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.947084] [ 34.948689] The buggy address belongs to the object at ffff8880b3729540 [ 34.948689] which belongs to the cache kmalloc-512 of size 512 [ 34.961411] The buggy address is located 8 bytes inside of [ 34.961411] 512-byte region [ffff8880b3729540, ffff8880b3729740) [ 34.973190] The buggy address belongs to the page: [ 34.978098] page:ffffea0002cdca40 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff8880b3729cc0 [ 34.987518] flags: 0xfff00000000100(slab) [ 34.991648] raw: 00fff00000000100 ffffea0002911ec8 ffffea0002a494c8 ffff88813bff0940 [ 34.999509] raw: ffff8880b3729cc0 ffff8880b3729040 0000000100000002 0000000000000000 [ 35.007382] page dumped because: kasan: bad access detected [ 35.013070] [ 35.014673] Memory state around the buggy address: [ 35.019578] ffff8880b3729400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.026915] ffff8880b3729480: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 35.034252] >ffff8880b3729500: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 35.041596] ^ [ 35.047297] ffff8880b3729580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb executing program [ 35.054635] ffff8880b3729600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 35.061969] ================================================================== [ 35.069304] Disabling lock debugging due to kernel taint [ 35.075946] Kernel panic - not syncing: panic_on_warn set ... [ 35.075946] [ 35.083312] CPU: 1 PID: 8122 Comm: syz-executor888 Tainted: G B 4.19.211-syzkaller #0 [ 35.092575] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.101924] Call Trace: [ 35.104510] dump_stack+0x1fc/0x2ef [ 35.108147] panic+0x26a/0x50e [ 35.111344] ? __warn_printk+0xf3/0xf3 [ 35.115227] ? preempt_schedule_common+0x45/0xc0 [ 35.119961] ? ___preempt_schedule+0x16/0x18 [ 35.124434] ? trace_hardirqs_on+0x55/0x210 [ 35.128735] kasan_end_report+0x43/0x49 [ 35.132784] kasan_report_error.cold+0xa7/0x1b9 [ 35.137430] ? __list_del_entry_valid+0xcc/0xf0 [ 35.142181] __asan_report_load8_noabort+0x88/0x90 [ 35.147090] ? __list_del_entry_valid+0xcc/0xf0 [ 35.151746] __list_del_entry_valid+0xcc/0xf0 [ 35.156218] __nf_tables_abort+0x1fde/0x2ca0 [ 35.160607] ? mark_held_locks+0xa6/0xf0 [ 35.164646] ? kfree+0x110/0x210 [ 35.167997] ? nfnetlink_rcv_batch+0x125c/0x1df0 [ 35.172742] nf_tables_abort+0x13/0x30 [ 35.176607] nfnetlink_rcv_batch+0xb66/0x1df0 [ 35.181091] ? nfnetlink_bind+0x2b0/0x2b0 [ 35.185225] ? apparmor_capable+0x147/0x750 [ 35.189522] ? apparmor_capable+0x147/0x750 [ 35.193823] ? apparmor_sb_mount+0x970/0x970 [ 35.198294] ? apparmor_sb_mount+0x970/0x970 [ 35.202682] ? lock_downgrade+0x720/0x720 [ 35.206809] ? cap_capable+0x1eb/0x250 [ 35.210684] ? security_capable+0x8f/0xc0 [ 35.214819] ? memset+0x20/0x40 [ 35.218092] ? nla_parse+0x1b2/0x290 [ 35.221786] nfnetlink_rcv+0x3b5/0x420 [ 35.225675] ? nfnetlink_rcv_batch+0x1df0/0x1df0 [ 35.230421] netlink_unicast+0x4d5/0x690 [ 35.234469] ? netlink_sendskb+0x110/0x110 [ 35.238684] ? _copy_from_iter_full+0x229/0x7c0 [ 35.243330] ? __phys_addr_symbol+0x2c/0x70 [ 35.247632] ? __check_object_size+0x17b/0x3e0 [ 35.252194] netlink_sendmsg+0x6c3/0xc50 [ 35.256246] ? aa_af_perm+0x230/0x230 [ 35.260037] ? nlmsg_notify+0x1f0/0x1f0 [ 35.263987] ? kernel_recvmsg+0x220/0x220 [ 35.268112] ? nlmsg_notify+0x1f0/0x1f0 [ 35.272065] sock_sendmsg+0xc3/0x120 [ 35.275757] ___sys_sendmsg+0x7bb/0x8e0 [ 35.279711] ? copy_msghdr_from_user+0x440/0x440 [ 35.284461] ? do_huge_pmd_anonymous_page+0x935/0x1e60 [ 35.289715] ? __fget+0x32f/0x510 [ 35.293151] ? lock_downgrade+0x720/0x720 [ 35.297291] ? check_preemption_disabled+0x41/0x280 [ 35.302298] ? check_preemption_disabled+0x41/0x280 [ 35.307304] ? __fget+0x356/0x510 [ 35.310746] ? do_dup2+0x450/0x450 [ 35.314265] ? __fdget+0x1d0/0x230 [ 35.317797] __x64_sys_sendmsg+0x132/0x220 [ 35.322013] ? __sys_sendmsg+0x1b0/0x1b0 [ 35.326077] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.331425] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.336432] ? do_syscall_64+0x21/0x620 [ 35.340382] do_syscall_64+0xf9/0x620 [ 35.344161] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.349339] RIP: 0033:0x7f77cd989b69 [ 35.353030] 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.372253] RSP: 002b:00007f77cd93b318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.380125] RAX: ffffffffffffffda RBX: 00007f77cda113e8 RCX: 00007f77cd989b69 [ 35.387398] RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 [ 35.394663] RBP: 00007f77cda113e0 R08: 0000000000000000 R09: 0000000000000000 [ 35.401914] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f77cda113ec [ 35.409164] R13: 00007ffd6e8ecd5f R14: 00007f77cd93b400 R15: 0000000000022000 [ 35.416630] Kernel Offset: disabled [ 35.420244] Rebooting in 86400 seconds..