[ 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.29' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 35.079249] ================================================================== [ 35.087170] BUG: KASAN: global-out-of-bounds in get_unique_tuple+0x16c3/0x19e0 [ 35.094519] Read of size 8 at addr ffffffff873c9fe0 by task syz-executor675/6328 [ 35.102039] [ 35.103677] CPU: 1 PID: 6328 Comm: syz-executor675 Not tainted 4.14.175-syzkaller #0 [ 35.111542] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.121114] Call Trace: [ 35.123695] dump_stack+0x13e/0x194 [ 35.127312] ? get_unique_tuple+0x16c3/0x19e0 [ 35.131798] print_address_description.cold+0x5/0x1e2 [ 35.136984] ? get_unique_tuple+0x16c3/0x19e0 [ 35.141460] kasan_report.cold+0xa9/0x2ae [ 35.145648] get_unique_tuple+0x16c3/0x19e0 [ 35.149974] ? find_held_lock+0x2d/0x110 [ 35.154042] ? hash_by_src+0x360/0x360 [ 35.157924] ? lock_downgrade+0x6e0/0x6e0 [ 35.162063] nf_nat_setup_info+0x17b/0x710 [ 35.166300] ? nf_nat_proto_clean+0x1c0/0x1c0 [ 35.170773] ? save_stack+0x89/0xa0 [ 35.174381] ? ctnetlink_create_conntrack+0x9e/0x1040 [ 35.179548] ? ctnetlink_new_conntrack+0x460/0xc30 [ 35.184462] ? nfnetlink_rcv_msg+0xa08/0xc00 [ 35.188894] ? netlink_rcv_skb+0x127/0x370 [ 35.193228] ? nfnetlink_rcv+0x1ab/0x1650 [ 35.197357] ? netlink_unicast+0x437/0x620 [ 35.201567] ? netlink_sendmsg+0x733/0xbe0 [ 35.205865] ? sock_sendmsg+0xc5/0x100 [ 35.209738] ? ___sys_sendmsg+0x70a/0x840 [ 35.214072] ? __sys_sendmsg+0xa3/0x120 [ 35.218024] ? SyS_sendmsg+0x27/0x40 [ 35.221740] ? do_syscall_64+0x1d5/0x640 [ 35.225791] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 35.231164] ? __lock_acquire+0x5f7/0x4620 [ 35.235386] __nf_nat_alloc_null_binding+0x13f/0x180 [ 35.240471] ? nf_nat_setup_info+0x710/0x710 [ 35.244951] nfnetlink_parse_nat_setup+0x30c/0x370 [ 35.249876] ? nf_nat_alloc_null_binding+0x40/0x40 [ 35.254787] ? save_trace+0x290/0x290 [ 35.258574] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 35.264013] ? __lock_is_held+0xad/0x140 [ 35.268054] ? check_preemption_disabled+0x35/0x240 [ 35.273050] ? nf_nat_alloc_null_binding+0x40/0x40 [ 35.277959] ctnetlink_parse_nat_setup+0x70/0x490 [ 35.282869] ctnetlink_create_conntrack+0x437/0x1040 [ 35.287957] ? ctnetlink_del_conntrack+0x5a0/0x5a0 [ 35.292867] ? __do_once_done+0x1be/0x240 [ 35.297004] ? hash_conntrack_raw+0x2ab/0x410 [ 35.301486] ? nf_ct_get_id+0x160/0x160 [ 35.305441] ctnetlink_new_conntrack+0x460/0xc30 [ 35.310179] ? ctnetlink_create_conntrack+0x1040/0x1040 [ 35.315525] ? mutex_trylock+0x1a0/0x1a0 [ 35.319584] ? ctnetlink_create_conntrack+0x1040/0x1040 [ 35.324927] nfnetlink_rcv_msg+0xa08/0xc00 [ 35.329150] ? __kernel_text_address+0x9/0x30 [ 35.333631] netlink_rcv_skb+0x127/0x370 [ 35.337844] ? __lock_acquire+0x583/0x4620 [ 35.342066] ? nfnetlink_bind+0x240/0x240 [ 35.346283] ? netlink_ack+0x980/0x980 [ 35.350165] ? ns_capable_common+0x127/0x150 [ 35.354562] nfnetlink_rcv+0x1ab/0x1650 [ 35.358535] ? find_held_lock+0x2d/0x110 [ 35.362662] ? __netlink_lookup+0x2de/0x590 [ 35.366974] ? save_trace+0x290/0x290 [ 35.370774] ? save_trace+0x290/0x290 [ 35.374697] ? nfnl_err_del+0x150/0x150 [ 35.378759] ? find_held_lock+0x2d/0x110 [ 35.382811] ? netlink_deliver_tap+0x90/0x860 [ 35.387391] ? rcu_is_watching+0x11/0xb0 [ 35.391435] ? lock_downgrade+0x6e0/0x6e0 [ 35.395572] netlink_unicast+0x437/0x620 [ 35.399615] ? netlink_attachskb+0x600/0x600 [ 35.404001] netlink_sendmsg+0x733/0xbe0 [ 35.408055] ? netlink_unicast+0x620/0x620 [ 35.412351] ? SYSC_sendto+0x2b0/0x2b0 [ 35.416226] ? security_socket_sendmsg+0x83/0xb0 [ 35.420974] ? netlink_unicast+0x620/0x620 [ 35.425367] sock_sendmsg+0xc5/0x100 [ 35.429068] ___sys_sendmsg+0x70a/0x840 [ 35.433028] ? copy_msghdr_from_user+0x380/0x380 [ 35.437796] ? trace_hardirqs_on+0x10/0x10 [ 35.442104] ? save_trace+0x290/0x290 [ 35.445886] ? selinux_file_alloc_security+0xaf/0x190 [ 35.451063] ? __lock_is_held+0xad/0x140 [ 35.455261] ? lock_downgrade+0x6e0/0x6e0 [ 35.459639] ? __fget_light+0x16a/0x1f0 [ 35.463800] ? sockfd_lookup_light+0xb2/0x160 [ 35.468409] __sys_sendmsg+0xa3/0x120 [ 35.472292] ? SyS_shutdown+0x160/0x160 [ 35.476272] ? move_addr_to_kernel+0x60/0x60 [ 35.480667] ? __do_page_fault+0x35b/0xb40 [ 35.484899] SyS_sendmsg+0x27/0x40 [ 35.488431] ? __sys_sendmsg+0x120/0x120 [ 35.492491] do_syscall_64+0x1d5/0x640 [ 35.496454] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 35.501726] RIP: 0033:0x440229 [ 35.504928] RSP: 002b:00007ffc92df38b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 35.512622] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440229 [ 35.519893] RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003 [ 35.527146] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 35.534407] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401ab0 [ 35.541661] R13: 0000000000401b40 R14: 0000000000000000 R15: 0000000000000000 [ 35.548929] [ 35.550543] The buggy address belongs to the variable: [ 35.555825] nft_filter_chain_netdev+0x440/0x4c0 [ 35.560566] [ 35.562180] Memory state around the buggy address: [ 35.567092] ffffffff873c9e80: 00 00 00 00 07 fa fa fa fa fa fa fa 00 00 06 fa [ 35.574555] ffffffff873c9f00: fa fa fa fa 06 fa fa fa fa fa fa fa 00 01 fa fa [ 35.581907] >ffffffff873c9f80: fa fa fa fa 07 fa fa fa fa fa fa fa 06 fa fa fa [ 35.589248] ^ [ 35.595725] ffffffff873ca000: fa fa fa fa 00 03 fa fa fa fa fa fa 00 00 00 00 [ 35.603069] ffffffff873ca080: 00 00 fa fa fa fa fa fa 00 00 00 00 00 fa fa fa [ 35.610407] ================================================================== [ 35.617753] Disabling lock debugging due to kernel taint [ 35.628987] Kernel panic - not syncing: panic_on_warn set ... [ 35.628987] [ 35.636379] CPU: 1 PID: 6328 Comm: syz-executor675 Tainted: G B 4.14.175-syzkaller #0 [ 35.645482] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 35.654846] Call Trace: [ 35.657443] dump_stack+0x13e/0x194 [ 35.661075] panic+0x1f9/0x42d [ 35.664268] ? add_taint.cold+0x16/0x16 [ 35.668236] ? preempt_schedule_common+0x4a/0xc0 [ 35.672972] ? get_unique_tuple+0x16c3/0x19e0 [ 35.677450] ? ___preempt_schedule+0x16/0x18 [ 35.681850] ? get_unique_tuple+0x16c3/0x19e0 [ 35.686328] kasan_end_report+0x43/0x49 [ 35.690292] kasan_report.cold+0x12f/0x2ae [ 35.694526] get_unique_tuple+0x16c3/0x19e0 [ 35.698838] ? find_held_lock+0x2d/0x110 [ 35.702890] ? hash_by_src+0x360/0x360 [ 35.706769] ? lock_downgrade+0x6e0/0x6e0 [ 35.710913] nf_nat_setup_info+0x17b/0x710 [ 35.715129] ? nf_nat_proto_clean+0x1c0/0x1c0 [ 35.719994] ? save_stack+0x89/0xa0 [ 35.723608] ? ctnetlink_create_conntrack+0x9e/0x1040 [ 35.728772] ? ctnetlink_new_conntrack+0x460/0xc30 [ 35.733686] ? nfnetlink_rcv_msg+0xa08/0xc00 [ 35.738114] ? netlink_rcv_skb+0x127/0x370 [ 35.742333] ? nfnetlink_rcv+0x1ab/0x1650 [ 35.746467] ? netlink_unicast+0x437/0x620 [ 35.750682] ? netlink_sendmsg+0x733/0xbe0 [ 35.754894] ? sock_sendmsg+0xc5/0x100 [ 35.758766] ? ___sys_sendmsg+0x70a/0x840 [ 35.762905] ? __sys_sendmsg+0xa3/0x120 [ 35.766869] ? SyS_sendmsg+0x27/0x40 [ 35.770561] ? do_syscall_64+0x1d5/0x640 [ 35.774606] ? entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 35.779952] ? __lock_acquire+0x5f7/0x4620 [ 35.784285] __nf_nat_alloc_null_binding+0x13f/0x180 [ 35.789367] ? nf_nat_setup_info+0x710/0x710 [ 35.793753] nfnetlink_parse_nat_setup+0x30c/0x370 [ 35.798667] ? nf_nat_alloc_null_binding+0x40/0x40 [ 35.803582] ? save_trace+0x290/0x290 [ 35.807358] ? rcu_lockdep_current_cpu_online+0xed/0x140 [ 35.812816] ? __lock_is_held+0xad/0x140 [ 35.816853] ? check_preemption_disabled+0x35/0x240 [ 35.821845] ? nf_nat_alloc_null_binding+0x40/0x40 [ 35.826767] ctnetlink_parse_nat_setup+0x70/0x490 [ 35.831606] ctnetlink_create_conntrack+0x437/0x1040 [ 35.836705] ? ctnetlink_del_conntrack+0x5a0/0x5a0 [ 35.841627] ? __do_once_done+0x1be/0x240 [ 35.845812] ? hash_conntrack_raw+0x2ab/0x410 [ 35.850290] ? nf_ct_get_id+0x160/0x160 [ 35.854248] ctnetlink_new_conntrack+0x460/0xc30 [ 35.858987] ? ctnetlink_create_conntrack+0x1040/0x1040 [ 35.864328] ? mutex_trylock+0x1a0/0x1a0 [ 35.868379] ? ctnetlink_create_conntrack+0x1040/0x1040 [ 35.873720] nfnetlink_rcv_msg+0xa08/0xc00 [ 35.877934] ? __kernel_text_address+0x9/0x30 [ 35.882927] netlink_rcv_skb+0x127/0x370 [ 35.886966] ? __lock_acquire+0x583/0x4620 [ 35.891181] ? nfnetlink_bind+0x240/0x240 [ 35.895301] ? netlink_ack+0x980/0x980 [ 35.899165] ? ns_capable_common+0x127/0x150 [ 35.903557] nfnetlink_rcv+0x1ab/0x1650 [ 35.907506] ? find_held_lock+0x2d/0x110 [ 35.911586] ? __netlink_lookup+0x2de/0x590 [ 35.915882] ? save_trace+0x290/0x290 [ 35.919745] ? save_trace+0x290/0x290 [ 35.923539] ? nfnl_err_del+0x150/0x150 [ 35.927487] ? find_held_lock+0x2d/0x110 [ 35.931526] ? netlink_deliver_tap+0x90/0x860 [ 35.938950] ? rcu_is_watching+0x11/0xb0 [ 35.943010] ? lock_downgrade+0x6e0/0x6e0 [ 35.947151] netlink_unicast+0x437/0x620 [ 35.951851] ? netlink_attachskb+0x600/0x600 [ 35.956240] netlink_sendmsg+0x733/0xbe0 [ 35.960300] ? netlink_unicast+0x620/0x620 [ 35.964515] ? SYSC_sendto+0x2b0/0x2b0 [ 35.968397] ? security_socket_sendmsg+0x83/0xb0 [ 35.973133] ? netlink_unicast+0x620/0x620 [ 35.977364] sock_sendmsg+0xc5/0x100 [ 35.981083] ___sys_sendmsg+0x70a/0x840 [ 35.985037] ? copy_msghdr_from_user+0x380/0x380 [ 35.989774] ? trace_hardirqs_on+0x10/0x10 [ 35.993999] ? save_trace+0x290/0x290 [ 35.997779] ? selinux_file_alloc_security+0xaf/0x190 [ 36.002974] ? __lock_is_held+0xad/0x140 [ 36.007017] ? lock_downgrade+0x6e0/0x6e0 [ 36.011152] ? __fget_light+0x16a/0x1f0 [ 36.015106] ? sockfd_lookup_light+0xb2/0x160 [ 36.019666] __sys_sendmsg+0xa3/0x120 [ 36.023466] ? SyS_shutdown+0x160/0x160 [ 36.027421] ? move_addr_to_kernel+0x60/0x60 [ 36.031806] ? __do_page_fault+0x35b/0xb40 [ 36.036034] SyS_sendmsg+0x27/0x40 [ 36.039551] ? __sys_sendmsg+0x120/0x120 [ 36.043598] do_syscall_64+0x1d5/0x640 [ 36.047463] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 36.052637] RIP: 0033:0x440229 [ 36.055802] RSP: 002b:00007ffc92df38b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 36.063487] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440229 [ 36.070818] RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003 [ 36.078080] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 36.085598] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401ab0 [ 36.092865] R13: 0000000000401b40 R14: 0000000000000000 R15: 0000000000000000 [ 36.101630] Kernel Offset: disabled [ 36.105252] Rebooting in 86400 seconds..