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-mmots-kasan-gce-4,10.128.15.205' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.380201] ================================================================== [ 31.387621] BUG: KASAN: slab-out-of-bounds in tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 31.395737] Read of size 4 at addr ffff8801d2f215d0 by task syzkaller288083/2984 [ 31.403242] [ 31.404846] CPU: 0 PID: 2984 Comm: syzkaller288083 Not tainted 4.13.0-mm1+ #7 [ 31.412088] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.421415] Call Trace: [ 31.423982] dump_stack+0x194/0x257 [ 31.427590] ? arch_local_irq_restore+0x53/0x53 [ 31.432234] ? show_regs_print_info+0x65/0x65 [ 31.436709] ? lock_release+0xd70/0xd70 [ 31.440682] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 31.446120] print_address_description+0x73/0x250 [ 31.450937] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 31.456359] kasan_report+0x24e/0x340 [ 31.460134] __asan_report_load4_noabort+0x14/0x20 [ 31.465036] tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 31.470294] tipc_sendmcast+0x704/0xe30 [ 31.474256] ? tipc_release+0xfd0/0xfd0 [ 31.478205] ? unwind_get_return_address+0x61/0xa0 [ 31.483110] ? __is_insn_slot_addr+0x1fc/0x330 [ 31.487666] ? lock_downgrade+0x990/0x990 [ 31.491797] ? SyS_sendmsg+0x2d/0x50 [ 31.495498] ? lock_release+0xd70/0xd70 [ 31.499444] ? __read_once_size_nocheck.constprop.8+0x10/0x10 [ 31.505302] ? is_bpf_text_address+0x7b/0x120 [ 31.509774] ? lock_downgrade+0x990/0x990 [ 31.513911] ? show_initstate+0xb0/0xb0 [ 31.517862] ? __bfs+0xaa/0x750 [ 31.521113] ? bpf_prog_alloc+0x310/0x310 [ 31.525238] ? noop_count+0x40/0x40 [ 31.528844] __tipc_sendmsg+0xf49/0x1590 [ 31.532876] ? __tipc_sendmsg+0xf49/0x1590 [ 31.537083] ? unwind_dump+0x4c0/0x4c0 [ 31.540957] ? tipc_sendmcast+0xe30/0xe30 [ 31.545080] ? check_usage_backwards+0x20a/0x420 [ 31.549810] ? print_shortest_lock_dependencies+0x350/0x350 [ 31.555515] ? save_stack_trace+0x16/0x20 [ 31.559635] ? save_trace+0x11f/0x350 [ 31.563413] ? mark_held_locks+0xb2/0x100 [ 31.567534] ? __raw_spin_lock_init+0x1c/0x100 [ 31.572091] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 31.577078] ? __lockdep_init_map+0xe4/0x650 [ 31.581462] ? lockdep_init_map+0x3d/0x70 [ 31.585593] __tipc_sendstream+0x8eb/0xc00 [ 31.589805] ? find_held_lock+0x39/0x1d0 [ 31.593848] ? tipc_connect+0x6d0/0x6d0 [ 31.597795] ? lock_downgrade+0x990/0x990 [ 31.601931] ? check_same_owner+0x320/0x320 [ 31.606227] ? rw_copy_check_uvector+0x1ce/0x280 [ 31.610970] ? lock_acquire+0x1d5/0x580 [ 31.614913] ? tipc_sendstream+0x42/0x70 [ 31.618958] ? mark_held_locks+0xb2/0x100 [ 31.623098] ? __local_bh_enable_ip+0x9d/0x160 [ 31.627657] tipc_sendstream+0x50/0x70 [ 31.631516] ? __tipc_sendstream+0xc00/0xc00 [ 31.635901] sock_sendmsg+0xca/0x110 [ 31.639592] ___sys_sendmsg+0x75b/0x8a0 [ 31.643543] ? copy_msghdr_from_user+0x590/0x590 [ 31.648283] ? lock_downgrade+0x990/0x990 [ 31.652413] ? __fget_light+0x29d/0x390 [ 31.656361] ? fget_raw+0x20/0x20 [ 31.659794] ? handle_mm_fault+0x410/0x8d0 [ 31.663999] ? down_read_trylock+0xdb/0x170 [ 31.668291] ? __do_page_fault+0x2b8/0xb60 [ 31.672513] ? __fdget+0x18/0x20 [ 31.675860] __sys_sendmsg+0xe5/0x210 [ 31.679632] ? __sys_sendmsg+0xe5/0x210 [ 31.683579] ? SyS_shutdown+0x290/0x290 [ 31.687529] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 31.692265] ? retint_kernel+0x10/0x10 [ 31.696140] SyS_sendmsg+0x2d/0x50 [ 31.699654] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 31.704380] RIP: 0033:0x43fd59 [ 31.707553] RSP: 002b:00007ffc62e32158 EFLAGS: 00000203 ORIG_RAX: 000000000000002e [ 31.715241] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd59 [ 31.722483] RDX: 0000000000004000 RSI: 00000000201ff000 RDI: 0000000000000003 [ 31.729734] RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 [ 31.736988] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016c0 [ 31.744231] R13: 0000000000401750 R14: 0000000000000000 R15: 0000000000000000 [ 31.751495] [ 31.753095] Allocated by task 1: [ 31.756443] save_stack_trace+0x16/0x20 [ 31.760389] save_stack+0x43/0xd0 [ 31.763813] kasan_kmalloc+0xad/0xe0 [ 31.767498] kmem_cache_alloc_trace+0x136/0x750 [ 31.772137] tipc_nameseq_create+0xe8/0x540 [ 31.776433] tipc_nametbl_insert_publ+0xf77/0x17c0 [ 31.781341] tipc_nametbl_publish+0x2aa/0x4f0 [ 31.785808] tipc_bind+0x33a/0x700 [ 31.789318] kernel_bind+0x62/0x80 [ 31.792829] tipc_server_start+0x3a1/0xb60 [ 31.797036] tipc_topsrv_start+0x64f/0x890 [ 31.801243] tipc_init_net+0x3cc/0x570 [ 31.805102] ops_init+0x10a/0x570 [ 31.808527] register_pernet_operations+0x45e/0x980 [ 31.813512] register_pernet_subsys+0x2a/0x40 [ 31.817985] tipc_init+0x83/0x104 [ 31.821410] do_one_initcall+0x9e/0x330 [ 31.825357] kernel_init_freeable+0x469/0x521 [ 31.829824] kernel_init+0x13/0x172 [ 31.833426] ret_from_fork+0x2a/0x40 [ 31.837108] [ 31.838711] Freed by task 0: [ 31.841699] (stack is not available) [ 31.845380] [ 31.846980] The buggy address belongs to the object at ffff8801d2f215c0 [ 31.846980] which belongs to the cache kmalloc-32 of size 32 [ 31.859431] The buggy address is located 16 bytes inside of [ 31.859431] 32-byte region [ffff8801d2f215c0, ffff8801d2f215e0) [ 31.871112] The buggy address belongs to the page: [ 31.876023] page:ffffea00074bc840 count:1 mapcount:0 mapping:ffff8801d2f21000 index:0xffff8801d2f21fc1 [ 31.885456] flags: 0x200000000000100(slab) [ 31.889665] raw: 0200000000000100 ffff8801d2f21000 ffff8801d2f21fc1 000000010000003f [ 31.897518] raw: ffffea00074b2860 ffffea00074b31e0 ffff8801dac001c0 0000000000000000 [ 31.905366] page dumped because: kasan: bad access detected [ 31.911045] [ 31.912647] Memory state around the buggy address: [ 31.917549] ffff8801d2f21480: fb fb fb fb fc fc fc fc 04 fc fc fc fc fc fc fc [ 31.924879] ffff8801d2f21500: 00 06 fc fc fc fc fc fc 00 00 00 fc fc fc fc fc [ 31.932208] >ffff8801d2f21580: fb fb fb fb fc fc fc fc 00 00 fc fc fc fc fc fc [ 31.939540] ^ [ 31.945479] ffff8801d2f21600: 00 00 00 00 fc fc fc fc 00 00 00 fc fc fc fc fc [ 31.952810] ffff8801d2f21680: fb fb fb fb fc fc fc fc 00 00 00 fc fc fc fc fc [ 31.960137] ================================================================== [ 31.967464] Disabling lock debugging due to kernel taint [ 31.972931] Kernel panic - not syncing: panic_on_warn set ... [ 31.972931] [ 31.980276] CPU: 0 PID: 2984 Comm: syzkaller288083 Tainted: G B 4.13.0-mm1+ #7 [ 31.988733] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 31.998056] Call Trace: [ 32.000617] dump_stack+0x194/0x257 [ 32.004213] ? arch_local_irq_restore+0x53/0x53 [ 32.008849] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.013575] ? tipc_nametbl_lookup_dst_nodes+0x4a0/0x4b0 [ 32.018992] panic+0x1e4/0x417 [ 32.022150] ? __warn+0x1d9/0x1d9 [ 32.025578] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 32.030997] kasan_end_report+0x50/0x50 [ 32.034940] kasan_report+0x137/0x340 [ 32.038706] __asan_report_load4_noabort+0x14/0x20 [ 32.043613] tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 32.048861] tipc_sendmcast+0x704/0xe30 [ 32.052808] ? tipc_release+0xfd0/0xfd0 [ 32.056751] ? unwind_get_return_address+0x61/0xa0 [ 32.061647] ? __is_insn_slot_addr+0x1fc/0x330 [ 32.066199] ? lock_downgrade+0x990/0x990 [ 32.070317] ? SyS_sendmsg+0x2d/0x50 [ 32.074003] ? lock_release+0xd70/0xd70 [ 32.077944] ? __read_once_size_nocheck.constprop.8+0x10/0x10 [ 32.083794] ? is_bpf_text_address+0x7b/0x120 [ 32.088254] ? lock_downgrade+0x990/0x990 [ 32.092370] ? show_initstate+0xb0/0xb0 [ 32.096310] ? __bfs+0xaa/0x750 [ 32.099557] ? bpf_prog_alloc+0x310/0x310 [ 32.103675] ? noop_count+0x40/0x40 [ 32.107270] __tipc_sendmsg+0xf49/0x1590 [ 32.111295] ? __tipc_sendmsg+0xf49/0x1590 [ 32.115494] ? unwind_dump+0x4c0/0x4c0 [ 32.119350] ? tipc_sendmcast+0xe30/0xe30 [ 32.123465] ? check_usage_backwards+0x20a/0x420 [ 32.128188] ? print_shortest_lock_dependencies+0x350/0x350 [ 32.133872] ? save_stack_trace+0x16/0x20 [ 32.137988] ? save_trace+0x11f/0x350 [ 32.141758] ? mark_held_locks+0xb2/0x100 [ 32.145873] ? __raw_spin_lock_init+0x1c/0x100 [ 32.150422] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 32.155401] ? __lockdep_init_map+0xe4/0x650 [ 32.159777] ? lockdep_init_map+0x3d/0x70 [ 32.163912] __tipc_sendstream+0x8eb/0xc00 [ 32.168116] ? find_held_lock+0x39/0x1d0 [ 32.172147] ? tipc_connect+0x6d0/0x6d0 [ 32.176087] ? lock_downgrade+0x990/0x990 [ 32.180210] ? check_same_owner+0x320/0x320 [ 32.184501] ? rw_copy_check_uvector+0x1ce/0x280 [ 32.189226] ? lock_acquire+0x1d5/0x580 [ 32.193165] ? tipc_sendstream+0x42/0x70 [ 32.197198] ? mark_held_locks+0xb2/0x100 [ 32.201316] ? __local_bh_enable_ip+0x9d/0x160 [ 32.205882] tipc_sendstream+0x50/0x70 [ 32.209736] ? __tipc_sendstream+0xc00/0xc00 [ 32.214114] sock_sendmsg+0xca/0x110 [ 32.217797] ___sys_sendmsg+0x75b/0x8a0 [ 32.221740] ? copy_msghdr_from_user+0x590/0x590 [ 32.226475] ? lock_downgrade+0x990/0x990 [ 32.230596] ? __fget_light+0x29d/0x390 [ 32.234537] ? fget_raw+0x20/0x20 [ 32.237964] ? handle_mm_fault+0x410/0x8d0 [ 32.242186] ? down_read_trylock+0xdb/0x170 [ 32.246475] ? __do_page_fault+0x2b8/0xb60 [ 32.250687] ? __fdget+0x18/0x20 [ 32.254026] __sys_sendmsg+0xe5/0x210 [ 32.257791] ? __sys_sendmsg+0xe5/0x210 [ 32.261733] ? SyS_shutdown+0x290/0x290 [ 32.265676] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 32.270403] ? retint_kernel+0x10/0x10 [ 32.274279] SyS_sendmsg+0x2d/0x50 [ 32.277788] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 32.282514] RIP: 0033:0x43fd59 [ 32.285674] RSP: 002b:00007ffc62e32158 EFLAGS: 00000203 ORIG_RAX: 000000000000002e [ 32.293345] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd59 [ 32.300580] RDX: 0000000000004000 RSI: 00000000201ff000 RDI: 0000000000000003 [ 32.307816] RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 [ 32.315054] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016c0 [ 32.322288] R13: 0000000000401750 R14: 0000000000000000 R15: 0000000000000000 [ 32.329936] Dumping ftrace buffer: [ 32.333443] (ftrace buffer empty) [ 32.337122] Kernel Offset: disabled [ 32.340727] Rebooting in 86400 seconds..