1965969 pages RAM 0 pages HighMem/MovableOnly 340002 pages reserved ------------[ cut here ]------------ heap->ops->map_kernel should return ERR_PTR on error WARNING: CPU: 1 PID: 13728 at drivers/staging/android/ion/ion.c:148 ion_buffer_kmap_get drivers/staging/android/ion/ion.c:147 [inline] WARNING: CPU: 1 PID: 13728 at drivers/staging/android/ion/ion.c:148 ion_dma_buf_begin_cpu_access+0x48e/0x5a0 drivers/staging/android/ion/ion.c:328 FAT-fs (loop2): Directory bread(block 135) failed Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 13728 Comm: syz-executor7 Not tainted 4.17.0+ #95 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 panic+0x22f/0x4de kernel/panic.c:184 FAT-fs (loop2): Directory bread(block 136) failed __warn.cold.8+0x163/0x1b3 kernel/panic.c:536 report_bug+0x252/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296 XFS (loop5): Invalid superblock magic number do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 RIP: 0010:ion_buffer_kmap_get drivers/staging/android/ion/ion.c:147 [inline] RIP: 0010:ion_dma_buf_begin_cpu_access+0x48e/0x5a0 drivers/staging/android/ion/ion.c:328 Code: ff 41 bc ea ff ff ff 89 de e8 4e 5f ba fb 84 db 75 a8 e8 75 5e ba fb 48 c7 c7 00 09 68 88 c6 05 1d 47 d9 03 01 e8 f2 78 86 fb <0f> 0b eb 8c 48 c7 c7 40 09 ef 88 e8 b2 84 f7 fb e9 15 ff ff ff e8 RSP: 0018:ffff8801a7bd7b08 EFLAGS: 00010286 RAX: 0000000000000034 RBX: 0000000000000000 RCX: ffffc9000329e000 RDX: 0000000000040000 RSI: ffffffff8161f321 RDI: 0000000000000001 RBP: ffff8801a7bd7b60 R08: ffff8801af438440 R09: ffffed003b5e3ec2 R10: ffffed003b5e3ec2 R11: ffff8801daf1f617 R12: 00000000ffffffea R13: ffff8801c3c688c8 R14: 0000000000000001 R15: ffffffff897255c0 dma_buf_begin_cpu_access+0x7f/0x160 drivers/dma-buf/dma-buf.c:823 dma_buf_ioctl+0x1aa/0x240 drivers/dma-buf/dma-buf.c:314 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1cf/0x16f0 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4559f9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fd634660c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd6346616d4 RCX: 00000000004559f9 RDX: 00000000200000c0 RSI: 0000000040086200 RDI: 0000000000000015 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000016 R13: 00000000004bca98 R14: 00000000004ca6d0 R15: 0000000000000000 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..