syzbot


BUG: corrupted list in netif_napi_del

Status: auto-closed as invalid on 2020/05/05 16:05
Subsystems: net
[Documentation on labels]
First crash: 1535d, last: 1535d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in netif_napi_del (2) net 2 1309d 1336d 0/26 auto-closed as invalid on 2020/12/17 17:43
linux-4.19 general protection fault in netif_napi_del (2) C error 28 442d 676d 0/1 upstream: reported C repro on 2022/06/13 16:31

Sample crash report:
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:53!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2025 Comm: syz-executor.0 Not tainted 5.5.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0xe6/0x100 lib/list_debug.c:51
Code: 93 b6 bc fd 0f 0b 48 c7 c7 db 7d f0 88 4c 89 f6 31 c0 e8 80 b6 bc fd 0f 0b 48 c7 c7 13 7e f0 88 4c 89 f6 31 c0 e8 6d b6 bc fd <0f> 0b 48 c7 c7 51 7e f0 88 4c 89 f6 31 c0 e8 5a b6 bc fd 0f 0b cc
RSP: 0018:ffffc90001e17670 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff8880582a8058 RCX: 13efea1dc3811e00
RDX: ffffc90002189000 RSI: 000000000001c3a5 RDI: 000000000001c3a6
RBP: ffffc90001e17690 R08: ffffffff815fcf04 R09: ffffed1015d66618
R10: ffffed1015d66618 R11: 0000000000000000 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffe8ffffc7ccf8 R15: ffffe8ffffd7ce03
FS:  00007f61c8b37700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 000000008c775000 CR4: 00000000001406e0
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_init include/linux/list.h:204 [inline]
 netif_napi_del+0x18e/0x7f0 net/core/dev.c:6555
 gro_cells_destroy+0xf7/0x340 net/core/gro_cells.c:102
 ip6_dev_free+0x19/0x60 net/ipv6/ip6_tunnel.c:249
 netdev_run_todo+0xb6c/0xdd0 net/core/dev.c:9645
 rtnl_unlock net/core/rtnetlink.c:112 [inline]
 rtnetlink_rcv_msg+0x890/0xd40 net/core/rtnetlink.c:5439
 netlink_rcv_skb+0x19e/0x3e0 net/netlink/af_netlink.c:2477
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5456
 netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
 netlink_unicast+0x766/0x920 net/netlink/af_netlink.c:1328
 netlink_sendmsg+0xa2b/0xd40 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg net/socket.c:672 [inline]
 ____sys_sendmsg+0x4f7/0x7f0 net/socket.c:2343
 ___sys_sendmsg net/socket.c:2397 [inline]
 __sys_sendmsg+0x1ed/0x290 net/socket.c:2430
 __do_sys_sendmsg net/socket.c:2439 [inline]
 __se_sys_sendmsg net/socket.c:2437 [inline]
 __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2437
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45b399
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f61c8b36c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f61c8b376d4 RCX: 000000000045b399
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000009ca R14: 00000000004cb3bb R15: 000000000075bf2c
Modules linked in:
---[ end trace 8cc66875ed76484f ]---
RIP: 0010:__list_del_entry_valid+0xe6/0x100 lib/list_debug.c:51
Code: 93 b6 bc fd 0f 0b 48 c7 c7 db 7d f0 88 4c 89 f6 31 c0 e8 80 b6 bc fd 0f 0b 48 c7 c7 13 7e f0 88 4c 89 f6 31 c0 e8 6d b6 bc fd <0f> 0b 48 c7 c7 51 7e f0 88 4c 89 f6 31 c0 e8 5a b6 bc fd 0f 0b cc
RSP: 0018:ffffc90001e17670 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff8880582a8058 RCX: 13efea1dc3811e00
RDX: ffffc90002189000 RSI: 000000000001c3a5 RDI: 000000000001c3a6
RBP: ffffc90001e17690 R08: ffffffff815fcf04 R09: ffffed1015d66618
R10: ffffed1015d66618 R11: 0000000000000000 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffffe8ffffc7ccf8 R15: ffffe8ffffd7ce03
FS:  00007f61c8b37700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d621000 CR3: 000000008c775000 CR4: 00000000001406f0
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/02/05 15:57 upstream 6992ca0dd017 662cf49a .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.