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: 8452 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:___pcpu_freelist_pop kernel/bpf/percpu_freelist.c:114 [inline] RIP: 0010:__pcpu_freelist_pop+0x6b7/0x8c0 kernel/bpf/percpu_freelist.c:125 Code: 10 48 3b 8c 24 80 00 00 00 0f 85 b4 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 89 f8 48 c1 e8 03 <80> 3c 18 00 48 89 7c 24 20 74 0a e8 69 3f 41 00 48 8b 7c 24 20 48 RSP: 0018:ffffc90003feed40 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffe8ffffd22160 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc90003feee10 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520007fddb4 R12: 1ffffd1ffffa442b R13: ffffe8ffffd22158 R14: 0000000000000001 R15: 0000000000000000 FS: 000055555b970500(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007f8b6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: pcpu_freelist_pop+0xca/0x170 kernel/bpf/percpu_freelist.c:134 __bpf_get_stackid+0x574/0xcf0 kernel/bpf/stackmap.c:259 ____bpf_get_stackid_raw_tp kernel/trace/bpf_trace.c:1810 [inline] bpf_get_stackid_raw_tp+0x196/0x210 kernel/trace/bpf_trace.c:1799 bpf_prog_12712c88fd19bd5b+0x2a/0x32 bpf_dispatcher_nop_func include/linux/bpf.h:1335 [inline] __bpf_prog_run include/linux/filter.h:718 [inline] bpf_prog_run include/linux/filter.h:725 [inline] __bpf_trace_run kernel/trace/bpf_trace.c:2257 [inline] bpf_trace_run4+0x28b/0x4a0 kernel/trace/bpf_trace.c:2300 __do_trace_mm_page_alloc include/trace/events/kmem.h:177 [inline] trace_mm_page_alloc+0x129/0x150 include/trace/events/kmem.h:177 __alloc_frozen_pages_noprof+0x1d6/0x370 mm/page_alloc.c:5170 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2416 alloc_slab_page mm/slub.c:2487 [inline] allocate_slab+0x8a/0x370 mm/slub.c:2655 new_slab mm/slub.c:2709 [inline] ___slab_alloc+0xbeb/0x1410 mm/slub.c:3891 __slab_alloc mm/slub.c:3981 [inline] __slab_alloc_node mm/slub.c:4056 [inline] slab_alloc_node mm/slub.c:4217 [inline] kmem_cache_alloc_noprof+0x283/0x3c0 mm/slub.c:4236 __kernfs_new_node+0xd7/0x7e0 fs/kernfs/dir.c:637 kernfs_new_node+0x102/0x210 fs/kernfs/dir.c:713 __kernfs_create_file+0x4b/0x2e0 fs/kernfs/file.c:1039 sysfs_add_file_mode_ns+0x238/0x300 fs/sysfs/file.c:319 create_files fs/sysfs/group.c:76 [inline] internal_create_group+0x66d/0x1110 fs/sysfs/group.c:183 internal_create_groups fs/sysfs/group.c:223 [inline] sysfs_create_groups+0x59/0x120 fs/sysfs/group.c:249 setup_gid_attrs drivers/infiniband/core/sysfs.c:1162 [inline] ib_setup_port_attrs+0x1407/0x2070 drivers/infiniband/core/sysfs.c:1439 add_one_compat_dev+0x3d6/0x5c0 drivers/infiniband/core/device.c:1005 rdma_dev_init_net+0x1dd/0x270 drivers/infiniband/core/device.c:1221 ops_init+0x359/0x5c0 net/core/net_namespace.c:136 setup_net+0x10c/0x320 net/core/net_namespace.c:438 copy_net_ns+0x31b/0x4d0 net/core/net_namespace.c:570 create_new_namespaces+0x3f3/0x720 kernel/nsproxy.c:110 unshare_nsproxy_namespaces+0x11c/0x170 kernel/nsproxy.c:218 ksys_unshare+0x4c8/0x8c0 kernel/fork.c:3127 __do_sys_unshare kernel/fork.c:3198 [inline] __se_sys_unshare kernel/fork.c:3196 [inline] __x64_sys_unshare+0x38/0x50 kernel/fork.c:3196 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:0x7f42a81903e7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fffc0a33128 EFLAGS: 00000202 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f42a83b5f40 RCX: 00007f42a81903e7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00007f42a83b67b8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000008 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:___pcpu_freelist_pop kernel/bpf/percpu_freelist.c:114 [inline] RIP: 0010:__pcpu_freelist_pop+0x6b7/0x8c0 kernel/bpf/percpu_freelist.c:125 Code: 10 48 3b 8c 24 80 00 00 00 0f 85 b4 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 89 f8 48 c1 e8 03 <80> 3c 18 00 48 89 7c 24 20 74 0a e8 69 3f 41 00 48 8b 7c 24 20 48 RSP: 0018:ffffc90003feed40 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffe8ffffd22160 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc90003feee10 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520007fddb4 R12: 1ffffd1ffffa442b R13: ffffe8ffffd22158 R14: 0000000000000001 R15: 0000000000000000 FS: 000055555b970500(0000) GS:ffff888125d1c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007f8b6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess): 0: 10 48 3b adc %cl,0x3b(%rax) 3: 8c 24 80 mov %fs,(%rax,%rax,4) 6: 00 00 add %al,(%rax) 8: 00 0f add %cl,(%rdi) a: 85 b4 01 00 00 48 8d test %esi,-0x72b80000(%rcx,%rax,1) 11: 65 d8 5b 41 fcomps %gs:0x41(%rbx) 15: 5c pop %rsp 16: 41 5d pop %r13 18: 41 5e pop %r14 1a: 41 5f pop %r15 1c: 5d pop %rbp 1d: c3 ret 1e: cc int3 1f: cc int3 20: cc int3 21: cc int3 22: cc int3 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 48 89 7c 24 20 mov %rdi,0x20(%rsp) 33: 74 0a je 0x3f 35: e8 69 3f 41 00 call 0x413fa3 3a: 48 8b 7c 24 20 mov 0x20(%rsp),%rdi 3f: 48 rex.W