syzbot


BUG: unable to handle kernel paging request in rhltable_lookup

Status: upstream: reported C repro on 2022/11/21 03:43
Reported-by: syzbot+fa4fe30392e9e8fd16a3@syzkaller.appspotmail.com
First crash: 9d23h, last: 8d09h

Sample crash report:
Unable to handle kernel paging request at virtual address ffff000308e88118
Mem abort info:
  ESR = 0x0000000096000005
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x05: level 1 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000005
  CM = 0, WnR = 0
swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000001c5508000
[ffff000308e88118] pgd=180000023fff8003, p4d=180000023fff8003, pud=0000000000000000
Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3086 Comm: kworker/0:6 Not tainted 6.1.0-rc5-syzkaller-32269-g9500fc6e9e60 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Workqueue: mld mld_ifc_work
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : rht_ptr_rcu include/linux/rhashtable.h:369 [inline]
pc : __rhashtable_lookup include/linux/rhashtable.h:599 [inline]
pc : rhltable_lookup+0xd4/0x398 include/linux/rhashtable.h:688
lr : rht_bucket include/linux/rhashtable.h:290 [inline]
lr : __rhashtable_lookup include/linux/rhashtable.h:597 [inline]
lr : rhltable_lookup+0xc8/0x398 include/linux/rhashtable.h:688
sp : ffff800008003d60
x29: ffff800008003d80 x28: ffff80000d98f000 x27: 0000000000000000
x26: 0000000000000002 x25: 0000000000000000 x24: ffff000308e88118
x23: ffff80000d98f000 x22: ffff000308e88119 x21: ffff0000cb7aa400
x20: ffff0000ce7c17b0 x19: ffff0000cae1f834 x18: 00000000000000c0
x17: ffff80000ddda198 x16: 0000000000000101 x15: 0000000000000100
x14: 0000000000000000 x13: 000000000000000c x12: ffff80000d690450
x11: ff8080000bd03d04 x10: 0000000000000000 x9 : ffff80000bd03d04
x8 : ffff000308e88098 x7 : ffff80000bcfd720 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000002
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 rhltable_lookup+0xd4/0x398 include/linux/rhashtable.h:688
 sta_info_hash_lookup net/mac80211/sta_info.c:195 [inline]
 sta_info_get_by_addrs+0x64/0xf8 net/mac80211/sta_info.c:320
 ieee80211_tx_status+0xd8/0x1ac net/mac80211/status.c:1096
 ieee80211_tasklet_handler+0x5c/0x110 net/mac80211/main.c:319
 tasklet_action_common+0x1d4/0x248
 tasklet_action+0x30/0x3c kernel/softirq.c:818
 _stext+0x168/0x37c
 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79
 call_on_irq_stack+0x2c/0x54 arch/arm64/kernel/entry.S:892
 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:84
 do_softirq+0xac/0x108 kernel/softirq.c:472
 __local_bh_enable_ip+0x18c/0x1a4 kernel/softirq.c:396
 local_bh_enable+0x28/0x34 include/linux/bottom_half.h:33
 rcu_read_unlock_bh include/linux/rcupdate.h:808 [inline]
 ip6_finish_output2+0xa1c/0xbec net/ipv6/ip6_output.c:135
 __ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
 ip6_finish_output+0x448/0x4c4 net/ipv6/ip6_output.c:206
 NF_HOOK_COND include/linux/netfilter.h:291 [inline]
 ip6_output+0x180/0x2dc net/ipv6/ip6_output.c:227
 dst_output include/net/dst.h:445 [inline]
 NF_HOOK include/linux/netfilter.h:302 [inline]
 mld_sendpack+0x514/0x924 net/ipv6/mcast.c:1820
 mld_send_cr+0x4e8/0x5a8 net/ipv6/mcast.c:2121
 mld_ifc_work+0x38/0x290 net/ipv6/mcast.c:2653
 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289
 worker_thread+0x340/0x610 kernel/workqueue.c:2436
 kthread+0x12c/0x158 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863
Code: 97168d0a 8b384ea8 91020118 b2400316 (f940031a) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	97168d0a 	bl	0xfffffffffc5a3428
   4:	8b384ea8 	add	x8, x21, w24, uxtw #3
   8:	91020118 	add	x24, x8, #0x80
   c:	b2400316 	orr	x22, x24, #0x1
* 10:	f940031a 	ldr	x26, [x24] <-- trapping instruction

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-arm64 2022/11/18 16:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config log report syz C BUG: unable to handle kernel paging request in rhltable_lookup
ci-upstream-gce-arm64 2022/11/17 03:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 3a127a31 .config log report syz C BUG: unable to handle kernel paging request in rhltable_lookup
* Struck through repros no longer work on HEAD.