RBP: 00007fe22e374ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00007fff6cf3232f R14: 00007fe22e3759c0 R15: 000000000118cfec kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11733 Comm: syz-executor.4 Not tainted 5.4.63-syzkaller-01128-g0ef1db7b69dd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dma_buf_release+0x44/0x2f0 drivers/dma-buf/dma-buf.c:63 Code: fe 48 83 c3 78 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 bb 00 0b ff 4c 8b 23 49 8d 5c 24 48 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 34 02 00 00 8b 1b 31 ff 89 de e8 25 50 dd RSP: 0018:ffff88816ba3f800 EFLAGS: 00010206 RAX: 0000000000000009 RBX: 0000000000000048 RCX: 0000000000040000 RDX: ffffc90005cff000 RSI: 00000000000388a0 RDI: 00000000000388a1 RBP: dffffc0000000000 R08: ffffffff817a27cf R09: 0000000000000003 R10: ffffed102d747ee9 R11: 0000000000000004 R12: 0000000000000000 R13: dffffc0000000000 R14: 1ffff11031c490aa R15: 1ffff11031c490bc FS: 00007fe22e375700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000194a36006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __dentry_kill+0x41b/0x5a0 fs/dcache.c:584 dentry_kill fs/dcache.c:673 [inline] dput+0x2e1/0x5e0 fs/dcache.c:859 path_put+0x35/0x60 fs/namei.c:495 alloc_file_pseudo+0x27b/0x310 fs/file_table.c:235 dma_buf_getfile drivers/dma-buf/dma-buf.c:443 [inline] dma_buf_export+0x4e0/0x7b0 drivers/dma-buf/dma-buf.c:553 ion_dmabuf_alloc+0x199/0x230 drivers/staging/android/ion/ion_dma_buf.c:378 ion_alloc_fd drivers/staging/android/ion/ion.c:54 [inline] ion_ioctl+0x276/0x9a0 drivers/staging/android/ion/ion.c:194 do_vfs_ioctl+0x747/0x1700 fs/ioctl.c:47 ksys_ioctl fs/ioctl.c:714 [inline] __do_sys_ioctl fs/ioctl.c:721 [inline] __se_sys_ioctl fs/ioctl.c:719 [inline] __x64_sys_ioctl+0xd4/0x110 fs/ioctl.c:719 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: 5d b4 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fe22e374c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000010200 RCX: 000000000045d5b9 RDX: 0000000020000300 RSI: 00000000c0184900 RDI: 0000000000000006 RBP: 00007fe22e374ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000007 R13: 00007fff6cf3232f R14: 00007fe22e3759c0 R15: 000000000118cfec Modules linked in: ---[ end trace 848eec78c23acbe8 ]--- RIP: 0010:dma_buf_release+0x44/0x2f0 drivers/dma-buf/dma-buf.c:63 Code: fe 48 83 c3 78 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 bb 00 0b ff 4c 8b 23 49 8d 5c 24 48 48 89 d8 48 c1 e8 03 <42> 8a 04 28 84 c0 0f 85 34 02 00 00 8b 1b 31 ff 89 de e8 25 50 dd RSP: 0018:ffff88816ba3f800 EFLAGS: 00010206 RAX: 0000000000000009 RBX: 0000000000000048 RCX: 0000000000040000 RDX: ffffc90005cff000 RSI: 00000000000388a0 RDI: 00000000000388a1 RBP: dffffc0000000000 R08: ffffffff817a27cf R09: 0000000000000003 R10: ffffed102d747ee9 R11: 0000000000000004 R12: 0000000000000000 R13: dffffc0000000000 R14: 1ffff11031c490aa R15: 1ffff11031c490bc FS: 00007fe22e375700(0000) GS:ffff8881db900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001590004 CR3: 0000000194a36006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400