------------[ cut here ]------------ kernel BUG at mm/slub.c:4064! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 1232 Comm: kworker/1:46 Not tainted 5.4.265-syzkaller-00001-g1b3143b9b166 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events bpf_map_free_deferred RIP: 0010:kfree+0x363/0x370 mm/slub.c:308 Code: 48 8b 03 48 83 c3 18 48 85 c0 75 e5 65 ff 0d 40 02 6f 7e 48 8b 5c 24 10 0f 85 cd fc ff ff e8 e4 c8 6c ff e9 c3 fc ff ff 0f 0b <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 RSP: 0018:ffff8881e9937c70 EFLAGS: 00010246 RAX: ffffea0007db9248 RBX: ffff8881f6e49888 RCX: ffffea0007db9240 RDX: 0000000000000000 RSI: 000000000000f4c3 RDI: ffff8881f6e49888 RBP: ffffea0007db9240 R08: ffffffff8177b404 R09: ffffed1037b6b7e5 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e1b7e100 R13: 1ffff1103c36fc20 R14: 0000000000000000 R15: ffff8881e1b7e024 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1d67a6178 CR3: 00000001bdfba000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: dev_map_free+0x654/0x7b0 kernel/bpf/devmap.c:265 bpf_map_free_deferred+0xa8/0x100 kernel/bpf/syscall.c:311 process_one_work+0x765/0xd20 kernel/workqueue.c:2290 worker_thread+0xaef/0x1470 kernel/workqueue.c:2436 kthread+0x2da/0x360 kernel/kthread.c:288 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:354 Modules linked in: ---[ end trace b1d32ba829dfc714 ]--- RIP: 0010:kfree+0x363/0x370 mm/slub.c:308 Code: 48 8b 03 48 83 c3 18 48 85 c0 75 e5 65 ff 0d 40 02 6f 7e 48 8b 5c 24 10 0f 85 cd fc ff ff e8 e4 c8 6c ff e9 c3 fc ff ff 0f 0b <0f> 0b 66 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 41 57 41 56 41 RSP: 0018:ffff8881e9937c70 EFLAGS: 00010246 RAX: ffffea0007db9248 RBX: ffff8881f6e49888 RCX: ffffea0007db9240 RDX: 0000000000000000 RSI: 000000000000f4c3 RDI: ffff8881f6e49888 RBP: ffffea0007db9240 R08: ffffffff8177b404 R09: ffffed1037b6b7e5 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881e1b7e100 R13: 1ffff1103c36fc20 R14: 0000000000000000 R15: ffff8881e1b7e024 FS: 0000000000000000(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555698a788 CR3: 00000001eda18000 CR4: 00000000003406a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600