Starting Update UTMP about System Runlevel Changes... [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.44' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 78.215206] audit: type=1400 audit(1596697170.151:8): avc: denied { execmem } for pid=6355 comm="syz-executor582" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 78.227923] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.265031] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.282291] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.306295] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.325414] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.345002] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. executing program executing program executing program executing program executing program executing program [ 78.631045] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.754712] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.863587] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. [ 78.970474] netlink: 24 bytes leftover after parsing attributes in process `syz-executor582'. 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 [ 80.042213] ================================================================== [ 80.049752] BUG: KASAN: use-after-free in vlan_dev_get_iflink+0x5f/0x70 [ 80.057286] Read of size 4 at addr ffff8880905e0488 by task syz-executor582/6951 [ 80.064989] [ 80.066730] CPU: 0 PID: 6951 Comm: syz-executor582 Not tainted 4.14.192-syzkaller #0 [ 80.074618] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 80.084009] Call Trace: [ 80.086630] dump_stack+0x1b2/0x283 [ 80.090280] print_address_description.cold+0x54/0x1d3 [ 80.095580] kasan_report_error.cold+0x8a/0x194 [ 80.100266] ? vlan_dev_get_iflink+0x5f/0x70 [ 80.104783] __asan_report_load4_noabort+0x68/0x70 [ 80.109736] ? vlan_dev_get_iflink+0x5f/0x70 [ 80.114250] vlan_dev_get_iflink+0x5f/0x70 [ 80.118506] ? vlan_dev_poll_controller+0x10/0x10 [ 80.123569] dev_get_iflink+0x73/0xe0 [ 80.127863] rfc2863_policy+0x163/0x1b0 [ 80.132642] linkwatch_do_dev+0x1b/0xf0 [ 80.136637] linkwatch_forget_dev+0x15c/0x1f0 [ 80.141159] netdev_run_todo+0x284/0xad0 [ 80.145611] ? dev_set_mtu+0x3c0/0x3c0 [ 80.149526] ? rtnl_dellink+0x6a0/0x6a0 [ 80.153546] rtnetlink_rcv_msg+0x3cb/0xb10 [ 80.157915] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 80.162435] ? __netlink_lookup+0x345/0x5d0 [ 80.166790] netlink_rcv_skb+0x125/0x390 [ 80.170873] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 80.175743] ? netlink_ack+0x9a0/0x9a0 [ 80.180020] netlink_unicast+0x437/0x610 [ 80.184233] ? netlink_sendskb+0xd0/0xd0 [ 80.188408] netlink_sendmsg+0x62e/0xb80 [ 80.192581] ? nlmsg_notify+0x170/0x170 [ 80.196685] ? kernel_recvmsg+0x210/0x210 [ 80.200861] ? security_socket_sendmsg+0x83/0xb0 [ 80.205722] ? nlmsg_notify+0x170/0x170 [ 80.209821] sock_sendmsg+0xb5/0x100 [ 80.213557] ___sys_sendmsg+0x6c8/0x800 [ 80.217558] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 80.222456] ? trace_hardirqs_on+0x10/0x10 [ 80.226802] ? __fget+0x1fe/0x360 [ 80.230319] ? lock_acquire+0x170/0x3f0 [ 80.234315] ? lock_downgrade+0x740/0x740 [ 80.238844] ? __fget+0x225/0x360 [ 80.242324] ? __fdget+0x196/0x1f0 [ 80.245973] ? sockfd_lookup_light+0xb2/0x160 [ 80.250666] __sys_sendmsg+0xa3/0x120 [ 80.254495] ? SyS_shutdown+0x160/0x160 [ 80.258490] ? __free_pages_ok+0x539/0xeb0 [ 80.262754] ? put_task_stack+0xa0/0x1c0 [ 80.266833] SyS_sendmsg+0x27/0x40 [ 80.270388] ? __sys_sendmsg+0x120/0x120 [ 80.274470] do_syscall_64+0x1d5/0x640 [ 80.278520] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 80.283875] RIP: 0033:0x446d79 [ 80.287078] RSP: 002b:00007efc89777d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 80.295087] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446d79 [ 80.302410] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 [ 80.309779] RBP: 00000000006dbc70 R08: 0000000000000018 R09: 0000000000000000 [ 80.317207] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000006dbc7c [ 80.324576] R13: 0000000000040000 R14: 0000000000000000 R15: 0705001000000048 [ 80.333291] [ 80.334930] Allocated by task 6917: [ 80.338831] kasan_kmalloc+0xeb/0x160 [ 80.342735] __kmalloc_node+0x4c/0x70 [ 80.346550] kvmalloc_node+0x46/0xd0 [ 80.350434] alloc_netdev_mqs+0x76/0xb70 [ 80.354514] rtnl_create_link+0x1ab/0x890 [ 80.358781] rtnl_newlink+0xe86/0x1830 [ 80.362692] rtnetlink_rcv_msg+0x3be/0xb10 [ 80.366942] netlink_rcv_skb+0x125/0x390 [ 80.371106] netlink_unicast+0x437/0x610 [ 80.375270] netlink_sendmsg+0x62e/0xb80 [ 80.379348] sock_sendmsg+0xb5/0x100 [ 80.383084] ___sys_sendmsg+0x6c8/0x800 [ 80.387242] __sys_sendmsg+0xa3/0x120 [ 80.391055] SyS_sendmsg+0x27/0x40 [ 80.394618] do_syscall_64+0x1d5/0x640 [ 80.398523] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 80.403942] [ 80.405576] Freed by task 6917: [ 80.408871] kasan_slab_free+0xc3/0x1a0 [ 80.412883] kfree+0xc9/0x250 [ 80.416233] kvfree+0x45/0x50 [ 80.419413] device_release+0x15f/0x1a0 [ 80.423425] kobject_put+0x1f3/0x2d0 [ 80.427170] netdev_run_todo+0x747/0xad0 [ 80.431250] rtnetlink_rcv_msg+0x3cb/0xb10 [ 80.435724] netlink_rcv_skb+0x125/0x390 [ 80.439807] netlink_unicast+0x437/0x610 [ 80.443886] netlink_sendmsg+0x62e/0xb80 [ 80.447965] sock_sendmsg+0xb5/0x100 [ 80.451884] ___sys_sendmsg+0x6c8/0x800 [ 80.456047] __sys_sendmsg+0xa3/0x120 [ 80.459862] SyS_sendmsg+0x27/0x40 [ 80.463580] do_syscall_64+0x1d5/0x640 [ 80.467493] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 80.472839] [ 80.474481] The buggy address belongs to the object at ffff8880905e0380 [ 80.474481] which belongs to the cache kmalloc-4096 of size 4096 [ 80.487436] The buggy address is located 264 bytes inside of [ 80.487436] 4096-byte region [ffff8880905e0380, ffff8880905e1380) [ 80.499556] The buggy address belongs to the page: [ 80.504499] page:ffffea0002417800 count:1 mapcount:0 mapping:ffff8880905e0380 index:0x0 compound_mapcount: 0 [ 80.514685] flags: 0xfffe0000008100(slab|head) [ 80.519375] raw: 00fffe0000008100 ffff8880905e0380 0000000000000000 0000000100000001 [ 80.527262] raw: ffffea000243ba20 ffffea000249a2a0 ffff88812fe52dc0 0000000000000000 [ 80.535235] page dumped because: kasan: bad access detected [ 80.541090] [ 80.542703] Memory state around the buggy address: [ 80.547622] ffff8880905e0380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.555070] ffff8880905e0400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.562515] >ffff8880905e0480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.570232] ^ [ 80.573953] ffff8880905e0500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.581488] ffff8880905e0580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 80.589285] ================================================================== [ 80.596641] Disabling lock debugging due to kernel taint [ 80.605435] Kernel panic - not syncing: panic_on_warn set ... [ 80.605435] [ 80.613132] CPU: 0 PID: 6951 Comm: syz-executor582 Tainted: G B 4.14.192-syzkaller #0 [ 80.622384] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 80.631747] Call Trace: [ 80.634348] dump_stack+0x1b2/0x283 [ 80.638155] panic+0x1f9/0x42d [ 80.641345] ? add_taint.cold+0x16/0x16 [ 80.645312] ? ___preempt_schedule+0x16/0x18 [ 80.649712] kasan_end_report+0x43/0x49 [ 80.653677] kasan_report_error.cold+0xa7/0x194 [ 80.658356] ? vlan_dev_get_iflink+0x5f/0x70 [ 80.662771] __asan_report_load4_noabort+0x68/0x70 [ 80.667810] ? vlan_dev_get_iflink+0x5f/0x70 [ 80.672469] vlan_dev_get_iflink+0x5f/0x70 [ 80.676896] ? vlan_dev_poll_controller+0x10/0x10 [ 80.681863] dev_get_iflink+0x73/0xe0 [ 80.685766] rfc2863_policy+0x163/0x1b0 [ 80.689733] linkwatch_do_dev+0x1b/0xf0 [ 80.693846] linkwatch_forget_dev+0x15c/0x1f0 [ 80.698333] netdev_run_todo+0x284/0xad0 [ 80.702388] ? dev_set_mtu+0x3c0/0x3c0 [ 80.706267] ? rtnl_dellink+0x6a0/0x6a0 [ 80.710267] rtnetlink_rcv_msg+0x3cb/0xb10 [ 80.714637] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 80.719127] ? __netlink_lookup+0x345/0x5d0 [ 80.723583] netlink_rcv_skb+0x125/0x390 [ 80.727638] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 80.732120] ? netlink_ack+0x9a0/0x9a0 [ 80.736137] netlink_unicast+0x437/0x610 [ 80.740274] ? netlink_sendskb+0xd0/0xd0 [ 80.744340] netlink_sendmsg+0x62e/0xb80 [ 80.748872] ? nlmsg_notify+0x170/0x170 [ 80.753491] ? kernel_recvmsg+0x210/0x210 [ 80.757657] ? security_socket_sendmsg+0x83/0xb0 [ 80.762414] ? nlmsg_notify+0x170/0x170 [ 80.766393] sock_sendmsg+0xb5/0x100 [ 80.770113] ___sys_sendmsg+0x6c8/0x800 [ 80.774253] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 80.779000] ? trace_hardirqs_on+0x10/0x10 [ 80.783227] ? __fget+0x1fe/0x360 [ 80.786711] ? lock_acquire+0x170/0x3f0 [ 80.790684] ? lock_downgrade+0x740/0x740 [ 80.794918] ? __fget+0x225/0x360 [ 80.798417] ? __fdget+0x196/0x1f0 [ 80.802044] ? sockfd_lookup_light+0xb2/0x160 [ 80.806526] __sys_sendmsg+0xa3/0x120 [ 80.810691] ? SyS_shutdown+0x160/0x160 [ 80.814808] ? __free_pages_ok+0x539/0xeb0 [ 80.819036] ? put_task_stack+0xa0/0x1c0 [ 80.823088] SyS_sendmsg+0x27/0x40 [ 80.826814] ? __sys_sendmsg+0x120/0x120 [ 80.830866] do_syscall_64+0x1d5/0x640 [ 80.834841] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 80.840020] RIP: 0033:0x446d79 [ 80.843297] RSP: 002b:00007efc89777d98 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 80.851111] RAX: ffffffffffffffda RBX: 00000000006dbc78 RCX: 0000000000446d79 [ 80.858723] RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 [ 80.866094] RBP: 00000000006dbc70 R08: 0000000000000018 R09: 0000000000000000 [ 80.873551] R10: 0000000000000001 R11: 0000000000000246 R12: 00000000006dbc7c [ 80.880809] R13: 0000000000040000 R14: 0000000000000000 R15: 0705001000000048 [ 80.889471] Kernel Offset: disabled [ 80.893211] Rebooting in 86400 seconds..