general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] CPU: 0 PID: 3344 Comm: syz-executor.1 Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:fsnotify_parent include/linux/fsnotify.h:62 [inline] RIP: 0010:fsnotify_file include/linux/fsnotify.h:99 [inline] RIP: 0010:fsnotify_close include/linux/fsnotify.h:288 [inline] RIP: 0010:__fput+0x389/0x8c0 fs/file_table.c:266 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 65 04 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 48 68 49 8d 79 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5e 04 00 00 49 8b 51 28 be 08 00 00 00 4c 89 44 RSP: 0018:ffffc900030efe58 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88807757ad00 RCX: 1ffffffff0fd3a1c RDX: 0000000000000005 RSI: 0000000000000004 RDI: 0000000000000028 RBP: ffff8880686de804 R08: ffff88807bf751a0 R09: 0000000000000000 R10: ffffed100207e499 R11: 0000000000000008 R12: 0000000000080007 R13: ffff8880686de790 R14: ffff8880095be920 R15: ffff8880686de780 FS: 00007f7761fa66c0(0000) GS:ffff8880bac00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc8aad5f84 CR3: 0000000075a08000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: task_work_run+0xc5/0x150 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x16e/0x170 kernel/entry/common.c:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x13/0x30 kernel/entry/common.c:302 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f7762445ea9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7761fa60c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f7762574050 RCX: 00007f7762445ea9 RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f77624924a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f7762574050 R15: 00007fffb6578128 Modules linked in: ---[ end trace 763112bc69d90168 ]--- RIP: 0010:fsnotify_parent include/linux/fsnotify.h:62 [inline] RIP: 0010:fsnotify_file include/linux/fsnotify.h:99 [inline] RIP: 0010:fsnotify_close include/linux/fsnotify.h:288 [inline] RIP: 0010:__fput+0x389/0x8c0 fs/file_table.c:266 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 65 04 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 48 68 49 8d 79 28 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 5e 04 00 00 49 8b 51 28 be 08 00 00 00 4c 89 44 RSP: 0018:ffffc900030efe58 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88807757ad00 RCX: 1ffffffff0fd3a1c RDX: 0000000000000005 RSI: 0000000000000004 RDI: 0000000000000028 RBP: ffff8880686de804 R08: ffff88807bf751a0 R09: 0000000000000000 R10: ffffed100207e499 R11: 0000000000000008 R12: 0000000000080007 R13: ffff8880686de790 R14: ffff8880095be920 R15: ffff8880686de780 FS: 00007f7761fa66c0(0000) GS:ffff8880bac00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bc345d7008 CR3: 0000000075a08000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 65 04 00 00 jne 0x476 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4d 8b 48 68 mov 0x68(%r8),%r9 1f: 49 8d 79 28 lea 0x28(%r9),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 5e 04 00 00 jne 0x492 34: 49 8b 51 28 mov 0x28(%r9),%rdx 38: be 08 00 00 00 mov $0x8,%esi 3d: 4c rex.WR 3e: 89 .byte 0x89 3f: 44 rex.R