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: 0 PID: 14371 Comm: syz-executor5 Not tainted 4.20.0-rc1-next-20181107+ #107 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:locks_remove_flock+0x216/0x350 fs/locks.c:2567 Code: 00 0f 85 3a 01 00 00 48 8b 5b 98 48 85 db 74 3a e8 1f 41 92 ff 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 17 01 00 00 48 8b 5b 08 48 85 db 74 0d e8 f2 40 RSP: 0018:ffff8801bc387880 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000041b58ab3 RCX: ffffffff81ed555d RDX: 000000000836b157 RSI: ffffffff81ed5c71 RDI: 0000000041b58abb RBP: ffff8801bc387a60 R08: ffff8801d503a200 R09: ffffed003b5c5b67 R10: ffffed003b5c5b67 R11: ffff8801dae2db3b R12: ffff8801d937e000 R13: ffff8801bc3878f8 R14: 1ffff10037870f13 R15: dffffc0000000000 FS: 000000000262e940(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000072c028 CR3: 00000001d8b0a000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kobject: 'loop3' (000000004d83d126): kobject_uevent_env locks_remove_file+0x148/0x5c0 fs/locks.c:2607 kobject: 'loop3' (000000004d83d126): fill_kobj_path: path = '/devices/virtual/block/loop3' __fput+0x2f0/0xa70 fs/file_table.c:271 ____fput+0x15/0x20 fs/file_table.c:312 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411021 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 34 19 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffc0f567d90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000411021 kobject: 'loop3' (000000004d83d126): kobject_uevent_env RDX: 000000000000004b RSI: 00000000007302b0 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 00007ffc0f567cc0 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000151 R15: 0000000000000005 kobject: 'loop3' (000000004d83d126): fill_kobj_path: path = '/devices/virtual/block/loop3' Modules linked in: kobject: 'loop1' (000000002301772e): kobject_uevent_env kobject: 'loop1' (000000002301772e): fill_kobj_path: path = '/devices/virtual/block/loop1' kobject: 'loop0' (000000001cf1e4bb): kobject_uevent_env ---[ end trace d3bc63e317b445ad ]--- RIP: 0010:locks_remove_flock+0x216/0x350 fs/locks.c:2567 Code: 00 0f 85 3a 01 00 00 48 8b 5b 98 48 85 db 74 3a e8 1f 41 92 ff 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 17 01 00 00 48 8b 5b 08 48 85 db 74 0d e8 f2 40 RSP: 0018:ffff8801bc387880 EFLAGS: 00010202 kobject: 'loop0' (000000001cf1e4bb): fill_kobj_path: path = '/devices/virtual/block/loop0' RAX: dffffc0000000000 RBX: 0000000041b58ab3 RCX: ffffffff81ed555d RDX: 000000000836b157 RSI: ffffffff81ed5c71 RDI: 0000000041b58abb RBP: ffff8801bc387a60 R08: ffff8801d503a200 R09: ffffed003b5c5b67 R10: ffffed003b5c5b67 R11: ffff8801dae2db3b R12: ffff8801d937e000 R13: ffff8801bc3878f8 R14: 1ffff10037870f13 R15: dffffc0000000000 FS: 000000000262e940(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'loop2' (000000002678868b): kobject_uevent_env CR2: 0000000000707158 CR3: 00000001d8b0a000 CR4: 00000000001426f0 kobject: 'loop2' (000000002678868b): fill_kobj_path: path = '/devices/virtual/block/loop2' DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'loop4' (00000000cac50772): kobject_uevent_env kobject: 'loop4' (00000000cac50772): fill_kobj_path: path = '/devices/virtual/block/loop4' DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 kobject: 'loop3' (000000004d83d126): kobject_uevent_env