syzbot


BUG: corrupted list in dst_init

Status: upstream: reported C repro on 2022/11/16 04:40
Reported-by: syzbot+ebd1a02208026c9e5722@syzkaller.appspotmail.com
First crash: 13d, last: 13d

Sample crash report:
list_add corruption. next->prev should be prev (ffff0000ce522608), but was 0000000000000000. (next=ffff0000cde85e00).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:29!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 3036 Comm: kworker/1:4 Not tainted 6.1.0-rc4-syzkaller-31872-g1621b6eaebf7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Workqueue: mld mld_ifc_work
pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __list_add_valid+0x9c/0xb8 lib/list_debug.c:27
lr : __list_add_valid+0x9c/0xb8 lib/list_debug.c:27
sp : ffff800012bfba40
x29: ffff800012bfba40 x28: 00007bfdfe1edc60 x27: 0000000000000015
x26: ffff0000ce5225b0 x25: ffff0000c3d82d70 x24: ffff0000ce522000
x23: ffff0000cde85e00 x22: ffff0000c3f5cd80 x21: ffff0000ce522608
x20: 0000000000000000 x19: ffff0000ce5225b8 x18: 00000000000000c0
x17: 3830363232356563 x16: ffff80000db1a158 x15: ffff0000c4f44ec0
x14: 0000000000000000 x13: 00000000ffffffff x12: ffff0000c4f44ec0
x11: ff808000081c06c8 x10: 0000000000000000 x9 : 6e082120c18aba00
x8 : 6e082120c18aba00 x7 : ffff80000c01775c x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0001fefddcc8 x1 : 0000000100000001 x0 : 0000000000000075
Call trace:
 __list_add_valid+0x9c/0xb8 lib/list_debug.c:27
 __list_add include/linux/list.h:69 [inline]
 list_add include/linux/list.h:88 [inline]
 ref_tracker_alloc+0x118/0x280 lib/ref_tracker.c:95
 __netdev_tracker_alloc include/linux/netdevice.h:3995 [inline]
 netdev_hold include/linux/netdevice.h:4024 [inline]
 dst_init+0x98/0x17c net/core/dst.c:52
 dst_alloc+0x118/0x158 net/core/dst.c:96
 ip6_dst_alloc net/ipv6/route.c:344 [inline]
 icmp6_dst_alloc+0x54/0x22c net/ipv6/route.c:3261
 mld_sendpack+0x348/0x864 net/ipv6/mcast.c:1809
 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: b001b0e0 9132ac00 aa0803e1 94a8304b (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-gce-arm64 2022/11/13 02:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1621b6eaebf7 3ead01ad .config log report syz C BUG: corrupted list in dst_init
* Struck through repros no longer work on HEAD.