INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. [....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added 'ci-upstream-net-kasan-gce-3,10.128.0.50' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 51.687823] ================================================================== [ 51.695261] BUG: KASAN: slab-out-of-bounds in tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 51.703382] Read of size 4 at addr ffff8801d2d19410 by task syzkaller907900/2985 [ 51.710887] [ 51.712494] CPU: 1 PID: 2985 Comm: syzkaller907900 Not tainted 4.14.0-rc4+ #80 [ 51.719826] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.729155] Call Trace: [ 51.731717] dump_stack+0x194/0x257 [ 51.735323] ? arch_local_irq_restore+0x53/0x53 [ 51.739965] ? show_regs_print_info+0x65/0x65 [ 51.744438] ? lock_release+0xd70/0xd70 [ 51.748389] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 51.753816] print_address_description+0x73/0x250 [ 51.758633] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 51.764064] kasan_report+0x25b/0x340 [ 51.767845] __asan_report_load4_noabort+0x14/0x20 [ 51.772750] tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 51.778013] tipc_sendmcast+0x70b/0xe20 [ 51.781964] ? unwind_dump+0x4c0/0x4c0 [ 51.785839] ? tipc_release+0xfd0/0xfd0 [ 51.789790] ? __kernel_text_address+0xd/0x40 [ 51.794261] ? __is_insn_slot_addr+0x1fc/0x330 [ 51.798820] ? lock_downgrade+0x990/0x990 [ 51.802939] ? __save_stack_trace+0x61/0xd0 [ 51.807243] ? __sys_sendmsg+0xe5/0x210 [ 51.811198] ? lock_release+0xd70/0xd70 [ 51.815147] ? is_bpf_text_address+0x7b/0x120 [ 51.819617] ? lock_downgrade+0x990/0x990 [ 51.823740] ? show_initstate+0xb0/0xb0 [ 51.827689] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 51.833811] ? __bfs+0xaa/0x750 [ 51.837072] ? lock_release+0xd70/0xd70 [ 51.841021] ? noop_count+0x40/0x40 [ 51.844631] __tipc_sendmsg+0xf49/0x1590 [ 51.848666] ? __tipc_sendmsg+0xf49/0x1590 [ 51.852875] ? rcutorture_record_progress+0x10/0x10 [ 51.857878] ? tipc_sendmcast+0xe20/0xe20 [ 51.862010] ? check_usage_backwards+0x20a/0x420 [ 51.866741] ? print_shortest_lock_dependencies+0x350/0x350 [ 51.872440] ? save_stack_trace+0x16/0x20 [ 51.876563] ? save_trace+0x11f/0x350 [ 51.880351] ? mark_held_locks+0xb2/0x100 [ 51.884474] ? __raw_spin_lock_init+0x1c/0x100 [ 51.889032] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 51.894018] ? __lockdep_init_map+0xe4/0x650 [ 51.898404] ? lockdep_init_map+0x3d/0x70 [ 51.902534] __tipc_sendstream+0x8eb/0xc00 [ 51.906743] ? find_held_lock+0x39/0x1d0 [ 51.910786] ? tipc_connect+0x6d0/0x6d0 [ 51.914734] ? lock_downgrade+0x990/0x990 [ 51.918864] ? lock_acquire+0x1d5/0x580 [ 51.922813] ? tipc_sendstream+0x42/0x70 [ 51.926861] ? mark_held_locks+0xb2/0x100 [ 51.930995] ? __local_bh_enable_ip+0x9d/0x160 [ 51.935556] tipc_sendstream+0x50/0x70 [ 51.939419] tipc_send_packet+0x33/0x50 [ 51.943369] ? tipc_sendstream+0x70/0x70 [ 51.947405] sock_sendmsg+0xca/0x110 [ 51.951096] ___sys_sendmsg+0x75b/0x8a0 [ 51.955048] ? copy_msghdr_from_user+0x590/0x590 [ 51.959800] ? __fget_light+0x29d/0x390 [ 51.963749] ? fget_raw+0x20/0x20 [ 51.967179] ? vmacache_find+0x5f/0x280 [ 51.971148] ? __fdget+0x18/0x20 [ 51.974493] __sys_sendmsg+0xe5/0x210 [ 51.978267] ? __sys_sendmsg+0xe5/0x210 [ 51.982218] ? SyS_shutdown+0x290/0x290 [ 51.986169] ? __do_page_fault+0xd60/0xd60 [ 51.990382] ? fd_install+0x4d/0x60 [ 51.993995] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 51.998991] SyS_sendmsg+0x2d/0x50 [ 52.002508] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 52.007239] RIP: 0033:0x43fd59 [ 52.010408] RSP: 002b:00007ffec19be018 EFLAGS: 00000203 ORIG_RAX: 000000000000002e [ 52.018103] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd59 [ 52.025348] RDX: 0000000000000004 RSI: 00000000203bbfc8 RDI: 0000000000000003 [ 52.032591] RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 [ 52.039834] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016c0 [ 52.047087] R13: 0000000000401750 R14: 0000000000000000 R15: 0000000000000000 [ 52.054355] [ 52.055957] Allocated by task 1: [ 52.059301] save_stack_trace+0x16/0x20 [ 52.063252] save_stack+0x43/0xd0 [ 52.066677] kasan_kmalloc+0xad/0xe0 [ 52.070366] kmem_cache_alloc_trace+0x136/0x750 [ 52.075008] tipc_nameseq_create+0xe8/0x540 [ 52.079303] tipc_nametbl_insert_publ+0xf77/0x17c0 [ 52.084202] tipc_nametbl_publish+0x2aa/0x4f0 [ 52.088666] tipc_bind+0x33a/0x700 [ 52.092177] kernel_bind+0x62/0x80 [ 52.095689] tipc_server_start+0x3a1/0xb60 [ 52.099895] tipc_topsrv_start+0x64f/0x890 [ 52.104100] tipc_init_net+0x3cc/0x570 [ 52.107961] ops_init+0x10a/0x570 [ 52.111385] register_pernet_operations+0x45e/0x980 [ 52.116371] register_pernet_subsys+0x2a/0x40 [ 52.120838] tipc_init+0x83/0x104 [ 52.124262] do_one_initcall+0x9e/0x330 [ 52.128220] kernel_init_freeable+0x469/0x521 [ 52.132689] kernel_init+0x13/0x172 [ 52.136290] ret_from_fork+0x2a/0x40 [ 52.139973] [ 52.141574] Freed by task 0: [ 52.144563] (stack is not available) [ 52.148251] [ 52.149852] The buggy address belongs to the object at ffff8801d2d19400 [ 52.149852] which belongs to the cache kmalloc-32 of size 32 [ 52.162307] The buggy address is located 16 bytes inside of [ 52.162307] 32-byte region [ffff8801d2d19400, ffff8801d2d19420) [ 52.173976] The buggy address belongs to the page: [ 52.178879] page:ffffea00074b4640 count:1 mapcount:0 mapping:ffff8801d2d19000 index:0xffff8801d2d19fc1 [ 52.188302] flags: 0x200000000000100(slab) [ 52.192508] raw: 0200000000000100 ffff8801d2d19000 ffff8801d2d19fc1 000000010000003f [ 52.200364] raw: ffffea00074b5e60 ffffea00074a0360 ffff8801dac001c0 0000000000000000 [ 52.208239] page dumped because: kasan: bad access detected [ 52.214928] [ 52.216531] Memory state around the buggy address: [ 52.221434] ffff8801d2d19300: 04 fc fc fc fc fc fc fc 00 06 fc fc fc fc fc fc [ 52.228764] ffff8801d2d19380: 00 00 00 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 52.236097] >ffff8801d2d19400: 00 00 fc fc fc fc fc fc 00 00 00 00 fc fc fc fc [ 52.243425] ^ [ 52.247286] ffff8801d2d19480: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 52.254619] ffff8801d2d19500: 00 00 00 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 52.261957] ================================================================== [ 52.269291] Disabling lock debugging due to kernel taint [ 52.274760] Kernel panic - not syncing: panic_on_warn set ... [ 52.274760] [ 52.282093] CPU: 1 PID: 2985 Comm: syzkaller907900 Tainted: G B 4.14.0-rc4+ #80 [ 52.290633] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 52.299952] Call Trace: [ 52.302510] dump_stack+0x194/0x257 [ 52.306106] ? arch_local_irq_restore+0x53/0x53 [ 52.310742] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 52.315465] ? tipc_nametbl_lookup_dst_nodes+0x490/0x4b0 [ 52.320882] panic+0x1e4/0x417 [ 52.324044] ? __warn+0x1d9/0x1d9 [ 52.327469] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 52.332883] kasan_end_report+0x50/0x50 [ 52.336824] kasan_report+0x144/0x340 [ 52.340591] __asan_report_load4_noabort+0x14/0x20 [ 52.345485] tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 52.350730] tipc_sendmcast+0x70b/0xe20 [ 52.354668] ? unwind_dump+0x4c0/0x4c0 [ 52.358526] ? tipc_release+0xfd0/0xfd0 [ 52.362467] ? __kernel_text_address+0xd/0x40 [ 52.366930] ? __is_insn_slot_addr+0x1fc/0x330 [ 52.371480] ? lock_downgrade+0x990/0x990 [ 52.375592] ? __save_stack_trace+0x61/0xd0 [ 52.379884] ? __sys_sendmsg+0xe5/0x210 [ 52.383826] ? lock_release+0xd70/0xd70 [ 52.387765] ? is_bpf_text_address+0x7b/0x120 [ 52.392227] ? lock_downgrade+0x990/0x990 [ 52.396342] ? show_initstate+0xb0/0xb0 [ 52.400281] ? trace_raw_output_xdp_redirect_map_err+0x440/0x440 [ 52.406392] ? __bfs+0xaa/0x750 [ 52.409640] ? lock_release+0xd70/0xd70 [ 52.413577] ? noop_count+0x40/0x40 [ 52.417173] __tipc_sendmsg+0xf49/0x1590 [ 52.421199] ? __tipc_sendmsg+0xf49/0x1590 [ 52.425401] ? rcutorture_record_progress+0x10/0x10 [ 52.430389] ? tipc_sendmcast+0xe20/0xe20 [ 52.434510] ? check_usage_backwards+0x20a/0x420 [ 52.439231] ? print_shortest_lock_dependencies+0x350/0x350 [ 52.444911] ? save_stack_trace+0x16/0x20 [ 52.449023] ? save_trace+0x11f/0x350 [ 52.452792] ? mark_held_locks+0xb2/0x100 [ 52.456906] ? __raw_spin_lock_init+0x1c/0x100 [ 52.461452] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 52.466434] ? __lockdep_init_map+0xe4/0x650 [ 52.470810] ? lockdep_init_map+0x3d/0x70 [ 52.474927] __tipc_sendstream+0x8eb/0xc00 [ 52.479131] ? find_held_lock+0x39/0x1d0 [ 52.483163] ? tipc_connect+0x6d0/0x6d0 [ 52.487103] ? lock_downgrade+0x990/0x990 [ 52.491232] ? lock_acquire+0x1d5/0x580 [ 52.495173] ? tipc_sendstream+0x42/0x70 [ 52.499208] ? mark_held_locks+0xb2/0x100 [ 52.503328] ? __local_bh_enable_ip+0x9d/0x160 [ 52.507877] tipc_sendstream+0x50/0x70 [ 52.511732] tipc_send_packet+0x33/0x50 [ 52.515670] ? tipc_sendstream+0x70/0x70 [ 52.519697] sock_sendmsg+0xca/0x110 [ 52.523379] ___sys_sendmsg+0x75b/0x8a0 [ 52.527321] ? copy_msghdr_from_user+0x590/0x590 [ 52.532051] ? __fget_light+0x29d/0x390 [ 52.535991] ? fget_raw+0x20/0x20 [ 52.539412] ? vmacache_find+0x5f/0x280 [ 52.543360] ? __fdget+0x18/0x20 [ 52.546694] __sys_sendmsg+0xe5/0x210 [ 52.550458] ? __sys_sendmsg+0xe5/0x210 [ 52.554399] ? SyS_shutdown+0x290/0x290 [ 52.558341] ? __do_page_fault+0xd60/0xd60 [ 52.562544] ? fd_install+0x4d/0x60 [ 52.566142] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 52.571124] SyS_sendmsg+0x2d/0x50 [ 52.574631] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 52.579352] RIP: 0033:0x43fd59 [ 52.582508] RSP: 002b:00007ffec19be018 EFLAGS: 00000203 ORIG_RAX: 000000000000002e [ 52.590180] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd59 [ 52.597417] RDX: 0000000000000004 RSI: 00000000203bbfc8 RDI: 0000000000000003 [ 52.604652] RBP: 0000000000000086 R08: 0000000000000000 R09: 0000000000000000 [ 52.611888] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016c0 [ 52.619123] R13: 0000000000401750 R14: 0000000000000000 R15: 0000000000000000 [ 52.626736] Dumping ftrace buffer: [ 52.630244] (ftrace buffer empty) [ 52.633922] Kernel Offset: disabled [ 52.637516] Rebooting in 86400 seconds..