syzbot


BUG: corrupted list in __netif_napi_del

Status: auto-closed as invalid on 2021/03/20 15:15
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+fa8159982c5519101bc7@syzkaller.appspotmail.com
First crash: 1184d, last: 1184d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in __netif_napi_del (3) net 1 488d 486d 0/26 auto-obsoleted due to no activity on 2023/03/16 19:11
upstream BUG: corrupted list in __netif_napi_del (2) net 3 1037d 1083d 0/26 auto-closed as invalid on 2021/08/14 18:06

Sample crash report:
list_del corruption. prev->next should be ffffe8ffffc3be00, but was ffffe8ffffc3beff
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:51!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 227 Comm: kworker/u4:5 Not tainted 5.10.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:__list_del_entry_valid.cold+0xf/0x4a lib/list_debug.c:51
Code: e8 7d c9 ef ff 0f 0b 48 89 f1 48 c7 c7 e0 52 bf 89 4c 89 e6 e8 69 c9 ef ff 0f 0b 48 89 ee 48 c7 c7 80 54 bf 89 e8 58 c9 ef ff <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 c0 53 bf 89 e8 44 c9 ef ff 0f 0b
RSP: 0018:ffffc9000155f968 EFLAGS: 00010286
RAX: 0000000000000054 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888012211ac0 RSI: ffffffff815a6965 RDI: fffff520002abf1f
RBP: ffffe8ffffc3be00 R08: 0000000000000054 R09: 0000000000000000
R10: ffffffff815a4dbb R11: 0000000000000000 R12: ffffe8ffffd3be00
R13: ffff8880717c640c R14: ffffe8ffffc3bca0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa715ec4db8 CR3: 000000005d548000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:132 [inline]
 list_del_rcu include/linux/rculist.h:166 [inline]
 __netif_napi_del net/core/dev.c:6778 [inline]
 __netif_napi_del+0x155/0x4d0 net/core/dev.c:6772
 gro_cells_destroy net/core/gro_cells.c:102 [inline]
 gro_cells_destroy+0x115/0x360 net/core/gro_cells.c:92
 ip_tunnel_dev_free+0x15/0x60 net/ipv4/ip_tunnel.c:1003
 netdev_run_todo+0x8c3/0xdf0 net/core/dev.c:10339
 ip_tunnel_delete_nets+0x2c3/0x3a0 net/ipv4/ip_tunnel.c:1117
 ops_exit_list+0x10d/0x160 net/core/net_namespace.c:190
 cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:604
 process_one_work+0x98d/0x1630 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296
Modules linked in:
---[ end trace f1f62e448db29d00 ]---
RIP: 0010:__list_del_entry_valid.cold+0xf/0x4a lib/list_debug.c:51
Code: e8 7d c9 ef ff 0f 0b 48 89 f1 48 c7 c7 e0 52 bf 89 4c 89 e6 e8 69 c9 ef ff 0f 0b 48 89 ee 48 c7 c7 80 54 bf 89 e8 58 c9 ef ff <0f> 0b 4c 89 ea 48 89 ee 48 c7 c7 c0 53 bf 89 e8 44 c9 ef ff 0f 0b
RSP: 0018:ffffc9000155f968 EFLAGS: 00010286
RAX: 0000000000000054 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888012211ac0 RSI: ffffffff815a6965 RDI: fffff520002abf1f
RBP: ffffe8ffffc3be00 R08: 0000000000000054 R09: 0000000000000000
R10: ffffffff815a4dbb R11: 0000000000000000 R12: ffffe8ffffd3be00
R13: ffff8880717c640c R14: ffffe8ffffc3bca0 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2af8899db8 CR3: 000000005d548000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/20 15:14 upstream 467f8165a2b0 04201c06 .config console log report info ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.