github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/report/testdata/linux/guilty/2 (about) 1 FILE: kernel/bpf/hashtab.c 2 3 kasan: CONFIG_KASAN_INLINE enabled 4 kasan: GPF could be caused by NULL-ptr deref or user memory access 5 general protection fault: 0000 [#1] SMP KASAN 6 Dumping ftrace buffer: 7 (ftrace buffer empty) 8 Modules linked in: 9 CPU: 2 PID: 10785 Comm: kworker/2:4 Not tainted 4.12.0-rc3+ #370 10 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 11 Workqueue: events bpf_map_free_deferred 12 task: ffff880061ce9700 task.stack: ffff880060b40000 13 RIP: 0010:pcpu_addr_to_page mm/percpu-vm.c:358 [inline] 14 RIP: 0010:pcpu_chunk_addr_search mm/percpu.c:852 [inline] 15 RIP: 0010:free_percpu+0x189/0x4a0 mm/percpu.c:1264 16 RSP: 0018:ffff880060b47188 EFLAGS: 00010002 17 RAX: 0000000000000000 RBX: 1ffff1000c168e34 RCX: 0000000000000002 18 RDX: dffffc0000000000 RSI: 000000000ca9ca67 RDI: 0000000000000010 19 RBP: ffff880060b47328 R08: 0000000000000002 R09: 8a21721700000000 20 R10: ffff880061ce9f38 R11: dffffc0000000000 R12: ffff88007ffee210 21 R13: ffff880060b47300 R14: ffff88003ec00000 R15: ffffe8fcd0a1c608 22 FS: 0000000000000000(0000) GS:ffff88006de00000(0000) knlGS:0000000000000000 23 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 24 CR2: 00000000006e7680 CR3: 000000002e973000 CR4: 00000000000006e0 25 Call Trace: 26 htab_free_elems+0x191/0x250 kernel/bpf/hashtab.c:112 27 prealloc_destroy+0x17/0x90 kernel/bpf/hashtab.c:191 28 htab_map_free+0xe6/0x650 kernel/bpf/hashtab.c:1093 29 bpf_map_free_deferred+0xac/0xd0 kernel/bpf/syscall.c:124 30 process_one_work+0xc03/0x1bd0 kernel/workqueue.c:2097 31 worker_thread+0x223/0x1860 kernel/workqueue.c:2231 32 kthread+0x35e/0x430 kernel/kthread.c:231 33 ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:424 34 Code: 80 3c 02 00 0f 85 e0 02 00 00 49 8b 3c 24 4c 01 ff e8 ec be 06 00 48 8d 78 10 48 ba 00 00 00 00 00 fc ff df 48 89 f9 48 c1 e9 03 <80> 3c 11 00 0f 85 c2 02 00 00 4c 8b 60 10 48 b8 00 00 00 00 00 35 RIP: pcpu_addr_to_page mm/percpu-vm.c:358 [inline] RSP: ffff880060b47188 36 RIP: pcpu_chunk_addr_search mm/percpu.c:852 [inline] RSP: ffff880060b47188 37 RIP: free_percpu+0x189/0x4a0 mm/percpu.c:1264 RSP: ffff880060b47188 38 ---[ end trace 2faa26575ba6ca1f ]--- 39 Kernel panic - not syncing: Fatal exception 40 Dumping ftrace buffer: 41 (ftrace buffer empty) 42 Kernel Offset: disabled 43 Rebooting in 86400 seconds..