Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 6012 Comm: syz-executor Not tainted 6.16.0-rc2-next-20250620-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:pidfs_free_pid+0xaf/0x140 fs/pidfs.c:162 Code: f0 ff ff 73 e4 43 80 3c 3c 00 74 08 4c 89 f7 e8 67 19 de ff 49 83 3e 00 0f 85 84 00 00 00 e8 78 ee 79 ff 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 42 19 de ff 4c 8b 33 4d 85 f6 74 RSP: 0018:ffffc90000a08b90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88802eed9e00 RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffff8880320830f0 RBP: 0000000000000001 R08: ffff888032083083 R09: 1ffff11006410610 R10: dffffc0000000000 R11: ffffed1006410611 R12: 1ffff1100641061d R13: ffffffff81a8bfb4 R14: ffff8880320830e8 R15: dffffc0000000000 FS: 0000555577e30500(0000) GS:ffff888125d26000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe5b797f678 CR3: 0000000025208000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: put_pid+0x9c/0x130 kernel/pid.c:103 rcu_do_batch kernel/rcu/tree.c:2582 [inline] rcu_core+0xca5/0x1710 kernel/rcu/tree.c:2838 handle_softirqs+0x286/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:lock_is_held_type+0x137/0x190 kernel/locking/lockdep.c:5948 Code: 01 75 44 48 c7 04 24 00 00 00 00 9c 8f 04 24 f7 04 24 00 02 00 00 75 4c 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 05 e9 42 32 07 <48> 3b 44 24 08 75 43 89 d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffffc9000497fab0 EFLAGS: 00000206 RAX: 6aced555b4aa4e00 RBX: 0000000000000001 RCX: 6aced555b4aa4e00 RDX: ffff88802eed9e00 RSI: ffffffff8db7f40a RDI: ffffffff8be320a0 RBP: 00000000ffffffff R08: 0000000000000000 R09: ffffffff82492c02 R10: dffffc0000000000 R11: fffffbfff1f4327f R12: 0000000000000246 R13: ffff88802eed9e00 R14: ffffffff99b23310 R15: 0000000000000000 lock_is_held include/linux/lockdep.h:249 [inline] srcu_read_lock_held include/linux/srcu.h:147 [inline] fsnotify_grab_connector+0xb8/0x240 fs/notify/mark.c:697 fsnotify_destroy_marks+0x2f/0x330 fs/notify/mark.c:936 fsnotify_inode_delete include/linux/fsnotify.h:312 [inline] __destroy_inode+0x2e2/0x670 fs/inode.c:372 destroy_inode fs/inode.c:394 [inline] evict+0x797/0x9c0 fs/inode.c:834 __dentry_kill+0x209/0x660 fs/dcache.c:669 dput+0x19f/0x2b0 fs/dcache.c:911 __fput+0x68e/0xa70 fs/file_table.c:476 fput_close_sync+0x119/0x200 fs/file_table.c:573 __do_sys_close fs/open.c:1586 [inline] __se_sys_close fs/open.c:1571 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1571 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe5b778d58a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 43 91 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 a3 91 02 00 8b 44 24 RSP: 002b:00007ffddbb15a20 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fe5b778d58a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007ffddbb15a7c R08: 0000000000000408 R09: 00007ffddbb15787 R10: 00007fe5b797f630 R11: 0000000000000293 R12: 0000000000000098 R13: 00000000000927c0 R14: 00000000000ce37d R15: 00007ffddbb15ad0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pidfs_free_pid+0xaf/0x140 fs/pidfs.c:162 Code: f0 ff ff 73 e4 43 80 3c 3c 00 74 08 4c 89 f7 e8 67 19 de ff 49 83 3e 00 0f 85 84 00 00 00 e8 78 ee 79 ff 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 42 19 de ff 4c 8b 33 4d 85 f6 74 RSP: 0018:ffffc90000a08b90 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff88802eed9e00 RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffff8880320830f0 RBP: 0000000000000001 R08: ffff888032083083 R09: 1ffff11006410610 R10: dffffc0000000000 R11: ffffed1006410611 R12: 1ffff1100641061d R13: ffffffff81a8bfb4 R14: ffff8880320830e8 R15: dffffc0000000000 FS: 0000555577e30500(0000) GS:ffff888125d26000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe5b797f678 CR3: 0000000025208000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: f0 ff lock (bad) 2: ff 73 e4 push -0x1c(%rbx) 5: 43 80 3c 3c 00 cmpb $0x0,(%r12,%r15,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 67 19 de ff call 0xffde197b 14: 49 83 3e 00 cmpq $0x0,(%r14) 18: 0f 85 84 00 00 00 jne 0xa2 1e: e8 78 ee 79 ff call 0xff79ee9b 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 42 19 de ff call 0xffde197b 39: 4c 8b 33 mov (%rbx),%r14 3c: 4d 85 f6 test %r14,%r14 3f: 74 .byte 0x74