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-6,10.128.0.44' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 56.697165] ================================================================== [ 56.704560] BUG: KASAN: slab-out-of-bounds in tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 56.712675] Read of size 4 at addr ffff8801d2830d10 by task syzkaller229506/2980 [ 56.720175] [ 56.721778] CPU: 1 PID: 2980 Comm: syzkaller229506 Not tainted 4.13.0-mm1+ #7 [ 56.729023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 56.738349] Call Trace: [ 56.740908] dump_stack+0x194/0x257 [ 56.744512] ? arch_local_irq_restore+0x53/0x53 [ 56.749153] ? show_regs_print_info+0x65/0x65 [ 56.753625] ? lock_release+0xd70/0xd70 [ 56.757569] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 56.762992] print_address_description+0x73/0x250 [ 56.767812] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 56.773234] kasan_report+0x24e/0x340 [ 56.777009] __asan_report_load4_noabort+0x14/0x20 [ 56.781908] tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 56.787165] tipc_sendmcast+0x704/0xe30 [ 56.791111] ? unwind_dump+0x4c0/0x4c0 [ 56.794980] ? tipc_release+0xfd0/0xfd0 [ 56.798927] ? unwind_get_return_address+0x61/0xa0 [ 56.803834] ? __is_insn_slot_addr+0x1fc/0x330 [ 56.808388] ? lock_downgrade+0x990/0x990 [ 56.812525] ? __sys_sendmsg+0xe5/0x210 [ 56.816481] ? lock_release+0xd70/0xd70 [ 56.820425] ? __read_once_size_nocheck.constprop.8+0x10/0x10 [ 56.826280] ? is_bpf_text_address+0x7b/0x120 [ 56.830744] ? lock_downgrade+0x990/0x990 [ 56.834862] ? show_initstate+0xb0/0xb0 [ 56.838808] ? __bfs+0xaa/0x750 [ 56.842067] ? noop_count+0x40/0x40 [ 56.845679] __tipc_sendmsg+0xf49/0x1590 [ 56.849710] ? __tipc_sendmsg+0xf49/0x1590 [ 56.853914] ? unwind_dump+0x4c0/0x4c0 [ 56.857785] ? tipc_sendmcast+0xe30/0xe30 [ 56.861905] ? is_bpf_text_address+0xa4/0x120 [ 56.866377] ? check_usage_backwards+0x20a/0x420 [ 56.871106] ? print_shortest_lock_dependencies+0x350/0x350 [ 56.876797] ? save_stack_trace+0x16/0x20 [ 56.880917] ? save_trace+0x11f/0x350 [ 56.884696] ? mark_held_locks+0xb2/0x100 [ 56.888816] ? __raw_spin_lock_init+0x1c/0x100 [ 56.893370] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 56.898358] ? __lockdep_init_map+0xe4/0x650 [ 56.902741] ? lockdep_init_map+0x3d/0x70 [ 56.906867] __tipc_sendstream+0x8eb/0xc00 [ 56.911077] ? find_held_lock+0x39/0x1d0 [ 56.915115] ? tipc_connect+0x6d0/0x6d0 [ 56.919067] ? lock_downgrade+0x990/0x990 [ 56.923194] ? lock_acquire+0x1d5/0x580 [ 56.927136] ? tipc_sendstream+0x42/0x70 [ 56.931179] ? mark_held_locks+0xb2/0x100 [ 56.935310] ? __local_bh_enable_ip+0x9d/0x160 [ 56.939869] tipc_sendstream+0x50/0x70 [ 56.943729] tipc_send_packet+0x33/0x50 [ 56.947675] ? tipc_sendstream+0x70/0x70 [ 56.951709] sock_sendmsg+0xca/0x110 [ 56.955403] ___sys_sendmsg+0x75b/0x8a0 [ 56.959353] ? copy_msghdr_from_user+0x590/0x590 [ 56.964085] ? startup_64+0x10/0x30 [ 56.967692] ? __fget_light+0x29d/0x390 [ 56.971638] ? fget_raw+0x20/0x20 [ 56.975070] ? handle_mm_fault+0x410/0x8d0 [ 56.979274] ? down_read_trylock+0xdb/0x170 [ 56.983566] ? __do_page_fault+0x2b8/0xb60 [ 56.987786] ? __fdget+0x18/0x20 [ 56.991128] __sys_sendmsg+0xe5/0x210 [ 56.994897] ? __sys_sendmsg+0xe5/0x210 [ 56.998845] ? SyS_shutdown+0x290/0x290 [ 57.002793] ? __do_page_fault+0xb60/0xb60 [ 57.007002] ? fd_install+0x4d/0x60 [ 57.010612] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 57.015604] SyS_sendmsg+0x2d/0x50 [ 57.019116] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 57.023844] RIP: 0033:0x43fd79 [ 57.027005] RSP: 002b:00007ffe42c1cb68 EFLAGS: 00000203 ORIG_RAX: 000000000000002e [ 57.034687] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd79 [ 57.041927] RDX: 0000000000000004 RSI: 00000000207ca000 RDI: 0000000000000003 [ 57.049166] RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 [ 57.056406] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016e0 [ 57.063648] R13: 0000000000401770 R14: 0000000000000000 R15: 0000000000000000 [ 57.070905] [ 57.072504] Allocated by task 1: [ 57.075840] save_stack_trace+0x16/0x20 [ 57.079782] save_stack+0x43/0xd0 [ 57.083202] kasan_kmalloc+0xad/0xe0 [ 57.086883] kmem_cache_alloc_trace+0x136/0x750 [ 57.091521] tipc_nameseq_create+0xe8/0x540 [ 57.095808] tipc_nametbl_insert_publ+0xf77/0x17c0 [ 57.100702] tipc_nametbl_publish+0x2aa/0x4f0 [ 57.105163] tipc_bind+0x33a/0x700 [ 57.108670] kernel_bind+0x62/0x80 [ 57.112176] tipc_server_start+0x3a1/0xb60 [ 57.116384] tipc_topsrv_start+0x64f/0x890 [ 57.120586] tipc_init_net+0x3cc/0x570 [ 57.124448] ops_init+0x10a/0x570 [ 57.127866] register_pernet_operations+0x45e/0x980 [ 57.132854] register_pernet_subsys+0x2a/0x40 [ 57.137319] tipc_init+0x83/0x104 [ 57.140742] do_one_initcall+0x9e/0x330 [ 57.144688] kernel_init_freeable+0x469/0x521 [ 57.149151] kernel_init+0x13/0x172 [ 57.152754] ret_from_fork+0x2a/0x40 [ 57.156435] [ 57.158029] Freed by task 0: [ 57.161015] (stack is not available) [ 57.164692] [ 57.166289] The buggy address belongs to the object at ffff8801d2830d00 [ 57.166289] which belongs to the cache kmalloc-32 of size 32 [ 57.178743] The buggy address is located 16 bytes inside of [ 57.178743] 32-byte region [ffff8801d2830d00, ffff8801d2830d20) [ 57.190418] The buggy address belongs to the page: [ 57.195323] page:ffffea00074a0c00 count:1 mapcount:0 mapping:ffff8801d2830000 index:0xffff8801d2830fc1 [ 57.204741] flags: 0x200000000000100(slab) [ 57.208948] raw: 0200000000000100 ffff8801d2830000 ffff8801d2830fc1 000000010000003a [ 57.216807] raw: ffffea00074b7ba0 ffffea00074ce7a0 ffff8801dac001c0 0000000000000000 [ 57.224654] page dumped because: kasan: bad access detected [ 57.230335] [ 57.231929] Memory state around the buggy address: [ 57.236826] ffff8801d2830c00: 04 fc fc fc fc fc fc fc 00 06 fc fc fc fc fc fc [ 57.244155] ffff8801d2830c80: 00 00 00 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 57.251484] >ffff8801d2830d00: 00 00 fc fc fc fc fc fc 00 00 00 00 fc fc fc fc [ 57.258808] ^ [ 57.262665] ffff8801d2830d80: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 57.269999] ffff8801d2830e00: 00 00 00 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 57.277329] ================================================================== [ 57.284655] Disabling lock debugging due to kernel taint [ 57.290108] Kernel panic - not syncing: panic_on_warn set ... [ 57.290108] [ 57.297446] CPU: 1 PID: 2980 Comm: syzkaller229506 Tainted: G B 4.13.0-mm1+ #7 [ 57.305898] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.315216] Call Trace: [ 57.317772] dump_stack+0x194/0x257 [ 57.321365] ? arch_local_irq_restore+0x53/0x53 [ 57.326001] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 57.330721] ? tipc_nametbl_lookup_dst_nodes+0x4a0/0x4b0 [ 57.336145] panic+0x1e4/0x417 [ 57.339301] ? __warn+0x1d9/0x1d9 [ 57.342725] ? tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 57.348140] kasan_end_report+0x50/0x50 [ 57.352083] kasan_report+0x137/0x340 [ 57.355850] __asan_report_load4_noabort+0x14/0x20 [ 57.360745] tipc_nametbl_lookup_dst_nodes+0x4a3/0x4b0 [ 57.365990] tipc_sendmcast+0x704/0xe30 [ 57.369927] ? unwind_dump+0x4c0/0x4c0 [ 57.373783] ? tipc_release+0xfd0/0xfd0 [ 57.377721] ? unwind_get_return_address+0x61/0xa0 [ 57.382616] ? __is_insn_slot_addr+0x1fc/0x330 [ 57.387163] ? lock_downgrade+0x990/0x990 [ 57.391292] ? __sys_sendmsg+0xe5/0x210 [ 57.395241] ? lock_release+0xd70/0xd70 [ 57.399180] ? __read_once_size_nocheck.constprop.8+0x10/0x10 [ 57.405033] ? is_bpf_text_address+0x7b/0x120 [ 57.409491] ? lock_downgrade+0x990/0x990 [ 57.413604] ? show_initstate+0xb0/0xb0 [ 57.417545] ? __bfs+0xaa/0x750 [ 57.420790] ? noop_count+0x40/0x40 [ 57.424384] __tipc_sendmsg+0xf49/0x1590 [ 57.428409] ? __tipc_sendmsg+0xf49/0x1590 [ 57.432611] ? unwind_dump+0x4c0/0x4c0 [ 57.436467] ? tipc_sendmcast+0xe30/0xe30 [ 57.440581] ? is_bpf_text_address+0xa4/0x120 [ 57.445049] ? check_usage_backwards+0x20a/0x420 [ 57.449771] ? print_shortest_lock_dependencies+0x350/0x350 [ 57.455464] ? save_stack_trace+0x16/0x20 [ 57.459583] ? save_trace+0x11f/0x350 [ 57.463351] ? mark_held_locks+0xb2/0x100 [ 57.467461] ? __raw_spin_lock_init+0x1c/0x100 [ 57.472015] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 57.476996] ? __lockdep_init_map+0xe4/0x650 [ 57.481378] ? lockdep_init_map+0x3d/0x70 [ 57.485493] __tipc_sendstream+0x8eb/0xc00 [ 57.489696] ? find_held_lock+0x39/0x1d0 [ 57.493726] ? tipc_connect+0x6d0/0x6d0 [ 57.497664] ? lock_downgrade+0x990/0x990 [ 57.501779] ? lock_acquire+0x1d5/0x580 [ 57.505716] ? tipc_sendstream+0x42/0x70 [ 57.509748] ? mark_held_locks+0xb2/0x100 [ 57.513867] ? __local_bh_enable_ip+0x9d/0x160 [ 57.518420] tipc_sendstream+0x50/0x70 [ 57.522280] tipc_send_packet+0x33/0x50 [ 57.526217] ? tipc_sendstream+0x70/0x70 [ 57.530242] sock_sendmsg+0xca/0x110 [ 57.533922] ___sys_sendmsg+0x75b/0x8a0 [ 57.537862] ? copy_msghdr_from_user+0x590/0x590 [ 57.542593] ? startup_64+0x10/0x30 [ 57.546189] ? __fget_light+0x29d/0x390 [ 57.550129] ? fget_raw+0x20/0x20 [ 57.553550] ? handle_mm_fault+0x410/0x8d0 [ 57.557750] ? down_read_trylock+0xdb/0x170 [ 57.562043] ? __do_page_fault+0x2b8/0xb60 [ 57.566250] ? __fdget+0x18/0x20 [ 57.569587] __sys_sendmsg+0xe5/0x210 [ 57.573361] ? __sys_sendmsg+0xe5/0x210 [ 57.577303] ? SyS_shutdown+0x290/0x290 [ 57.581242] ? __do_page_fault+0xb60/0xb60 [ 57.585442] ? fd_install+0x4d/0x60 [ 57.589048] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 57.594032] SyS_sendmsg+0x2d/0x50 [ 57.597539] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 57.602260] RIP: 0033:0x43fd79 [ 57.605416] RSP: 002b:00007ffe42c1cb68 EFLAGS: 00000203 ORIG_RAX: 000000000000002e [ 57.613087] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fd79 [ 57.620322] RDX: 0000000000000004 RSI: 00000000207ca000 RDI: 0000000000000003 [ 57.627566] RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 [ 57.634817] R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016e0 [ 57.642054] R13: 0000000000401770 R14: 0000000000000000 R15: 0000000000000000 [ 57.649332] Dumping ftrace buffer: [ 57.652842] (ftrace buffer empty) [ 57.656522] Kernel Offset: disabled [ 57.660115] Rebooting in 86400 seconds..