[ 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.45' (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 syzkaller login: [ 46.115739] audit: type=1400 audit(1598257901.099:8): avc: denied { execmem } for pid=6465 comm="syz-executor850" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 46.195861] ================================================================== [ 46.203419] BUG: KASAN: use-after-free in __list_del_entry_valid+0xcc/0xef [ 46.210438] Read of size 8 at addr ffff8880a753d788 by task syz-executor850/6494 [ 46.217963] [ 46.219597] CPU: 1 PID: 6494 Comm: syz-executor850 Not tainted 4.19.141-syzkaller #0 [ 46.227471] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.236829] Call Trace: [ 46.239426] dump_stack+0x1fc/0x2fe [ 46.243061] print_address_description.cold+0x54/0x219 [ 46.248327] kasan_report_error.cold+0x8a/0x1c7 [ 46.252982] ? __list_del_entry_valid+0xcc/0xef [ 46.257637] __asan_report_load8_noabort+0x88/0x90 [ 46.262548] ? __list_del_entry_valid+0xcc/0xef [ 46.267200] __list_del_entry_valid+0xcc/0xef [ 46.271678] __nf_tables_abort+0x1fde/0x2ca0 [ 46.276070] ? mark_held_locks+0xa6/0xf0 [ 46.280110] ? kfree+0x110/0x210 [ 46.283484] ? nfnetlink_rcv_batch+0x125c/0x1df0 [ 46.288236] nf_tables_abort+0x13/0x30 [ 46.292123] nfnetlink_rcv_batch+0xb66/0x1df0 [ 46.296612] ? nfnetlink_bind+0x2b0/0x2b0 [ 46.300757] ? __netlink_lookup+0x353/0x730 [ 46.305070] ? lock_downgrade+0x720/0x720 [ 46.309213] ? cap_capable+0x1eb/0x250 [ 46.313094] ? security_capable+0x8f/0xc0 [ 46.317224] ? memset+0x20/0x40 [ 46.320486] ? nla_parse+0x1b2/0x290 [ 46.324185] nfnetlink_rcv+0x3b5/0x41b [ 46.328058] ? nfnetlink_rcv_batch+0x1df0/0x1df0 [ 46.332809] netlink_unicast+0x4d5/0x690 [ 46.336856] ? netlink_sendskb+0x110/0x110 [ 46.341076] netlink_sendmsg+0x6bb/0xc40 [ 46.345119] ? nlmsg_notify+0x1a0/0x1a0 [ 46.349075] ? kernel_recvmsg+0x220/0x220 [ 46.353206] ? nlmsg_notify+0x1a0/0x1a0 [ 46.357162] sock_sendmsg+0xc3/0x120 [ 46.360900] ___sys_sendmsg+0x7bb/0x8e0 [ 46.364893] ? copy_msghdr_from_user+0x440/0x440 [ 46.369644] ? do_huge_pmd_anonymous_page+0x939/0x1cc0 [ 46.375003] ? __fget+0x32f/0x510 [ 46.378441] ? lock_downgrade+0x720/0x720 [ 46.382571] ? check_preemption_disabled+0x41/0x280 [ 46.387579] ? check_preemption_disabled+0x41/0x280 [ 46.392590] ? __fget+0x356/0x510 [ 46.396049] ? do_dup2+0x450/0x450 [ 46.399593] ? __fdget+0x1d0/0x230 [ 46.403119] __x64_sys_sendmsg+0x132/0x220 [ 46.407340] ? __sys_sendmsg+0x1b0/0x1b0 [ 46.411398] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.416148] ? trace_hardirqs_off_caller+0x69/0x210 [ 46.421156] ? do_syscall_64+0x21/0x620 [ 46.425125] do_syscall_64+0xf9/0x620 [ 46.428952] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.434140] RIP: 0033:0x446b29 [ 46.437338] Code: e8 0c e8 ff ff 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 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 46.456239] RSP: 002b:00007fa2593f1d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 46.463930] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446b29 [ 46.471196] RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 [ 46.478459] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 46.485726] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 46.492994] R13: 000000200a000000 R14: 0000000000006c1e R15: 0000001000000014 [ 46.500251] [ 46.501864] Allocated by task 6494: [ 46.505477] kmem_cache_alloc_trace+0x12f/0x380 [ 46.511082] nf_tables_newtable+0xad9/0x1620 [ 46.515485] nfnetlink_rcv_batch+0x10d5/0x1df0 [ 46.520063] nfnetlink_rcv+0x3b5/0x41b [ 46.523928] netlink_unicast+0x4d5/0x690 [ 46.527969] netlink_sendmsg+0x6bb/0xc40 [ 46.532017] sock_sendmsg+0xc3/0x120 [ 46.535720] ___sys_sendmsg+0x7bb/0x8e0 [ 46.539683] __x64_sys_sendmsg+0x132/0x220 [ 46.543898] do_syscall_64+0xf9/0x620 [ 46.547680] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.552852] [ 46.554463] Freed by task 6485: [ 46.557735] kfree+0xcc/0x210 [ 46.560825] nf_tables_table_destroy+0xee/0x130 [ 46.565474] nf_tables_commit+0x2aba/0x57e6 [ 46.569788] nfnetlink_rcv_batch+0xe22/0x1df0 [ 46.574263] nfnetlink_rcv+0x3b5/0x41b [ 46.578138] netlink_unicast+0x4d5/0x690 [ 46.582205] netlink_sendmsg+0x6bb/0xc40 [ 46.586247] sock_sendmsg+0xc3/0x120 [ 46.589945] ___sys_sendmsg+0x7bb/0x8e0 [ 46.593898] __x64_sys_sendmsg+0x132/0x220 [ 46.598115] do_syscall_64+0xf9/0x620 [ 46.601897] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.607075] [ 46.608685] The buggy address belongs to the object at ffff8880a753d780 [ 46.608685] which belongs to the cache kmalloc-512 of size 512 [ 46.621324] The buggy address is located 8 bytes inside of [ 46.621324] 512-byte region [ffff8880a753d780, ffff8880a753d980) [ 46.633013] The buggy address belongs to the page: [ 46.637945] page:ffffea00029d4f40 count:1 mapcount:0 mapping:ffff88812c39c940 index:0xffff8880a753da00 [ 46.647375] flags: 0xfffe0000000100(slab) [ 46.651507] raw: 00fffe0000000100 ffffea0002971548 ffffea0002a333c8 ffff88812c39c940 [ 46.659384] raw: ffff8880a753da00 ffff8880a753d000 0000000100000004 0000000000000000 [ 46.667241] page dumped because: kasan: bad access detected [ 46.672924] [ 46.674533] Memory state around the buggy address: [ 46.679453] ffff8880a753d680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.686791] ffff8880a753d700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 46.694135] >ffff8880a753d780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.701474] ^ [ 46.705080] ffff8880a753d800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.712433] ffff8880a753d880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 46.719771] ================================================================== [ 46.727108] Disabling lock debugging due to kernel taint [ 46.734057] Kernel panic - not syncing: panic_on_warn set ... [ 46.734057] [ 46.741447] CPU: 1 PID: 6494 Comm: syz-executor850 Tainted: G B 4.19.141-syzkaller #0 [ 46.750722] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.760077] Call Trace: [ 46.762673] dump_stack+0x1fc/0x2fe [ 46.766309] panic+0x26a/0x50e [ 46.769502] ? __warn_printk+0xf3/0xf3 [ 46.773393] ? preempt_schedule_common+0x45/0xc0 [ 46.778153] ? ___preempt_schedule+0x16/0x18 [ 46.782565] ? trace_hardirqs_on+0x55/0x210 [ 46.786908] kasan_end_report+0x43/0x49 [ 46.790864] kasan_report_error.cold+0xa7/0x1c7 [ 46.795513] ? __list_del_entry_valid+0xcc/0xef [ 46.800162] __asan_report_load8_noabort+0x88/0x90 [ 46.805073] ? __list_del_entry_valid+0xcc/0xef [ 46.809736] __list_del_entry_valid+0xcc/0xef [ 46.814255] __nf_tables_abort+0x1fde/0x2ca0 [ 46.818693] ? mark_held_locks+0xa6/0xf0 [ 46.822747] ? kfree+0x110/0x210 [ 46.826135] ? nfnetlink_rcv_batch+0x125c/0x1df0 [ 46.830876] nf_tables_abort+0x13/0x30 [ 46.834744] nfnetlink_rcv_batch+0xb66/0x1df0 [ 46.839227] ? nfnetlink_bind+0x2b0/0x2b0 [ 46.843363] ? __netlink_lookup+0x353/0x730 [ 46.847667] ? lock_downgrade+0x720/0x720 [ 46.851799] ? cap_capable+0x1eb/0x250 [ 46.855669] ? security_capable+0x8f/0xc0 [ 46.859796] ? memset+0x20/0x40 [ 46.863080] ? nla_parse+0x1b2/0x290 [ 46.866791] nfnetlink_rcv+0x3b5/0x41b [ 46.870681] ? nfnetlink_rcv_batch+0x1df0/0x1df0 [ 46.875420] netlink_unicast+0x4d5/0x690 [ 46.879475] ? netlink_sendskb+0x110/0x110 [ 46.883701] netlink_sendmsg+0x6bb/0xc40 [ 46.887770] ? nlmsg_notify+0x1a0/0x1a0 [ 46.891730] ? kernel_recvmsg+0x220/0x220 [ 46.895872] ? nlmsg_notify+0x1a0/0x1a0 [ 46.899926] sock_sendmsg+0xc3/0x120 [ 46.903633] ___sys_sendmsg+0x7bb/0x8e0 [ 46.907604] ? copy_msghdr_from_user+0x440/0x440 [ 46.912346] ? do_huge_pmd_anonymous_page+0x939/0x1cc0 [ 46.917604] ? __fget+0x32f/0x510 [ 46.921042] ? lock_downgrade+0x720/0x720 [ 46.925171] ? check_preemption_disabled+0x41/0x280 [ 46.930263] ? check_preemption_disabled+0x41/0x280 [ 46.935293] ? __fget+0x356/0x510 [ 46.938728] ? do_dup2+0x450/0x450 [ 46.942270] ? __fdget+0x1d0/0x230 [ 46.945818] __x64_sys_sendmsg+0x132/0x220 [ 46.950044] ? __sys_sendmsg+0x1b0/0x1b0 [ 46.954110] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 46.958846] ? trace_hardirqs_off_caller+0x69/0x210 [ 46.963861] ? do_syscall_64+0x21/0x620 [ 46.967827] do_syscall_64+0xf9/0x620 [ 46.971620] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 46.976813] RIP: 0033:0x446b29 [ 46.980007] Code: e8 0c e8 ff ff 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 db 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 46.998924] RSP: 002b:00007fa2593f1d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 47.006614] RAX: ffffffffffffffda RBX: 00000000006dbc28 RCX: 0000000000446b29 [ 47.013861] RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 [ 47.021111] RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000 [ 47.028359] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc2c [ 47.035607] R13: 000000200a000000 R14: 0000000000006c1e R15: 0000001000000014 [ 47.043973] Kernel Offset: disabled [ 47.047589] Rebooting in 86400 seconds..