[....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [ 35.937241] audit: type=1800 audit(1544119539.743:33): pid=6091 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 35.958866] audit: type=1800 audit(1544119539.743:34): pid=6091 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 39.885873] audit: type=1400 audit(1544119543.693:35): avc: denied { map } for pid=6266 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.10.59' (ECDSA) to the list of known hosts. executing program [ 46.511966] audit: type=1400 audit(1544119550.313:36): avc: denied { map } for pid=6279 comm="syz-executor699" path="/root/syz-executor699320930" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 46.516798] WARNING: CPU: 1 PID: 6279 at mm/mempolicy.c:1745 alloc_pages_vma+0x1bd/0x4a0 [ 46.546577] Kernel panic - not syncing: panic_on_warn set ... [ 46.552461] CPU: 1 PID: 6279 Comm: syz-executor699 Not tainted 4.20.0-rc5+ #144 [ 46.559903] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 46.569236] Call Trace: [ 46.571808] dump_stack+0x244/0x39d [ 46.575464] ? dump_stack_print_info.cold.1+0x20/0x20 [ 46.580643] panic+0x2ad/0x55c [ 46.583818] ? add_taint.cold.5+0x16/0x16 [ 46.587960] ? __warn.cold.8+0x5/0x45 [ 46.591742] ? __warn+0xe8/0x1d0 [ 46.595092] ? alloc_pages_vma+0x1bd/0x4a0 [ 46.599307] __warn.cold.8+0x20/0x45 [ 46.603004] ? rcu_softirq_qs+0x20/0x20 [ 46.606963] ? alloc_pages_vma+0x1bd/0x4a0 [ 46.611197] report_bug+0x254/0x2d0 [ 46.614828] do_error_trap+0x11b/0x200 [ 46.618710] do_invalid_op+0x36/0x40 [ 46.622405] ? alloc_pages_vma+0x1bd/0x4a0 [ 46.626623] invalid_op+0x14/0x20 [ 46.630075] RIP: 0010:alloc_pages_vma+0x1bd/0x4a0 [ 46.634931] Code: 5f 5d c3 e8 35 2f bf ff 45 89 ec 31 ff 41 81 e4 00 00 04 00 44 89 e6 e8 31 30 bf ff 45 85 e4 0f 84 50 ff ff ff e8 13 2f bf ff <0f> 0b e9 44 ff ff ff e8 07 2f bf ff e8 22 5e ff ff 48 89 c3 e9 6b [ 46.653832] RSP: 0018:ffff8881c29fedd8 EFLAGS: 00010293 [ 46.659184] RAX: ffff8881cb84c6c0 RBX: ffff8881da96f280 RCX: ffffffff81c06c9f [ 46.666436] RDX: 0000000000000000 RSI: ffffffff81c06cad RDI: 0000000000000005 [ 46.673705] RBP: ffff8881c29fee18 R08: ffff8881cb84c6c0 R09: ffffed103b5e5b5f [ 46.680956] R10: 0000000000000002 R11: ffff8881daf2dafb R12: 0000000000040000 [ 46.688207] R13: 00000000000742ca R14: ffff8881da96f288 R15: 0000000000000002 [ 46.695468] ? alloc_pages_vma+0x1af/0x4a0 [ 46.699701] ? alloc_pages_vma+0x1bd/0x4a0 [ 46.703951] ? alloc_pages_vma+0x1bd/0x4a0 [ 46.708180] do_huge_pmd_anonymous_page+0x59e/0x2030 [ 46.713267] ? print_usage_bug+0xc0/0xc0 [ 46.717309] ? print_usage_bug+0xc0/0xc0 [ 46.721354] ? __thp_get_unmapped_area+0x180/0x180 [ 46.726272] ? __lock_acquire+0x62f/0x4c20 [ 46.730488] ? print_usage_bug+0xc0/0xc0 [ 46.734542] ? print_usage_bug+0xc0/0xc0 [ 46.738590] ? print_usage_bug+0xc0/0xc0 [ 46.742686] ? __lock_acquire+0x62f/0x4c20 [ 46.746922] ? __lock_acquire+0x62f/0x4c20 [ 46.751141] ? print_usage_bug+0xc0/0xc0 [ 46.755185] ? print_usage_bug+0xc0/0xc0 [ 46.759235] ? mark_held_locks+0x130/0x130 [ 46.763471] ? mark_held_locks+0x130/0x130 [ 46.767687] ? print_usage_bug+0xc0/0xc0 [ 46.771748] ? __lock_acquire+0x62f/0x4c20 [ 46.775974] __handle_mm_fault+0x3c91/0x5be0 [ 46.780371] ? vmf_insert_mixed_mkwrite+0x40/0x40 [ 46.785245] ? mark_held_locks+0x130/0x130 [ 46.789463] ? print_usage_bug+0xc0/0xc0 [ 46.793507] ? print_usage_bug+0xc0/0xc0 [ 46.797555] ? zap_class+0x640/0x640 [ 46.801252] ? zap_class+0x640/0x640 [ 46.804956] ? find_held_lock+0x36/0x1c0 [ 46.809005] ? handle_mm_fault+0x42a/0xc70 [ 46.813224] ? lock_downgrade+0x900/0x900 [ 46.817363] ? check_preemption_disabled+0x48/0x280 [ 46.822371] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 46.827286] ? kasan_check_read+0x11/0x20 [ 46.831440] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 46.836701] ? rcu_softirq_qs+0x20/0x20 [ 46.840657] ? trace_hardirqs_off_caller+0x310/0x310 [ 46.845744] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 46.851280] ? check_preemption_disabled+0x48/0x280 [ 46.856283] handle_mm_fault+0x54f/0xc70 [ 46.860328] ? __handle_mm_fault+0x5be0/0x5be0 [ 46.864895] ? find_vma+0x34/0x190 [ 46.868421] __do_page_fault+0x5e8/0xe60 [ 46.872460] ? rcu_softirq_qs+0x20/0x20 [ 46.876422] do_page_fault+0xf2/0x7e0 [ 46.880205] ? vmalloc_sync_all+0x30/0x30 [ 46.884337] ? error_entry+0x76/0xd0 [ 46.888038] ? trace_hardirqs_off_caller+0xbb/0x310 [ 46.893042] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.899432] ? trace_hardirqs_on_caller+0x310/0x310 [ 46.904438] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.909267] page_fault+0x1e/0x30 [ 46.912699] RIP: 0010:copy_user_generic_unrolled+0xa0/0xc0 [ 46.918307] Code: 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 4c 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a 06 <88> 07 48 ff c6 48 ff c7 ff c9 75 f2 31 c0 0f 1f 00 c3 0f 1f 40 00 [ 46.937189] RSP: 0018:ffff8881c29ff818 EFLAGS: 00010202 [ 46.942531] RAX: 000000000000004b RBX: 0000000000000004 RCX: 0000000000000004 [ 46.949784] RDX: 0000000000000004 RSI: ffff8881c29ff8f0 RDI: 0000000020d11000 [ 46.957065] RBP: ffff8881c29ff850 R08: ffffed103853ff1f R09: ffffed103853ff1e [ 46.964316] R10: ffffed103853ff1e R11: 0000000000000003 R12: 0000000020d11004 [ 46.971563] R13: 0000000020d11000 R14: ffff8881c29ff8f0 R15: 00007ffffffff000 [ 46.978824] ? _copy_to_user+0xf6/0x110 [ 46.982788] do_tcp_getsockopt.isra.43+0x2d5/0x3da0 [ 46.987787] ? find_held_lock+0x36/0x1c0 [ 46.991841] ? tcp_ioctl+0x740/0x740 [ 46.995556] ? lock_downgrade+0x900/0x900 [ 46.999688] ? rcu_read_unlock_special+0x1c0/0x1c0 [ 47.004643] ? kasan_check_read+0x11/0x20 [ 47.008774] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 47.014048] ? rcu_softirq_qs+0x20/0x20 [ 47.018003] ? zap_class+0x640/0x640 [ 47.021699] ? psi_task_change.cold.11+0x1ac/0x1ac [ 47.026613] ? rcu_read_lock_sched_held+0x14f/0x180 [ 47.031613] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 47.037179] ? avc_has_perm+0x55f/0x7e0 [ 47.041143] ? avc_has_perm_noaudit+0x630/0x630 [ 47.045826] ? __fd_install+0x2b5/0x8f0 [ 47.049790] ? lock_downgrade+0x900/0x900 [ 47.053935] ? check_preemption_disabled+0x48/0x280 [ 47.059014] ? kasan_check_read+0x11/0x20 [ 47.063143] ? rcu_dynticks_curr_cpu_in_eqs+0xa2/0x170 [ 47.068418] ? rcu_softirq_qs+0x20/0x20 [ 47.072380] ? sock_has_perm+0x2bc/0x3e0 [ 47.076424] ? selinux_secmark_relabel_packet+0xe0/0xe0 [ 47.081772] ? get_unused_fd_flags+0x1a0/0x1a0 [ 47.086406] tcp_getsockopt+0xc1/0xe0 [ 47.090189] ? tcp_getsockopt+0xc1/0xe0 [ 47.094151] sock_common_getsockopt+0x9a/0xe0 [ 47.098632] __sys_getsockopt+0x1ad/0x390 [ 47.102762] ? kernel_setsockopt+0x1d0/0x1d0 [ 47.107155] ? lockdep_hardirqs_on+0x3bb/0x5b0 [ 47.111720] ? trace_hardirqs_on+0xbd/0x310 [ 47.116029] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.121378] ? trace_hardirqs_off_caller+0x310/0x310 [ 47.126467] __x64_sys_getsockopt+0xbe/0x150 [ 47.130866] do_syscall_64+0x1b9/0x820 [ 47.134753] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 47.140108] ? syscall_return_slowpath+0x5e0/0x5e0 [ 47.145035] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.149869] ? trace_hardirqs_on_caller+0x310/0x310 [ 47.154893] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 47.159896] ? prepare_exit_to_usermode+0x291/0x3b0 [ 47.164918] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 47.169751] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 47.174938] RIP: 0033:0x440029 [ 47.178117] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 47.197002] RSP: 002b:00007ffd047cbe08 EFLAGS: 00000213 ORIG_RAX: 0000000000000037 [ 47.204707] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440029 [ 47.211960] RDX: 0000000000000005 RSI: 0000000000000006 RDI: 0000000000000003 [ 47.219227] RBP: 00000000006ca018 R08: 0000000020000000 R09: 00000000004002c8 [ 47.226499] R10: 0000000020d11000 R11: 0000000000000213 R12: 00000000004018b0 [ 47.233766] R13: 0000000000401940 R14: 0000000000000000 R15: 0000000000000000 [ 47.242181] Kernel Offset: disabled [ 47.245873] Rebooting in 86400 seconds..