RBP: 00007f8044f84ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b R13: 00007fffcb43acff R14: 00007f8044f859c0 R15: 000000000078bf0c general protection fault, probably for non-canonical address 0xdffffc0000000017: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000000b8-0x00000000000000bf] CPU: 0 PID: 27994 Comm: syz-executor.4 Not tainted 5.8.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:dma_buf_release+0x51/0x3f0 drivers/dma-buf/dma-buf.c:63 Code: 03 80 3c 02 00 0f 85 30 03 00 00 48 8b ad e8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd b8 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e3 02 00 00 8b 9d b8 00 00 00 RSP: 0018:ffffc90003f3fb30 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffffffff847bfe40 RCX: ffffc90011ebd000 RDX: 0000000000000017 RSI: ffffffff847bfe50 RDI: 00000000000000b8 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88809857420b R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808ffdc550 R13: ffff88808ffdc4d8 R14: ffff88808ffdc520 R15: 0000000000000000 FS: 00007f8044f85700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051b460 CR3: 0000000099fed000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __dentry_kill+0x42b/0x640 fs/dcache.c:584 dentry_kill fs/dcache.c:705 [inline] dput+0x725/0xbc0 fs/dcache.c:878 path_put+0x2d/0x60 fs/namei.c:496 alloc_file_pseudo+0x20d/0x250 fs/file_table.c:236 dma_buf_getfile drivers/dma-buf/dma-buf.c:441 [inline] dma_buf_export+0x5f7/0xb00 drivers/dma-buf/dma-buf.c:558 ion_alloc drivers/staging/android/ion/ion.c:386 [inline] ion_ioctl+0x560/0xd20 drivers/staging/android/ion/ion.c:495 vfs_ioctl fs/ioctl.c:48 [inline] ksys_ioctl+0x11a/0x180 fs/ioctl.c:753 __do_sys_ioctl fs/ioctl.c:762 [inline] __se_sys_ioctl fs/ioctl.c:760 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:760 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cc79 Code: 2d b6 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 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8044f84c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000f400 RCX: 000000000045cc79 RDX: 0000000020000000 RSI: 00000000c0184900 RDI: 0000000000000003 RBP: 00007f8044f84ca0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000000000b R13: 00007fffcb43acff R14: 00007f8044f859c0 R15: 000000000078bf0c Modules linked in: ---[ end trace 5aaa36c146e68059 ]--- RIP: 0010:dma_buf_release+0x51/0x3f0 drivers/dma-buf/dma-buf.c:63 Code: 03 80 3c 02 00 0f 85 30 03 00 00 48 8b ad e8 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bd b8 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e e3 02 00 00 8b 9d b8 00 00 00 RSP: 0018:ffffc90003f3fb30 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffffffff847bfe40 RCX: ffffc90011ebd000 RDX: 0000000000000017 RSI: ffffffff847bfe50 RDI: 00000000000000b8 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88809857420b R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808ffdc550 R13: ffff88808ffdc4d8 R14: ffff88808ffdc520 R15: 0000000000000000 FS: 00007f8044f85700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd6f3a4c010 CR3: 0000000099fed000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400