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: 9562 Comm: syz.0.1623 Not tainted 6.16.0-rc3-next-20250623-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 a7 1b de ff 49 83 3e 00 0f 85 84 00 00 00 e8 08 f2 79 ff 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 82 1b de ff 4c 8b 33 4d 85 f6 74
RSP: 0000:ffffc90000a08b90 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8880308e0000
RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffff88802f207270
RBP: 0000000000000001 R08: ffff88802f207203 R09: 1ffff11005e40e40
R10: dffffc0000000000 R11: ffffed1005e40e41 R12: 1ffff11005e40e4d
R13: ffffffff81a83684 R14: ffff88802f207268 R15: dffffc0000000000
FS: 0000555586767500(0000) GS:ffff888125d25000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f820000 CR3: 0000000030fd6000 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+0x283/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:qlink_to_object mm/kasan/quarantine.c:140 [inline]
RIP: 0010:qlink_free mm/kasan/quarantine.c:145 [inline]
RIP: 0010:qlist_free_all+0x75/0x140 mm/kasan/quarantine.c:179
Code: 49 01 c4 0f 1f 44 00 00 41 0f b6 44 24 33 c1 e0 18 3d 00 00 00 f5 4d 0f 45 e5 4d 8b 64 24 08 49 8b 2f 49 63 84 24 c0 00 00 00 <49> 29 c7 4c 89 e7 4c 89 fe e8 bd e3 ff ff 66 90 48 8d 15 00 00 00
RSP: 0000:ffffc9001b4bfab0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc9001b4bfae8 RCX: ffffea0000a69600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88807df7b000 R08: ffffffff8fa18cf7 R09: 1ffffffff1f4319e
R10: dffffc0000000000 R11: fffffbfff1f4319f R12: ffff88801a441dc0
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888029a5d800
kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4180 [inline]
slab_alloc_node mm/slub.c:4229 [inline]
kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4236
ptlock_alloc mm/memory.c:7192 [inline]
ptlock_init include/linux/mm.h:2958 [inline]
pmd_ptlock_init include/linux/mm.h:3086 [inline]
pagetable_pmd_ctor include/linux/mm.h:3114 [inline]
pmd_alloc_one_noprof include/asm-generic/pgalloc.h:145 [inline]
__pmd_alloc+0xc6/0x3b0 mm/memory.c:6485
pmd_alloc include/linux/mm.h:2849 [inline]
__handle_mm_fault+0xa63/0x5620 mm/memory.c:6190
handle_mm_fault+0x40a/0x8e0 mm/memory.c:6399
do_user_addr_fault+0xa81/0x1390 arch/x86/mm/fault.c:1336
handle_page_fault arch/x86/mm/fault.c:1476 [inline]
exc_page_fault+0x76/0xf0 arch/x86/mm/fault.c:1532
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7fb8bb46545b
Code: 00 00 00 48 8d b8 c8 fe ff ff e8 50 54 0c 00 85 c0 0f 85 14 fb ff ff 48 8b 44 24 68 8b b4 24 98 00 00 00 89 30 e9 01 fb ff ff <89> 32 e9 d0 ef ff ff 48 8d 05 e7 41 23 00 48 8d 3d b0 02 e8 00 c6
RSP: 002b:00007ffd2ce78e20 EFLAGS: 00010246
RAX: 00000000005ffde8 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000001b2f820000 RSI: 0000000000600000 RDI: 00007fb8bb699650
RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000040000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000000927c0 R14: 0000000000035583 R15: 00007ffd2ce790d0
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 a7 1b de ff 49 83 3e 00 0f 85 84 00 00 00 e8 08 f2 79 ff 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 82 1b de ff 4c 8b 33 4d 85 f6 74
RSP: 0000:ffffc90000a08b90 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff8880308e0000
RDX: 0000000000000100 RSI: 0000000000000001 RDI: ffff88802f207270
RBP: 0000000000000001 R08: ffff88802f207203 R09: 1ffff11005e40e40
R10: dffffc0000000000 R11: ffffed1005e40e41 R12: 1ffff11005e40e4d
R13: ffffffff81a83684 R14: ffff88802f207268 R15: dffffc0000000000
FS: 0000555586767500(0000) GS:ffff888125d25000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f820000 CR3: 0000000030fd6000 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 a7 1b de ff call 0xffde1bbb
14: 49 83 3e 00 cmpq $0x0,(%r14)
18: 0f 85 84 00 00 00 jne 0xa2
1e: e8 08 f2 79 ff call 0xff79f22b
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 82 1b de ff call 0xffde1bbb
39: 4c 8b 33 mov (%rbx),%r14
3c: 4d 85 f6 test %r14,%r14
3f: 74 .byte 0x74