syzbot


BUG: corrupted list in proto_register

Status: auto-closed as invalid on 2019/10/25 08:47
Reported-by: syzbot+7bc2817ec0ed18de9079@syzkaller.appspotmail.com
First crash: 1354d, last: 1354d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 BUG: corrupted list in proto_register 24291 1337d 1346d 0/1 auto-closed as invalid on 2019/10/25 08:45

Sample crash report:
list_add double add: new=ffffffff89544ab0, prev=ffffffff89334ac0, next=ffffffff89544ab0.
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:29!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 9059 Comm: syz-executor.5 Not tainted 5.1.0+ #18
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29
Code: 56 ff ff ff 4c 89 e1 48 c7 c7 20 4c a3 87 e8 00 60 25 fe 0f 0b 48 89 f2 4c 89 e1 4c 89 ee 48 c7 c7 60 4d a3 87 e8 e9 5f 25 fe <0f> 0b 48 89 f1 48 c7 c7 e0 4c a3 87 4c 89 e6 e8 d5 5f 25 fe 0f 0b
RSP: 0018:ffff88807a757b88 EFLAGS: 00010282
RAX: 0000000000000058 RBX: ffffffff89544920 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815afbe6 RDI: ffffed100f4eaf63
RBP: ffff88807a757ba0 R08: 0000000000000058 R09: ffffed1015d26011
R10: ffffed1015d26010 R11: ffff8880ae930087 R12: ffffffff89544ab0
R13: ffffffff89544ab0 R14: ffffffff89544ab0 R15: ffffffff89544a50
FS:  0000000002476940(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1ad1fd91b0 CR3: 000000007a717000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_add include/linux/list.h:60 [inline]
 list_add include/linux/list.h:79 [inline]
 proto_register+0x459/0x8e0 net/core/sock.c:3385
 tipc_socket_init+0x1c/0x70 net/tipc/socket.c:3241
 tipc_init_net+0x32a/0x5b0 net/tipc/core.c:71
 ops_init+0xb6/0x410 net/core/net_namespace.c:129
 setup_net+0x2d3/0x740 net/core/net_namespace.c:315
 copy_net_ns+0x1df/0x340 net/core/net_namespace.c:438
 create_new_namespaces+0x400/0x7b0 kernel/nsproxy.c:107
 unshare_nsproxy_namespaces+0xc2/0x200 kernel/nsproxy.c:206
 ksys_unshare+0x440/0x980 kernel/fork.c:2664
 __do_sys_unshare kernel/fork.c:2732 [inline]
 __se_sys_unshare kernel/fork.c:2730 [inline]
 __x64_sys_unshare+0x31/0x40 kernel/fork.c:2730
 do_syscall_64+0x103/0x680 arch/x86/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45b897
Code: 00 00 00 b8 63 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 8d fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 10 01 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8d 8d fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fffdc498168 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 000000000073c988 RCX: 000000000045b897
RDX: 0000000000000000 RSI: 00007fffdc498110 RDI: 0000000040000000
RBP: 00000000000000f8 R08: 0000000000000000 R09: 0000000000000005
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000414ab0
R13: 0000000000414b40 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 36bf15fd88c899b4 ]---
RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29
Code: 56 ff ff ff 4c 89 e1 48 c7 c7 20 4c a3 87 e8 00 60 25 fe 0f 0b 48 89 f2 4c 89 e1 4c 89 ee 48 c7 c7 60 4d a3 87 e8 e9 5f 25 fe <0f> 0b 48 89 f1 48 c7 c7 e0 4c a3 87 4c 89 e6 e8 d5 5f 25 fe 0f 0b

Crashes (1152):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-this-kasan-gce 2019/05/18 06:55 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 06:43 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 06:31 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 06:19 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 06:07 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 05:56 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 05:45 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 05:33 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 05:21 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 05:10 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 04:58 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 04:46 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 04:34 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 04:21 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 04:09 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 03:58 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 03:46 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 03:34 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 03:22 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 03:10 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 02:57 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 02:45 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 02:34 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 02:21 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 02:08 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 01:55 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 01:43 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 01:28 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 01:16 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 01:04 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 00:50 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 00:37 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 00:25 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/18 00:11 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 23:59 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 23:46 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 23:33 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 23:20 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 23:07 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 22:54 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 22:39 net 532b0f7ece4c 40046286 .config console log report
ci-upstream-net-this-kasan-gce 2019/05/17 19:45 net 532b0f7ece4c 95dfd515 .config console log report
* Struck through repros no longer work on HEAD.