[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... 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.200' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 27.472717] netlink: 24 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.496690] netlink: 24 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.512650] netlink: 24 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.529523] netlink: 24 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.546371] netlink: 24 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.562245] netlink: 24 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.698196] netlink: 4 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.774233] netlink: 4 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.834910] netlink: 4 bytes leftover after parsing attributes in process `syz-executor132'. [ 27.869362] netlink: 4 bytes leftover after parsing attributes in process `syz-executor132'. 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 executing program [ 29.003343] ================================================================== [ 29.010850] BUG: KASAN: use-after-free in macvlan_dev_get_iflink+0x5f/0x70 [ 29.017856] Read of size 4 at addr ffff8880931a0dc8 by task syz-executor132/8487 [ 29.025377] [ 29.027002] CPU: 1 PID: 8487 Comm: syz-executor132 Not tainted 4.14.292-syzkaller #0 [ 29.034875] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 29.044224] Call Trace: [ 29.046806] dump_stack+0x1b2/0x281 [ 29.050440] print_address_description.cold+0x54/0x1d3 [ 29.055723] kasan_report_error.cold+0x8a/0x191 [ 29.060393] ? macvlan_dev_get_iflink+0x5f/0x70 [ 29.065062] __asan_report_load4_noabort+0x68/0x70 [ 29.070078] ? macvlan_dev_get_iflink+0x5f/0x70 [ 29.074742] macvlan_dev_get_iflink+0x5f/0x70 [ 29.079238] ? macvlan_dev_poll_controller+0x10/0x10 [ 29.084333] dev_get_iflink+0x73/0xe0 [ 29.088130] rfc2863_policy+0x163/0x1b0 [ 29.092100] linkwatch_do_dev+0x1b/0x100 [ 29.096164] linkwatch_forget_dev+0x15c/0x1f0 [ 29.100661] netdev_run_todo+0x284/0xad0 [ 29.104722] ? dev_set_mtu+0x3c0/0x3c0 [ 29.108609] ? rtnl_dellink+0x6a0/0x6a0 [ 29.112583] rtnetlink_rcv_msg+0x3cb/0xb10 [ 29.116815] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 29.121305] ? __netlink_lookup+0x345/0x5d0 [ 29.125633] netlink_rcv_skb+0x125/0x390 [ 29.129692] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 29.134192] ? netlink_ack+0x9a0/0x9a0 [ 29.138082] netlink_unicast+0x437/0x610 [ 29.142141] ? netlink_sendskb+0xd0/0xd0 [ 29.146200] ? __check_object_size+0x179/0x230 [ 29.150785] netlink_sendmsg+0x648/0xbc0 [ 29.154847] ? nlmsg_notify+0x1b0/0x1b0 [ 29.158816] ? kernel_recvmsg+0x210/0x210 [ 29.162961] ? security_socket_sendmsg+0x83/0xb0 [ 29.167713] ? nlmsg_notify+0x1b0/0x1b0 [ 29.171687] sock_sendmsg+0xb5/0x100 [ 29.175394] ___sys_sendmsg+0x6c8/0x800 [ 29.179368] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 29.184121] ? trace_hardirqs_on+0x10/0x10 [ 29.188356] ? check_preemption_disabled+0x35/0x240 [ 29.193369] ? do_futex+0x127/0x1570 [ 29.197090] ? __fget+0x23e/0x3e0 [ 29.200540] ? lock_acquire+0x170/0x3f0 [ 29.204516] ? lock_downgrade+0x740/0x740 [ 29.208662] ? __fget+0x265/0x3e0 [ 29.212117] ? __fdget+0x19b/0x1f0 [ 29.215658] ? sockfd_lookup_light+0xb2/0x160 [ 29.220154] __sys_sendmsg+0xa3/0x120 [ 29.223946] ? SyS_shutdown+0x160/0x160 [ 29.227924] SyS_sendmsg+0x27/0x40 [ 29.231455] ? __sys_sendmsg+0x120/0x120 [ 29.235514] do_syscall_64+0x1d5/0x640 [ 29.239400] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.244578] RIP: 0033:0x7f13c9e86dd9 [ 29.248284] RSP: 002b:00007f13c9e17308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 29.255985] RAX: ffffffffffffffda RBX: 00007f13c9f0e438 RCX: 00007f13c9e86dd9 [ 29.263263] RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000006 [ 29.270528] RBP: 00007f13c9f0e430 R08: 0000000000000000 R09: 0000000000000000 [ 29.277791] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13c9f0e43c [ 29.285055] R13: 00007f13c9edc074 R14: 00f0ffffffffffff R15: 0000000000022000 [ 29.292330] [ 29.293948] Allocated by task 8462: [ 29.297573] kasan_kmalloc+0xeb/0x160 [ 29.301367] __kmalloc_node+0x4c/0x70 [ 29.305164] kvmalloc_node+0x46/0xd0 [ 29.308868] alloc_netdev_mqs+0x76/0xb70 [ 29.312925] rtnl_create_link+0x1ab/0x890 [ 29.317073] rtnl_newlink+0xe7a/0x1830 [ 29.320952] rtnetlink_rcv_msg+0x3be/0xb10 [ 29.325181] netlink_rcv_skb+0x125/0x390 [ 29.329239] netlink_unicast+0x437/0x610 [ 29.333292] netlink_sendmsg+0x648/0xbc0 [ 29.337354] sock_sendmsg+0xb5/0x100 [ 29.341064] ___sys_sendmsg+0x6c8/0x800 [ 29.345029] __sys_sendmsg+0xa3/0x120 [ 29.348829] SyS_sendmsg+0x27/0x40 [ 29.352362] do_syscall_64+0x1d5/0x640 [ 29.356244] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.361421] [ 29.363039] Freed by task 8462: [ 29.366323] kasan_slab_free+0xc3/0x1a0 [ 29.370322] kfree+0xc9/0x250 [ 29.373418] kvfree+0x45/0x50 [ 29.376516] device_release+0x15f/0x1a0 [ 29.380508] kobject_put+0x251/0x550 [ 29.384227] netdev_run_todo+0x747/0xad0 [ 29.388283] rtnetlink_rcv_msg+0x3cb/0xb10 [ 29.392509] netlink_rcv_skb+0x125/0x390 [ 29.396565] netlink_unicast+0x437/0x610 [ 29.400620] netlink_sendmsg+0x648/0xbc0 [ 29.404670] sock_sendmsg+0xb5/0x100 [ 29.408376] ___sys_sendmsg+0x6c8/0x800 [ 29.412343] __sys_sendmsg+0xa3/0x120 [ 29.416136] SyS_sendmsg+0x27/0x40 [ 29.419668] do_syscall_64+0x1d5/0x640 [ 29.423551] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 29.429185] [ 29.430877] The buggy address belongs to the object at ffff8880931a0cc0 [ 29.430877] which belongs to the cache kmalloc-4096 of size 4096 [ 29.443699] The buggy address is located 264 bytes inside of [ 29.443699] 4096-byte region [ffff8880931a0cc0, ffff8880931a1cc0) [ 29.455648] The buggy address belongs to the page: [ 29.460574] page:ffffea00024c6800 count:1 mapcount:0 mapping:ffff8880931a0cc0 index:0x0 compound_mapcount: 0 [ 29.470542] flags: 0xfff00000008100(slab|head) [ 29.475120] raw: 00fff00000008100 ffff8880931a0cc0 0000000000000000 0000000100000001 [ 29.483000] raw: ffffea0002aa8120 ffffea00024c3420 ffff88813fe74dc0 0000000000000000 [ 29.490881] page dumped because: kasan: bad access detected [ 29.496582] [ 29.498203] Memory state around the buggy address: [ 29.503126] ffff8880931a0c80: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 29.510481] ffff8880931a0d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.517857] >ffff8880931a0d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.525209] ^ [ 29.530913] ffff8880931a0e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.538262] ffff8880931a0e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 29.545611] ================================================================== [ 29.552957] Disabling lock debugging due to kernel taint 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 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 executing program executing program executing program executing program [ 31.690561] Kernel panic - not syncing: panic_on_warn set ... [ 31.690561] [ 31.697948] CPU: 0 PID: 8487 Comm: syz-executor132 Tainted: G B 4.14.292-syzkaller #0 [ 31.707032] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 31.716374] Call Trace: [ 31.718957] dump_stack+0x1b2/0x281 [ 31.722581] panic+0x1f9/0x42d [ 31.725768] ? add_taint.cold+0x16/0x16 [ 31.729736] ? ___preempt_schedule+0x16/0x18 [ 31.734143] kasan_end_report+0x43/0x49 [ 31.738110] kasan_report_error.cold+0xa7/0x191 [ 31.742773] ? macvlan_dev_get_iflink+0x5f/0x70 [ 31.747447] __asan_report_load4_noabort+0x68/0x70 [ 31.752363] ? macvlan_dev_get_iflink+0x5f/0x70 [ 31.757018] macvlan_dev_get_iflink+0x5f/0x70 [ 31.761516] ? macvlan_dev_poll_controller+0x10/0x10 [ 31.766608] dev_get_iflink+0x73/0xe0 [ 31.770404] rfc2863_policy+0x163/0x1b0 [ 31.774371] linkwatch_do_dev+0x1b/0x100 [ 31.778427] linkwatch_forget_dev+0x15c/0x1f0 [ 31.782916] netdev_run_todo+0x284/0xad0 [ 31.786972] ? dev_set_mtu+0x3c0/0x3c0 [ 31.790856] ? rtnl_dellink+0x6a0/0x6a0 [ 31.794821] rtnetlink_rcv_msg+0x3cb/0xb10 [ 31.799057] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 31.803541] ? __netlink_lookup+0x345/0x5d0 [ 31.807861] netlink_rcv_skb+0x125/0x390 [ 31.811913] ? rtnl_calcit.isra.0+0x3a0/0x3a0 [ 31.816401] ? netlink_ack+0x9a0/0x9a0 [ 31.820289] netlink_unicast+0x437/0x610 [ 31.824339] ? netlink_sendskb+0xd0/0xd0 [ 31.828414] ? __check_object_size+0x179/0x230 [ 31.833015] netlink_sendmsg+0x648/0xbc0 [ 31.837066] ? nlmsg_notify+0x1b0/0x1b0 [ 31.841031] ? kernel_recvmsg+0x210/0x210 [ 31.845177] ? security_socket_sendmsg+0x83/0xb0 [ 31.849925] ? nlmsg_notify+0x1b0/0x1b0 [ 31.853887] sock_sendmsg+0xb5/0x100 [ 31.857592] ___sys_sendmsg+0x6c8/0x800 [ 31.861559] ? copy_msghdr_from_user+0x3b0/0x3b0 [ 31.866344] ? trace_hardirqs_on+0x10/0x10 [ 31.870570] ? check_preemption_disabled+0x35/0x240 [ 31.875585] ? do_futex+0x127/0x1570 [ 31.879293] ? __fget+0x23e/0x3e0 [ 31.882741] ? lock_acquire+0x170/0x3f0 [ 31.886705] ? lock_downgrade+0x740/0x740 [ 31.890878] ? __fget+0x265/0x3e0 [ 31.894333] ? __fdget+0x19b/0x1f0 [ 31.897867] ? sockfd_lookup_light+0xb2/0x160 [ 31.902355] __sys_sendmsg+0xa3/0x120 [ 31.906155] ? SyS_shutdown+0x160/0x160 [ 31.910122] SyS_sendmsg+0x27/0x40 [ 31.913647] ? __sys_sendmsg+0x120/0x120 [ 31.917695] do_syscall_64+0x1d5/0x640 [ 31.921578] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 31.926756] RIP: 0033:0x7f13c9e86dd9 [ 31.930449] RSP: 002b:00007f13c9e17308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 31.938146] RAX: ffffffffffffffda RBX: 00007f13c9f0e438 RCX: 00007f13c9e86dd9 [ 31.945402] RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000006 [ 31.952658] RBP: 00007f13c9f0e430 R08: 0000000000000000 R09: 0000000000000000 [ 31.959924] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f13c9f0e43c [ 31.967180] R13: 00007f13c9edc074 R14: 00f0ffffffffffff R15: 0000000000022000 [ 31.974505] Kernel Offset: disabled [ 31.978113] Rebooting in 86400 seconds..