general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 10165 Comm: syz-executor.2 Not tainted 5.13.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:compound_head include/linux/page-flags.h:184 [inline] RIP: 0010:get_page include/linux/mm.h:1204 [inline] RIP: 0010:udmabuf_create+0x4e8/0x1260 drivers/dma-buf/udmabuf.c:231 Code: 00 00 48 c1 e8 03 48 89 84 24 88 00 00 00 e9 e2 00 00 00 4c 89 e2 48 c1 e2 06 4c 8d 74 15 00 49 8d 7e 08 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 3b 0a 00 00 49 8b 46 08 be 04 00 00 00 48 8d RSP: 0018:ffffc9000ad2fc88 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffc9000ad2fb00 RDX: 0000000000000000 RSI: ffffffff88ab0440 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000078087 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888020d4d180 FS: 00007fc4a5663700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000051a430 CR3: 000000002b977000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: udmabuf_ioctl_create drivers/dma-buf/udmabuf.c:300 [inline] udmabuf_ioctl+0x126/0x230 drivers/dma-buf/udmabuf.c:331 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:1069 [inline] __se_sys_ioctl fs/ioctl.c:1055 [inline] __x64_sys_ioctl+0x11f/0x190 fs/ioctl.c:1055 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc4a5663188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000180 RSI: 0000000040187542 RDI: 0000000000000003 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcda8ba31f R14: 00007fc4a5663300 R15: 0000000000022000 Modules linked in: ---[ end trace 3d24e7d5947f3792 ]--- RIP: 0010:compound_head include/linux/page-flags.h:184 [inline] RIP: 0010:get_page include/linux/mm.h:1204 [inline] RIP: 0010:udmabuf_create+0x4e8/0x1260 drivers/dma-buf/udmabuf.c:231 Code: 00 00 48 c1 e8 03 48 89 84 24 88 00 00 00 e9 e2 00 00 00 4c 89 e2 48 c1 e2 06 4c 8d 74 15 00 49 8d 7e 08 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 3b 0a 00 00 49 8b 46 08 be 04 00 00 00 48 8d RSP: 0018:ffffc9000ad2fc88 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffc9000ad2fb00 RDX: 0000000000000000 RSI: ffffffff88ab0440 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000078087 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888020d4d180 FS: 00007fc4a5663700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f66a068f000 CR3: 000000002b977000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400