[ 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. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.115' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 32.531169] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 32.551339] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 32.569751] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 32.586562] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 32.604163] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 32.623208] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. executing program executing program executing program [ 32.807866] syz-executor170 (8097) used greatest stack depth: 23280 bytes left executing program executing program executing program [ 32.852097] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 33.017124] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 33.096719] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. [ 33.226565] netlink: 24 bytes leftover after parsing attributes in process `syz-executor170'. executing program executing program executing program executing program [ 33.487656] ================================================================== [ 33.495132] BUG: KASAN: use-after-free in vlan_dev_get_iflink+0x5f/0x70 [ 33.501886] Read of size 4 at addr ffff8880ab50e588 by task syz-executor170/8290 [ 33.509409] [ 33.511036] CPU: 1 PID: 8290 Comm: syz-executor170 Not tainted 4.19.211-syzkaller #0 [ 33.518910] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.528261] Call Trace: [ 33.530854] dump_stack+0x1fc/0x2ef [ 33.534577] print_address_description.cold+0x54/0x219 [ 33.539864] kasan_report_error.cold+0x8a/0x1b9 [ 33.544533] ? vlan_dev_get_iflink+0x5f/0x70 [ 33.548943] __asan_report_load4_noabort+0x88/0x90 [ 33.553878] ? vlan_dev_get_iflink+0x5f/0x70 [ 33.558290] vlan_dev_get_iflink+0x5f/0x70 [ 33.562525] ? vlan_dev_poll_controller+0x10/0x10 [ 33.567365] dev_get_iflink+0x73/0xe0 [ 33.571169] rfc2863_policy+0x1af/0x200 [ 33.575142] linkwatch_do_dev+0x1d/0x110 [ 33.579207] linkwatch_forget_dev+0x16a/0x200 [ 33.583703] netdev_run_todo+0x258/0xab0 [ 33.587775] ? default_device_exit_batch+0x3c0/0x3c0 [ 33.592886] ? rtnl_getlink+0x620/0x620 [ 33.596864] rtnetlink_rcv_msg+0x460/0xb80 [ 33.601102] ? rtnl_calcit.isra.0+0x430/0x430 [ 33.605599] ? __netlink_lookup+0x3fc/0x730 [ 33.609923] ? lock_downgrade+0x720/0x720 [ 33.614069] ? check_preemption_disabled+0x41/0x280 [ 33.619087] netlink_rcv_skb+0x160/0x440 [ 33.623147] ? rtnl_calcit.isra.0+0x430/0x430 [ 33.627640] ? netlink_ack+0xae0/0xae0 [ 33.631535] netlink_unicast+0x4d5/0x690 [ 33.635596] ? netlink_sendskb+0x110/0x110 [ 33.639830] ? _copy_from_iter_full+0x229/0x7c0 [ 33.644503] ? __phys_addr_symbol+0x2c/0x70 [ 33.648828] ? __check_object_size+0x17b/0x3e0 [ 33.653423] netlink_sendmsg+0x6c3/0xc50 [ 33.657489] ? aa_af_perm+0x230/0x230 [ 33.661285] ? nlmsg_notify+0x1f0/0x1f0 [ 33.665257] ? kernel_recvmsg+0x220/0x220 [ 33.669409] ? nlmsg_notify+0x1f0/0x1f0 [ 33.673382] sock_sendmsg+0xc3/0x120 [ 33.677091] ___sys_sendmsg+0x7bb/0x8e0 [ 33.681066] ? copy_msghdr_from_user+0x440/0x440 [ 33.685824] ? __fget+0x32f/0x510 [ 33.689290] ? lock_downgrade+0x720/0x720 [ 33.693438] ? check_preemption_disabled+0x41/0x280 [ 33.698454] ? check_preemption_disabled+0x41/0x280 [ 33.703478] ? __fget+0x356/0x510 [ 33.706931] ? do_dup2+0x450/0x450 [ 33.710478] ? __fdget+0x1d0/0x230 [ 33.714030] __x64_sys_sendmsg+0x132/0x220 [ 33.718271] ? __sys_sendmsg+0x1b0/0x1b0 [ 33.722341] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 33.727709] ? trace_hardirqs_off_caller+0x6e/0x210 [ 33.732725] ? do_syscall_64+0x21/0x620 [ 33.736701] do_syscall_64+0xf9/0x620 [ 33.740506] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.745693] RIP: 0033:0x7fee36976ea9 [ 33.749408] 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 [ 33.768304] RSP: 002b:00007fee36907318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 33.776006] RAX: ffffffffffffffda RBX: 00007fee369ff438 RCX: 00007fee36976ea9 [ 33.783272] RDX: 0000000000000004 RSI: 0000000020000140 RDI: 0000000000000003 [ 33.790539] RBP: 00007fee369ff430 R08: 0000000000000000 R09: 0000000000000000 [ 33.797807] R10: 0000000000000005 R11: 0000000000000246 R12: 00007fee369cd074 [ 33.805073] R13: 00007ffe587befdf R14: 00007fee36907400 R15: 0000000000022000 [ 33.812347] [ 33.813967] Allocated by task 8274: [ 33.817594] __kmalloc_node+0x4c/0x70 [ 33.821394] kvmalloc_node+0x61/0xf0 [ 33.825107] alloc_netdev_mqs+0x97/0xd50 [ 33.829165] rtnl_create_link+0x1d4/0xa40 [ 33.833314] rtnl_newlink+0xf45/0x15c0 [ 33.837200] rtnetlink_rcv_msg+0x453/0xb80 [ 33.841431] netlink_rcv_skb+0x160/0x440 [ 33.845489] netlink_unicast+0x4d5/0x690 [ 33.849551] netlink_sendmsg+0x6c3/0xc50 [ 33.853612] sock_sendmsg+0xc3/0x120 [ 33.857324] ___sys_sendmsg+0x7bb/0x8e0 [ 33.861302] __x64_sys_sendmsg+0x132/0x220 [ 33.865533] do_syscall_64+0xf9/0x620 [ 33.869333] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.874517] [ 33.876139] Freed by task 8302: [ 33.879416] kfree+0xcc/0x210 [ 33.882520] kvfree+0x59/0x60 [ 33.885620] device_release+0x76/0x210 [ 33.889505] kobject_put+0x28b/0x5d0 [ 33.893221] netdev_run_todo+0x77f/0xab0 [ 33.897277] rtnetlink_rcv_msg+0x460/0xb80 [ 33.901507] netlink_rcv_skb+0x160/0x440 [ 33.905563] netlink_unicast+0x4d5/0x690 [ 33.909622] netlink_sendmsg+0x6c3/0xc50 [ 33.913688] sock_sendmsg+0xc3/0x120 [ 33.917398] ___sys_sendmsg+0x7bb/0x8e0 [ 33.921370] __x64_sys_sendmsg+0x132/0x220 [ 33.925604] do_syscall_64+0xf9/0x620 [ 33.929401] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.934577] [ 33.936201] The buggy address belongs to the object at ffff8880ab50e480 [ 33.936201] which belongs to the cache kmalloc-4096 of size 4096 [ 33.949030] The buggy address is located 264 bytes inside of [ 33.949030] 4096-byte region [ffff8880ab50e480, ffff8880ab50f480) [ 33.960980] The buggy address belongs to the page: [ 33.965908] page:ffffea0002ad4380 count:1 mapcount:0 mapping:ffff88813bff0dc0 index:0x0 compound_mapcount: 0 [ 33.975869] flags: 0xfff00000008100(slab|head) [ 33.980455] raw: 00fff00000008100 ffffea00024d4a08 ffffea0002ad4888 ffff88813bff0dc0 [ 33.988338] raw: 0000000000000000 ffff8880ab50e480 0000000100000001 0000000000000000 [ 33.996208] page dumped because: kasan: bad access detected [ 34.001909] [ 34.003525] Memory state around the buggy address: [ 34.008449] ffff8880ab50e480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.015801] ffff8880ab50e500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.023152] >ffff8880ab50e580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.030498] ^ [ 34.034117] ffff8880ab50e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.041471] ffff8880ab50e680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 34.048818] ================================================================== [ 34.056163] Disabling lock debugging due to kernel taint [ 34.077511] Kernel panic - not syncing: panic_on_warn set ... [ 34.077511] [ 34.084888] CPU: 1 PID: 8290 Comm: syz-executor170 Tainted: G B 4.19.211-syzkaller #0 [ 34.094156] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.103499] Call Trace: [ 34.106083] dump_stack+0x1fc/0x2ef [ 34.109708] panic+0x26a/0x50e [ 34.112898] ? __warn_printk+0xf3/0xf3 [ 34.116786] ? preempt_schedule_common+0x45/0xc0 [ 34.121538] ? ___preempt_schedule+0x16/0x18 [ 34.125942] ? trace_hardirqs_on+0x55/0x210 [ 34.130271] kasan_end_report+0x43/0x49 [ 34.134244] kasan_report_error.cold+0xa7/0x1b9 [ 34.138913] ? vlan_dev_get_iflink+0x5f/0x70 [ 34.143320] __asan_report_load4_noabort+0x88/0x90 [ 34.148245] ? vlan_dev_get_iflink+0x5f/0x70 [ 34.152651] vlan_dev_get_iflink+0x5f/0x70 [ 34.156884] ? vlan_dev_poll_controller+0x10/0x10 [ 34.161721] dev_get_iflink+0x73/0xe0 [ 34.165519] rfc2863_policy+0x1af/0x200 [ 34.169490] linkwatch_do_dev+0x1d/0x110 [ 34.173549] linkwatch_forget_dev+0x16a/0x200 [ 34.178041] netdev_run_todo+0x258/0xab0 [ 34.182106] ? default_device_exit_batch+0x3c0/0x3c0 [ 34.187213] ? rtnl_getlink+0x620/0x620 [ 34.191180] rtnetlink_rcv_msg+0x460/0xb80 [ 34.195412] ? rtnl_calcit.isra.0+0x430/0x430 [ 34.199896] ? __netlink_lookup+0x3fc/0x730 [ 34.204197] ? lock_downgrade+0x720/0x720 [ 34.208323] ? check_preemption_disabled+0x41/0x280 [ 34.213317] netlink_rcv_skb+0x160/0x440 [ 34.217355] ? rtnl_calcit.isra.0+0x430/0x430 [ 34.221829] ? netlink_ack+0xae0/0xae0 [ 34.225701] netlink_unicast+0x4d5/0x690 [ 34.229742] ? netlink_sendskb+0x110/0x110 [ 34.233954] ? _copy_from_iter_full+0x229/0x7c0 [ 34.238598] ? __phys_addr_symbol+0x2c/0x70 [ 34.242899] ? __check_object_size+0x17b/0x3e0 [ 34.247457] netlink_sendmsg+0x6c3/0xc50 [ 34.251498] ? aa_af_perm+0x230/0x230 [ 34.255276] ? nlmsg_notify+0x1f0/0x1f0 [ 34.259227] ? kernel_recvmsg+0x220/0x220 [ 34.263356] ? nlmsg_notify+0x1f0/0x1f0 [ 34.267310] sock_sendmsg+0xc3/0x120 [ 34.271008] ___sys_sendmsg+0x7bb/0x8e0 [ 34.274966] ? copy_msghdr_from_user+0x440/0x440 [ 34.279699] ? __fget+0x32f/0x510 [ 34.283139] ? lock_downgrade+0x720/0x720 [ 34.287266] ? check_preemption_disabled+0x41/0x280 [ 34.292258] ? check_preemption_disabled+0x41/0x280 [ 34.297250] ? __fget+0x356/0x510 [ 34.300687] ? do_dup2+0x450/0x450 [ 34.304211] ? __fdget+0x1d0/0x230 [ 34.307730] __x64_sys_sendmsg+0x132/0x220 [ 34.311942] ? __sys_sendmsg+0x1b0/0x1b0 [ 34.315984] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.321334] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.326325] ? do_syscall_64+0x21/0x620 [ 34.330303] do_syscall_64+0xf9/0x620 [ 34.334093] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.339260] RIP: 0033:0x7fee36976ea9 [ 34.342950] 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.361831] RSP: 002b:00007fee36907318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.369513] RAX: ffffffffffffffda RBX: 00007fee369ff438 RCX: 00007fee36976ea9 [ 34.376761] RDX: 0000000000000004 RSI: 0000000020000140 RDI: 0000000000000003 [ 34.384006] RBP: 00007fee369ff430 R08: 0000000000000000 R09: 0000000000000000 [ 34.391252] R10: 0000000000000005 R11: 0000000000000246 R12: 00007fee369cd074 [ 34.398505] R13: 00007ffe587befdf R14: 00007fee36907400 R15: 0000000000022000 [ 34.405934] Kernel Offset: disabled [ 34.409541] Rebooting in 86400 seconds..