syzbot


BUG: corrupted list in __queue_work

Status: closed as invalid on 2018/09/05 12:51
Subsystems: lvs
[Documentation on labels]
First crash: 2363d, last: 2363d

Sample crash report:
IPVS: ip_vs_svc_hash(): request for already hashed, called from do_ip_vs_set_ctl+0x7cc/0x9c0 net/netfilter/ipvs/ip_vs_ctl.c:2433
IPVS: ip_vs_svc_hash(): request for already hashed, called from do_ip_vs_set_ctl+0x7cc/0x9c0 net/netfilter/ipvs/ip_vs_ctl.c:2433
list_add corruption. prev->next should be next (ffff88021fc208e0), but was ffff8801e7f20890. (prev=ffff8801e7f20890).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:28!
invalid opcode: 0000 [#1] SMP PTI
CPU: 0 PID: 24399 Comm: syz-executor6 Not tainted 4.18.0-rc8+ #32
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_add_valid+0x63/0xa0 lib/list_debug.c:26
Code: 89 c1 e8 00 b7 6c ff 0f 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 eb fe 48 c7 c7 27 23 2f 83 31 c0 4c 89 c6 e8 dd b6 6c ff <0f> 0b 90 66 2e 0f 1f 84 00 00 00 00 00 eb fe 48 c7 c7 79 23 2f 83 
RSP: 0018:ffff8801ccb8fe10 EFLAGS: 00010086
RAX: 0000000000000075 RBX: ffff8801e7f20890 RCX: 0000000000040000
RDX: ffffc90006f38000 RSI: 00000000000026f0 RDI: 00000000000026f1
RBP: ffff8801ccb8fe10 R08: 0000000000000000 R09: ffffffff83a1c00d
R10: ffff880216a291c0 R11: ffffffff81d91220 R12: ffff88021fc24800
R13: ffff88021fc208e0 R14: ffff8801e7f20988 R15: ffff8801e7f20990
FS:  00007fbb7db76700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb7db54db8 CR3: 0000000211b58000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 __list_add include/linux/list.h:60 [inline]
 list_add_tail include/linux/list.h:93 [inline]
 insert_work kernel/workqueue.c:1300 [inline]
 __queue_work+0x597/0x6c0 kernel/workqueue.c:1461
 queue_work_on+0x5e/0x80 kernel/workqueue.c:1486
 queue_work include/linux/workqueue.h:512 [inline]
 schedule_work include/linux/workqueue.h:570 [inline]
 smc_listen+0x1d0/0x220 net/smc/af_smc.c:1168
 __sys_listen+0xc7/0x110 net/socket.c:1527
 __do_sys_listen net/socket.c:1536 [inline]
 __se_sys_listen net/socket.c:1534 [inline]
 __x64_sys_listen+0x18/0x20 net/socket.c:1534
 do_syscall_64+0x61/0x90 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x457089
Code: fd b4 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 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007fbb7db75c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000032
RAX: ffffffffffffffda RBX: 00007fbb7db766d4 RCX: 0000000000457089
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00000000009300a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004d1ff8 R14: 00000000004c78e3 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace e1ccc6c58471d73d ]---
RIP: 0010:__list_add_valid+0x63/0xa0 lib/list_debug.c:26
Code: 89 c1 e8 00 b7 6c ff 0f 0b 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 eb fe 48 c7 c7 27 23 2f 83 31 c0 4c 89 c6 e8 dd b6 6c ff <0f> 0b 90 66 2e 0f 1f 84 00 00 00 00 00 eb fe 48 c7 c7 79 23 2f 83 
RSP: 0018:ffff8801ccb8fe10 EFLAGS: 00010086
RAX: 0000000000000075 RBX: ffff8801e7f20890 RCX: 0000000000040000
RDX: ffffc90006f38000 RSI: 00000000000026f0 RDI: 00000000000026f1
RBP: ffff8801ccb8fe10 R08: 0000000000000000 R09: ffffffff83a1c00d
R10: ffff880216a291c0 R11: ffffffff81d91220 R12: ffff88021fc24800
R13: ffff88021fc208e0 R14: ffff8801e7f20988 R15: ffff8801e7f20990
FS:  00007fbb7db76700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbb7db54db8 CR3: 0000000211b58000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/10 02:07 https://github.com/google/kmsan.git master 0cc51dc9a291 1fb62d58 .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.