[?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. [ 11.684568] audit: type=1400 audit(1514351737.888:6): avc: denied { map } for pid=3137 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 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added 'ci-upstream-mmots-kasan-gce-4,10.128.0.4' (ECDSA) to the list of known hosts. executing program executing program executing program syzkaller login: [ 17.861254] audit: type=1400 audit(1514351744.065:7): avc: denied { map } for pid=3151 comm="syzkaller134441" path="/root/syzkaller134441348" 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 executing program [ 17.887347] audit: type=1400 audit(1514351744.065:8): avc: denied { map } for pid=3151 comm="syzkaller134441" path="/dev/usbmon0" dev="devtmpfs" ino=1092 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:usbmon_device_t:s0 tclass=chr_file permissive=1 [ 17.924400] page:ffffea0007245440 count:0 mapcount:0 mapping: (null) index:0x0 [ 17.932668] flags: 0x2fffc0000000000() [ 17.936592] raw: 02fffc0000000000 0000000000000000 0000000000000000 00000000ffffffff [ 17.944494] raw: ffffea00072422a0 ffffea0007300920 0000000000000000 0000000000000000 [ 17.952392] page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) <= 0) [ 17.959511] ------------[ cut here ]------------ [ 17.964241] kernel BUG at ./include/linux/mm.h:844! [ 17.969273] invalid opcode: 0000 [#1] SMP KASAN [ 17.973918] Dumping ftrace buffer: [ 17.977427] (ftrace buffer empty) [ 17.981104] Modules linked in: [ 17.984269] CPU: 0 PID: 3152 Comm: syzkaller134441 Not tainted 4.15.0-rc4-mm1+ #49 [ 17.991939] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 18.001272] RIP: 0010:mon_bin_vma_fault+0x2f4/0x400 [ 18.006266] RSP: 0018:ffff8801cb48f510 EFLAGS: 00010203 [ 18.011596] RAX: 0000000000000000 RBX: 1ffff10039691ea4 RCX: 0000000000000000 [ 18.018843] RDX: 0000000000000000 RSI: 1ffff10039691dee RDI: ffffed0039691e90 [ 18.026079] RBP: ffff8801cb48f5e8 R08: 1ffff10039691db0 R09: 0000000000000000 [ 18.033332] R10: dffffc0000000000 R11: 0000000000000000 R12: 1ffff10039691ea8 [ 18.040568] R13: dffffc0000000000 R14: ffff8801cb48f840 R15: ffffea0007245440 [ 18.047805] FS: 00007f6c6ad3f700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 [ 18.055994] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 18.061843] CR2: 00000000208be000 CR3: 00000001d45f2002 CR4: 00000000001606f0 [ 18.069082] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 18.076317] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 18.083555] Call Trace: [ 18.086113] ? mon_alloc_buff+0x1a0/0x1a0 [ 18.090239] ? find_held_lock+0x35/0x1d0 [ 18.094276] __do_fault+0xeb/0x30f [ 18.097782] ? vma_gap_callbacks_rotate+0x62/0x80 [ 18.102591] ? pte_offset_kernel+0xc7/0xc7 [ 18.106802] ? print_irqtrace_events+0x270/0x270 [ 18.111528] ? rb_insert_color_cached+0x1660/0x1660 [ 18.116513] ? vma_compute_subtree_gap+0x200/0x200 [ 18.121410] ? rb_insert_color_cached+0x1660/0x1660 [ 18.126396] ? check_noncircular+0x20/0x20 [ 18.130603] __handle_mm_fault+0x1d8f/0x3ce0 [ 18.134982] ? __pmd_alloc+0x4e0/0x4e0 [ 18.138839] ? find_held_lock+0x35/0x1d0 [ 18.142872] ? handle_mm_fault+0x2a0/0x930 [ 18.147083] ? lock_downgrade+0x980/0x980 [ 18.151223] handle_mm_fault+0x38f/0x930 [ 18.155256] ? __handle_mm_fault+0x3ce0/0x3ce0 [ 18.159807] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 18.165659] ? find_vma+0x30/0x150 [ 18.169169] __get_user_pages+0x50c/0x15f0 [ 18.173376] ? follow_page_mask+0x17f0/0x17f0 [ 18.177847] ? vma_link+0xe9/0x170 [ 18.181358] ? lock_acquire+0x1d5/0x580 [ 18.185297] ? lock_acquire+0x1d5/0x580 [ 18.189242] ? __mm_populate+0x2c7/0x450 [ 18.193271] ? lock_release+0xa40/0xa40 [ 18.197211] ? trace_event_raw_event_sched_switch+0x800/0x800 [ 18.203077] ? rcu_note_context_switch+0x710/0x710 [ 18.207990] populate_vma_page_range+0x20e/0x2f0 [ 18.212718] ? get_user_pages_unlocked+0x4f0/0x4f0 [ 18.217611] ? vmacache_find+0x5f/0x280 [ 18.221551] ? vmacache_update+0xfe/0x130 [ 18.225666] ? find_vma+0x30/0x150 [ 18.229173] __mm_populate+0x23a/0x450 [ 18.233037] ? populate_vma_page_range+0x2f0/0x2f0 [ 18.237933] ? down_read_killable+0x180/0x180 [ 18.242395] ? security_mmap_file+0x143/0x180 [ 18.246873] vm_mmap_pgoff+0x241/0x280 [ 18.250729] ? vma_is_stack_for_current+0xa0/0xa0 [ 18.255539] ? putname+0xee/0x130 [ 18.258959] ? rcu_read_lock_sched_held+0x108/0x120 [ 18.263941] ? kmem_cache_free+0x267/0x2a0 [ 18.268146] SyS_mmap_pgoff+0x462/0x5f0 [ 18.272088] ? find_mergeable_anon_vma+0xd0/0xd0 [ 18.276809] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 18.281793] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 18.286517] SyS_mmap+0x16/0x20 [ 18.289763] entry_SYSCALL_64_fastpath+0x1f/0x96 [ 18.294491] RIP: 0033:0x4493c9 [ 18.297648] RSP: 002b:00007f6c6ad3ed98 EFLAGS: 00000212 ORIG_RAX: 0000000000000009 [ 18.305328] RAX: ffffffffffffffda RBX: 00000000006dac24 RCX: 00000000004493c9 [ 18.312565] RDX: 0000000001000004 RSI: 0000000000004000 RDI: 0000000020ac6000 [ 18.319803] RBP: 0000000000000000 R08: 0000000000000009 R09: 0000000000000000 [ 18.327049] R10: 0000000000008011 R11: 0000000000000212 R12: 00000000006dac20 [ 18.334288] R13: 6273752f7665642f R14: 00007f6c6ad3f9c0 R15: 0000000000000007 [ 18.341535] Code: 00 44 89 e0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 bc 02 00 00 00 eb bb e8 db e1 96 fd 48 c7 c6 80 1f d1 85 4c 89 ff e8 6c a3 c0 fd <0f> 0b 48 89 95 28 ff ff ff 48 89 85 30 ff ff ff e8 b7 e1 96 fd [ 18.360608] RIP: mon_bin_vma_fault+0x2f4/0x400 RSP: ffff8801cb48f510 [ 18.367140] ---[ end trace 53becadbe9d3cc3c ]--- [ 18.372075] Kernel panic - not syncing: Fatal exception [ 18.377866] Dumping ftrace buffer: [ 18.381375] (ftrace buffer empty) [ 18.385072] Kernel Offset: disabled [ 18.388693] Rebooting in 86400 seconds..