------------[ cut here ]------------
kernel BUG at arch/x86/mm/physaddr.c:28!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 20815 Comm: kworker/u8:36 Not tainted 6.16.0-rc6-syzkaller-01669-g8aad37d16cff #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: netns cleanup_net
RIP: 0010:__phys_addr+0x16b/0x180 arch/x86/mm/physaddr.c:28
Code: c9 ad 00 e9 45 ff ff ff e8 12 bb 4b 00 48 c7 c7 10 f7 fa 8d 48 89 de 4c 89 f2 e8 80 68 81 03 e9 4d ff ff ff e8 f6 ba 4b 00 90 <0f> 0b e8 ee ba 4b 00 90 0f 0b e8 e6 ba 4b 00 90 0f 0b 0f 1f 00 90
RSP: 0018:ffffc90000a08b58 EFLAGS: 00010246
RAX: ffffffff81746f5a RBX: 00007780ffff0000 RCX: ffff88807d5e8000
RDX: 0000000000000100 RSI: 000000017fff0000 RDI: 00007780ffff0000
RBP: ffffc90000a08e30 R08: 0000000000000000 R09: ffffffff81a8c254
R10: dffffc0000000000 R11: ffffffff89f5b990 R12: ffffffff89f5b990
R13: ffffffff81a8c254 R14: 000000017fff0000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d2d620f98 CR3: 000000007d2ac000 CR4: 00000000003526f0
Call Trace:
virt_to_folio include/linux/mm.h:1178 [inline]
kfree+0x77/0x440 mm/slub.c:4834
in_dev_free_rcu+0x49/0x60 net/ipv4/devinet.c:245
rcu_do_batch kernel/rcu/tree.c:2576 [inline]
rcu_core+0xca8/0x1710 kernel/rcu/tree.c:2832
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:lockdep_unregister_key+0x2c5/0x310 kernel/locking/lockdep.c:6619
Code: 65 48 8b 05 6d 4f 02 11 48 3b 44 24 10 0f 84 26 fe ff ff e8 2d c7 d1 09 e8 58 c8 d1 09 41 f7 c7 00 02 00 00 74 bd fb 40 84 ed <75> bc eb cd 90 0f 0b 90 e9 19 ff ff ff 90 0f 0b 90 e9 2a ff ff ff
RSP: 0018:ffffc9000d99f578 EFLAGS: 00000246
RAX: 81d22b9b47949100 RBX: ffff8880772b9298 RCX: 81d22b9b47949100
RDX: ffffffff93646318 RSI: ffffffff8d9b2105 RDI: ffffffff8be28c40
RBP: ffff8880772b9200 R08: 0000000000000000 R09: ffffffff81ab4a78
R10: dffffc0000000000 R11: fffffbfff1f445df R12: 0000000000000000
R13: 0000000000001000 R14: 0000000000000000 R15: 0000000000000203
__qdisc_destroy+0x166/0x420 net/sched/sch_generic.c:1081
netdev_for_each_tx_queue include/linux/netdevice.h:2657 [inline]
dev_shutdown+0x93/0x440 net/sched/sch_generic.c:1492
unregister_netdevice_many_notify+0xe0f/0x1ff0 net/core/dev.c:12128
unregister_netdevice_many net/core/dev.c:12203 [inline]
default_device_exit_batch+0x819/0x890 net/core/dev.c:12707
ops_exit_list net/core/net_namespace.c:204 [inline]
ops_undo_list+0x522/0x990 net/core/net_namespace.c:251
cleanup_net+0x4c5/0x800 net/core/net_namespace.c:682
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x70e/0x8a0 kernel/kthread.c:464
ret_from_fork+0x3fc/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__phys_addr+0x16b/0x180 arch/x86/mm/physaddr.c:28
Code: c9 ad 00 e9 45 ff ff ff e8 12 bb 4b 00 48 c7 c7 10 f7 fa 8d 48 89 de 4c 89 f2 e8 80 68 81 03 e9 4d ff ff ff e8 f6 ba 4b 00 90 <0f> 0b e8 ee ba 4b 00 90 0f 0b e8 e6 ba 4b 00 90 0f 0b 0f 1f 00 90
RSP: 0018:ffffc90000a08b58 EFLAGS: 00010246
RAX: ffffffff81746f5a RBX: 00007780ffff0000 RCX: ffff88807d5e8000
RDX: 0000000000000100 RSI: 000000017fff0000 RDI: 00007780ffff0000
RBP: ffffc90000a08e30 R08: 0000000000000000 R09: ffffffff81a8c254
R10: dffffc0000000000 R11: ffffffff89f5b990 R12: ffffffff89f5b990
R13: ffffffff81a8c254 R14: 000000017fff0000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9d2d620f98 CR3: 000000007d2ac000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 65 48 8b 05 6d 4f 02 mov %gs:0x11024f6d(%rip),%rax # 0x11024f75
7: 11
8: 48 3b 44 24 10 cmp 0x10(%rsp),%rax
d: 0f 84 26 fe ff ff je 0xfffffe39
13: e8 2d c7 d1 09 call 0x9d1c745
18: e8 58 c8 d1 09 call 0x9d1c875
1d: 41 f7 c7 00 02 00 00 test $0x200,%r15d
24: 74 bd je 0xffffffe3
26: fb sti
27: 40 84 ed test %bpl,%bpl
* 2a: 75 bc jne 0xffffffe8 <-- trapping instruction
2c: eb cd jmp 0xfffffffb
2e: 90 nop
2f: 0f 0b ud2
31: 90 nop
32: e9 19 ff ff ff jmp 0xffffff50
37: 90 nop
38: 0f 0b ud2
3a: 90 nop
3b: e9 2a ff ff ff jmp 0xffffff6a