[....] Starting enhanced syslogd: rsyslogd[ 12.518848] audit: type=1400 audit(1515779193.198:5): avc: denied { syslog } for pid=3349 comm="rsyslogd" capability=34 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1 [?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 18.301370] audit: type=1400 audit(1515779198.981:6): avc: denied { map } for pid=3489 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.0.33' (ECDSA) to the list of known hosts. executing program [ 24.496828] audit: type=1400 audit(1515779205.176:7): avc: denied { map } for pid=3503 comm="syzkaller820436" path="/root/syzkaller820436930" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 24.500278] ================================================================== [ 24.500294] BUG: KASAN: use-after-free in rb_first_postorder+0x7c/0xa0 [ 24.500298] Read of size 8 at addr ffff8801d918e540 by task syzkaller820436/3503 [ 24.500299] [ 24.500304] CPU: 0 PID: 3503 Comm: syzkaller820436 Not tainted 4.15.0-rc7+ #185 [ 24.500307] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.500309] Call Trace: [ 24.500315] dump_stack+0x194/0x257 [ 24.500323] ? arch_local_irq_restore+0x53/0x53 [ 24.500330] ? show_regs_print_info+0x18/0x18 [ 24.500340] ? mark_held_locks+0xaf/0x100 [ 24.500345] ? rb_first_postorder+0x7c/0xa0 [ 24.500353] print_address_description+0x73/0x250 [ 24.500358] ? rb_first_postorder+0x7c/0xa0 [ 24.500364] kasan_report+0x25b/0x340 [ 24.500373] __asan_report_load8_noabort+0x14/0x20 [ 24.500378] rb_first_postorder+0x7c/0xa0 [ 24.500385] tipc_group_join+0x120/0x2d0 [ 24.500393] ? tipc_group_update_member+0x740/0x740 [ 24.500396] ? tipc_sk_publish+0x388/0x4b0 [ 24.500410] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.500421] tipc_setsockopt+0x67e/0xcc0 [ 24.500429] ? tipc_sk_leave+0x200/0x200 [ 24.500446] ? security_socket_setsockopt+0x89/0xb0 [ 24.500457] SyS_setsockopt+0x189/0x360 [ 24.500466] ? SyS_recv+0x40/0x40 [ 24.500473] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 24.500480] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.500489] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.500500] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.500504] RIP: 0033:0x43fcb9 [ 24.500506] RSP: 002b:00007ffcdf912398 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.500511] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.500514] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.500516] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.500519] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.500521] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.500538] [ 24.500540] Allocated by task 3503: [ 24.500545] save_stack+0x43/0xd0 [ 24.500548] kasan_kmalloc+0xad/0xe0 [ 24.500552] kmem_cache_alloc_trace+0x136/0x750 [ 24.500555] tipc_group_create+0x144/0x900 [ 24.500558] tipc_setsockopt+0x274/0xcc0 [ 24.500561] SyS_setsockopt+0x189/0x360 [ 24.500565] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.500566] [ 24.500568] Freed by task 3503: [ 24.500571] save_stack+0x43/0xd0 [ 24.500574] kasan_slab_free+0x71/0xc0 [ 24.500577] kfree+0xd6/0x260 [ 24.500580] tipc_group_delete+0x2c8/0x3d0 [ 24.500583] tipc_setsockopt+0xba3/0xcc0 [ 24.500587] SyS_setsockopt+0x189/0x360 [ 24.500590] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.500592] [ 24.500595] The buggy address belongs to the object at ffff8801d918e540 [ 24.500595] which belongs to the cache kmalloc-128 of size 128 [ 24.500598] The buggy address is located 0 bytes inside of [ 24.500598] 128-byte region [ffff8801d918e540, ffff8801d918e5c0) [ 24.500599] The buggy address belongs to the page: [ 24.500603] page:ffffea0007646380 count:1 mapcount:0 mapping:ffff8801d918e000 index:0x0 [ 24.500608] flags: 0x2fffc0000000100(slab) [ 24.500614] raw: 02fffc0000000100 ffff8801d918e000 0000000000000000 0000000100000015 [ 24.500618] raw: ffffea00076462e0 ffffea0007641a20 ffff8801dac00640 0000000000000000 [ 24.500620] page dumped because: kasan: bad access detected [ 24.500622] [ 24.500623] Memory state around the buggy address: [ 24.500626] ffff8801d918e400: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 24.500629] ffff8801d918e480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.500632] >ffff8801d918e500: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 24.500634] ^ [ 24.500637] ffff8801d918e580: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 24.500640] ffff8801d918e600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 24.500641] ================================================================== [ 24.500643] Disabling lock debugging due to kernel taint [ 24.500645] Kernel panic - not syncing: panic_on_warn set ... [ 24.500645] [ 24.500649] CPU: 0 PID: 3503 Comm: syzkaller820436 Tainted: G B 4.15.0-rc7+ #185 [ 24.500651] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 24.500652] Call Trace: [ 24.500656] dump_stack+0x194/0x257 [ 24.500662] ? arch_local_irq_restore+0x53/0x53 [ 24.500665] ? kasan_end_report+0x32/0x50 [ 24.500675] ? lock_downgrade+0x980/0x980 [ 24.500679] ? vsnprintf+0x1ed/0x1900 [ 24.500684] ? rb_next_postorder+0x110/0x140 [ 24.500690] panic+0x1e4/0x41c [ 24.500694] ? refcount_error_report+0x214/0x214 [ 24.500700] ? add_taint+0x40/0x50 [ 24.500703] ? add_taint+0x1c/0x50 [ 24.500709] ? rb_first_postorder+0x7c/0xa0 [ 24.500713] kasan_end_report+0x50/0x50 [ 24.500717] kasan_report+0x144/0x340 [ 24.500724] __asan_report_load8_noabort+0x14/0x20 [ 24.500728] rb_first_postorder+0x7c/0xa0 [ 24.500732] tipc_group_join+0x120/0x2d0 [ 24.500738] ? tipc_group_update_member+0x740/0x740 [ 24.500740] ? tipc_sk_publish+0x388/0x4b0 [ 24.500749] ? tipc_nametbl_build_group+0x2a0/0x3a0 [ 24.500755] tipc_setsockopt+0x67e/0xcc0 [ 24.500761] ? tipc_sk_leave+0x200/0x200 [ 24.500770] ? security_socket_setsockopt+0x89/0xb0 [ 24.500776] SyS_setsockopt+0x189/0x360 [ 24.500783] ? SyS_recv+0x40/0x40 [ 24.500787] ? entry_SYSCALL_64_fastpath+0x5/0x9a [ 24.500792] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 24.500797] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 24.500804] entry_SYSCALL_64_fastpath+0x23/0x9a [ 24.500807] RIP: 0033:0x43fcb9 [ 24.500809] RSP: 002b:00007ffcdf912398 EFLAGS: 00000213 ORIG_RAX: 0000000000000036 [ 24.500812] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcb9 [ 24.500814] RDX: 0000000000000087 RSI: 000000000000010f RDI: 0000000000000003 [ 24.500817] RBP: 00000000006ca018 R08: 0000000000000010 R09: 0000000000401620 [ 24.500819] R10: 0000000020265000 R11: 0000000000000213 R12: 0000000000401620 [ 24.500821] R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000 [ 24.522704] Dumping ftrace buffer: [ 24.522707] (ftrace buffer empty) [ 24.522709] Kernel Offset: disabled [ 25.108772] Rebooting in 86400 seconds..