syzbot


BUG: unable to handle kernel paging request in ila_cmpfn

Status: moderation: reported on 2024/11/22 04:48
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+3dad5bf89265dbba42eb@syzkaller.appspotmail.com
First crash: 4d19h, last: 4d19h

Sample crash report:
Unable to handle kernel paging request at virtual address 001e9f1f1f1f1f1c
Mem abort info:
  ESR = 0x0000000096000004
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x04: level 0 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000
  CM = 0, WnR = 0, TnD = 0, TagAccess = 0
  GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[001e9f1f1f1f1f1c] address between user and kernel address ranges
Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 8826 Comm: syz.2.385 Not tainted 6.12.0-rc7-syzkaller-g887407160d72 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ila_cmpfn+0x30/0xa0 net/ipv6/ila/ila_xlat.c:71
lr : ila_cmpfn+0x28/0xa0 net/ipv6/ila/ila_xlat.c:68
sp : ffff800080017610
x29: ffff800080017610 x28: f8f8f8f8f8f8f8f8 x27: ffff0000c66a0000
x26: ffff0000c6f56ef9 x25: f8f8f8f8f8f8f8f8 x24: ffff0000d3077c16
x23: dfff800000000000 x22: dfff800000000000 x21: ffff8000800176e0
x20: f8f8f8f8f8f8f8e0 x19: ffff8000800176e0 x18: ffff0001b36709a8
x17: 0000000000000000 x16: ffff800080585ea8 x15: 0000000000000005
x14: 0000000000000000 x13: 0000000000000003 x12: ffff0000c6813c80
x11: 00000000dd3eee0f x10: 0000000000ff0100 x9 : 0000000000000000
x8 : 1f1f1f1f1f1f1f1c x7 : ffff80008a2e9b68 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 0000000000000000 x1 : f8f8f8f8f8f8f8d8 x0 : ffff8000800176e0
Call trace:
 ila_cmpfn+0x30/0xa0 net/ipv6/ila/ila_xlat.c:71 (P)
 ila_cmpfn+0x28/0xa0 net/ipv6/ila/ila_xlat.c:68 (L)
 __rhashtable_lookup include/linux/rhashtable.h:609 [inline]
 rhashtable_lookup include/linux/rhashtable.h:646 [inline]
 rhashtable_lookup_fast+0x370/0x814 include/linux/rhashtable.h:672
 ila_lookup_wildcards net/ipv6/ila/ila_xlat.c:132 [inline]
 ila_xlat_addr net/ipv6/ila/ila_xlat.c:657 [inline]
 ila_nf_input+0x210/0x404 net/ipv6/ila/ila_xlat.c:190
 nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
 nf_hook_slow+0xc8/0x234 net/netfilter/core.c:626
 nf_hook include/linux/netfilter.h:269 [inline]
 NF_HOOK+0x22c/0x3d4 include/linux/netfilter.h:312
 ipv6_rcv+0x9c/0xbc net/ipv6/ip6_input.c:309
 __netif_receive_skb_one_core net/core/dev.c:5670 [inline]
 __netif_receive_skb+0x18c/0x3c8 net/core/dev.c:5783
 process_backlog+0x640/0x123c net/core/dev.c:6115
 __napi_poll+0xb4/0x3fc net/core/dev.c:6779
 napi_poll net/core/dev.c:6848 [inline]
 net_rx_action+0x6a8/0xf4c net/core/dev.c:6970
 handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554
 __do_softirq+0x14/0x20 kernel/softirq.c:588
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:891
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86
 invoke_softirq kernel/softirq.c:435 [inline]
 __irq_exit_rcu+0x1d8/0x544 kernel/softirq.c:655
 irq_exit_rcu+0x14/0x84 kernel/softirq.c:671
 __el1_irq arch/arm64/kernel/entry-common.c:561 [inline]
 el1_interrupt+0x38/0x68 arch/arm64/kernel/entry-common.c:575
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:580
 el1h_64_irq+0x6c/0x70 arch/arm64/kernel/entry.S:596
 filter_irq_stacks+0xa0/0xd8 kernel/stacktrace.c:397 (P)
 stack_depot_save_flags+0x3c/0x694 lib/stackdepot.c:609 (L)
 stack_depot_save_flags+0x3c/0x694 lib/stackdepot.c:609
 kasan_save_stack mm/kasan/common.c:48 [inline]
 kasan_save_track+0x54/0x78 mm/kasan/common.c:68
 kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565
 unpoison_slab_object mm/kasan/common.c:319 [inline]
 __kasan_slab_alloc+0x74/0x8c mm/kasan/common.c:345
 kasan_slab_alloc include/linux/kasan.h:247 [inline]
 slab_post_alloc_hook mm/slub.c:4085 [inline]
 slab_alloc_node mm/slub.c:4134 [inline]
 kmem_cache_alloc_noprof+0x1c0/0x354 mm/slub.c:4141
 xlog_ticket_alloc+0x50/0x380 fs/xfs/xfs_log.c:3246
 xfs_log_reserve+0x240/0xa14 fs/xfs/xfs_log.c:433
 xfs_trans_reserve+0x1cc/0x57c fs/xfs/xfs_trans.c:195
 xfs_trans_alloc+0x410/0x940 fs/xfs/xfs_trans.c:284
 xfs_reflink_set_inode_flag+0x138/0x704 fs/xfs/xfs_reflink.c:1006
 xfs_reflink_remap_prep+0x320/0x5cc fs/xfs/xfs_reflink.c:1501
 xfs_file_remap_range+0x224/0x7f0 fs/xfs/xfs_file.c:1196
 vfs_clone_file_range+0x534/0xb20 fs/remap_range.c:403
 ioctl_file_clone fs/ioctl.c:240 [inline]
 ioctl_file_clone_range fs/ioctl.c:259 [inline]
 do_vfs_ioctl+0x162c/0x2aa8 fs/ioctl.c:854
 __do_sys_ioctl fs/ioctl.c:905 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __arm64_sys_ioctl+0xe4/0x1c8 fs/ioctl.c:893
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: f2fbfff6 977103c9 91002294 d343fe88 (38766908) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	f2fbfff6 	movk	x22, #0xdfff, lsl #48
   4:	977103c9 	bl	0xfffffffffdc40f28
   8:	91002294 	add	x20, x20, #0x8
   c:	d343fe88 	lsr	x8, x20, #3
* 10:	38766908 	ldrb	w8, [x8, x22] <-- trapping instruction

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/18 04:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 887407160d72 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: unable to handle kernel paging request in ila_cmpfn
* Struck through repros no longer work on HEAD.