------------[ cut here ]------------
kernel BUG at arch/x86/mm/physaddr.c:28!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 1154 Comm: kworker/u8:7 Not tainted 6.16.0-syzkaller-06620-gae633388cae3 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:__phys_addr+0x16b/0x180 arch/x86/mm/physaddr.c:28
Code: 40 ae 00 e9 45 ff ff ff e8 52 1e 4b 00 48 c7 c7 10 ef fa 8d 48 89 de 4c 89 f2 e8 e0 d9 87 03 e9 4d ff ff ff e8 36 1e 4b 00 90 <0f> 0b e8 2e 1e 4b 00 90 0f 0b e8 26 1e 4b 00 90 0f 0b 0f 1f 00 90
RSP: 0018:ffffc90000007b58 EFLAGS: 00010246
RAX: ffffffff8174927a RBX: 00007780ffff0000 RCX: ffff888026c58000
RDX: 0000000000000100 RSI: 000000017fff0000 RDI: 00007780ffff0000
RBP: ffffc90000007e30 R08: 0000000000000000 R09: ffffffff81a7f5d4
R10: dffffc0000000000 R11: ffffffff89f87790 R12: ffffffff89f87790
R13: ffffffff81a7f5d4 R14: 000000017fff0000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888125c80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9a0e9d5d58 CR3: 000000007d96a000 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+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:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
RIP: 0010:rcu_is_watching+0x2e/0xb0 kernel/rcu/tree.c:745
Code: 41 57 41 56 53 65 ff 05 10 a0 f3 10 e8 fb 81 c9 09 89 c3 83 f8 08 73 65 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd d0 ec b9 8d <4c> 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 4c 73 7c 00
RSP: 0018:ffffc90003e9f990 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 6b5a64617e7a8900
RDX: ffff888026c58000 RSI: ffffffff8be309e0 RDI: ffffffff8be309a0
RBP: ffff888030f40018 R08: 0000000000000000 R09: ffffffff8b3ddeaa
R10: dffffc0000000000 R11: fffffbfff1f40f7f R12: dffffc0000000000
R13: 1ffff1100f18b313 R14: ffffffff8db9ecd0 R15: dffffc0000000000
rcu_read_lock include/linux/rcupdate.h:842 [inline]
batadv_nc_process_nc_paths+0xfa/0x3a0 net/batman-adv/network-coding.c:687
batadv_nc_worker+0x429/0x610 net/batman-adv/network-coding.c:728
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: 40 ae 00 e9 45 ff ff ff e8 52 1e 4b 00 48 c7 c7 10 ef fa 8d 48 89 de 4c 89 f2 e8 e0 d9 87 03 e9 4d ff ff ff e8 36 1e 4b 00 90 <0f> 0b e8 2e 1e 4b 00 90 0f 0b e8 26 1e 4b 00 90 0f 0b 0f 1f 00 90
RSP: 0018:ffffc90000007b58 EFLAGS: 00010246
RAX: ffffffff8174927a RBX: 00007780ffff0000 RCX: ffff888026c58000
RDX: 0000000000000100 RSI: 000000017fff0000 RDI: 00007780ffff0000
RBP: ffffc90000007e30 R08: 0000000000000000 R09: ffffffff81a7f5d4
R10: dffffc0000000000 R11: ffffffff89f87790 R12: ffffffff89f87790
R13: ffffffff81a7f5d4 R14: 000000017fff0000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888125c80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9a0e9d5d58 CR3: 000000007d96a000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 41 57 push %r15
2: 41 56 push %r14
4: 53 push %rbx
5: 65 ff 05 10 a0 f3 10 incl %gs:0x10f3a010(%rip) # 0x10f3a01c
c: e8 fb 81 c9 09 call 0x9c9820c
11: 89 c3 mov %eax,%ebx
13: 83 f8 08 cmp $0x8,%eax
16: 73 65 jae 0x7d
18: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
1f: fc ff df
22: 4c 8d 34 dd d0 ec b9 lea -0x72461330(,%rbx,8),%r14
29: 8d
* 2a: 4c 89 f0 mov %r14,%rax <-- trapping instruction
2d: 48 c1 e8 03 shr $0x3,%rax
31: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
36: 74 08 je 0x40
38: 4c 89 f7 mov %r14,%rdi
3b: e8 4c 73 7c 00 call 0x7c738c