syzbot


BUG: corrupted list in net_rx_action

Status: closed as invalid on 2021/12/14 20:12
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 403d, last: 381d

Sample crash report:
list_del corruption. next->prev should be ffff88804fc06000, but was ffffc90000d27dc0
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:54!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.15.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid.cold+0x48/0x4a lib/list_debug.c:54
Code: e8 2a 4c f2 ff 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 20 38 e4 89 e8 16 4c f2 ff 0f 0b 48 89 ee 48 c7 c7 e0 38 e4 89 e8 05 4c f2 ff <0f> 0b 83 c3 01 b8 ff ff 37 00 89 1d 92 87 3b 07 48 c1 e0 2a 65 48
RSP: 0018:ffffc90000d27d20 EFLAGS: 00010286
RAX: 0000000000000054 RBX: 1ffffffff16c1e30 RCX: 0000000000000000
RDX: ffff888011ef8000 RSI: ffffffff815e9388 RDI: fffff520001a4f96
RBP: ffff88804fc06000 R08: 0000000000000054 R09: 0000000000000000
R10: ffffffff815e312e R11: 0000000000000000 R12: ffffc90000d27dc0
R13: ffff88804fc06000 R14: 000000000000012c R15: 000000000000012c
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5bc6285f21 CR3: 000000001afc8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 __list_del_entry include/linux/list.h:132 [inline]
 list_del_init include/linux/list.h:204 [inline]
 napi_poll net/core/dev.c:7056 [inline]
 net_rx_action+0x2b5/0xb40 net/core/dev.c:7147
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:920 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:912
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Modules linked in:
---[ end trace 141d4f7d09831938 ]---
RIP: 0010:__list_del_entry_valid.cold+0x48/0x4a lib/list_debug.c:54
Code: e8 2a 4c f2 ff 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 20 38 e4 89 e8 16 4c f2 ff 0f 0b 48 89 ee 48 c7 c7 e0 38 e4 89 e8 05 4c f2 ff <0f> 0b 83 c3 01 b8 ff ff 37 00 89 1d 92 87 3b 07 48 c1 e0 2a 65 48
RSP: 0018:ffffc90000d27d20 EFLAGS: 00010286
RAX: 0000000000000054 RBX: 1ffffffff16c1e30 RCX: 0000000000000000
RDX: ffff888011ef8000 RSI: ffffffff815e9388 RDI: fffff520001a4f96
RBP: ffff88804fc06000 R08: 0000000000000054 R09: 0000000000000000
R10: ffffffff815e312e R11: 0000000000000000 R12: ffffc90000d27dc0
R13: ffff88804fc06000 R14: 000000000000012c R15: 000000000000012c
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5bc6285f21 CR3: 000000001afc8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600

Crashes (9):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-next-kasan-gce 2021/10/19 14:54 bpf-next 223f903e9c83 24dc29db .config log report info BUG: corrupted list in net_rx_action
ci-upstream-kasan-gce-selinux-root 2021/11/10 03:44 upstream cb690f5238d7 55fa030c .config log report info KASAN: use-after-free Read in net_rx_action
ci-upstream-kasan-gce 2021/11/03 23:01 upstream dcd68326d29b 4c1be0be .config log report info KASAN: use-after-free Write in net_rx_action
ci-upstream-kasan-gce-386 2021/11/05 20:04 upstream fe91c4725aee 4c1be0be .config log report info KASAN: use-after-free Write in net_rx_action
ci-upstream-bpf-kasan-gce 2021/11/10 11:48 bpf b2c4618162ec 55fa030c .config log report info KASAN: use-after-free Write in net_rx_action
ci-upstream-bpf-kasan-gce 2021/11/02 18:34 bpf cc0356d6a02e 17f3edd2 .config log report info KASAN: use-after-free Write in net_rx_action
ci-upstream-net-kasan-gce 2021/11/09 16:53 net-next cc0356d6a02e 59bcaf9a .config log report info KASAN: use-after-free Write in net_rx_action
ci-upstream-bpf-next-kasan-gce 2021/11/09 16:39 bpf-next 5577f24cb04a 59bcaf9a .config log report info KASAN: use-after-free Write in net_rx_action
ci-upstream-bpf-next-kasan-gce 2021/11/09 03:31 bpf-next 5577f24cb04a 8ab17e57 .config log report info KASAN: use-after-free Read in net_rx_action
* Struck through repros no longer work on HEAD.