syzbot


BUG: corrupted list in remove_wait_queue

Status: upstream: reported C repro on 2019/04/10 16:06
Reported-by: syzbot+8994162da09c6d9e1ad7@syzkaller.appspotmail.com
First crash: 1834d, last: 407d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in remove_wait_queue kvm net virt C 5 2216d 2219d 5/26 fixed on 2018/04/06 16:37
upstream KASAN: use-after-free Read in remove_wait_queue (3) kernfs C inconclusive 123 457d 883d 22/26 fixed on 2023/02/24 13:50
linux-4.14 KASAN: use-after-free Read in remove_wait_queue (2) C error 7 775d 1471d 0/1 upstream: reported C repro on 2020/04/07 06:03
upstream KASAN: slab-use-after-free Read in remove_wait_queue usb input 3 299d 300d 0/26 auto-obsoleted due to no activity on 2023/10/01 17:55

Sample crash report:
list_del corruption, ffff8880b283fa70->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:45!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8163 Comm: syz-executor254 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
Code: e8 11 43 f7 ff 0f 0b 48 89 ee 48 c7 c7 40 e4 b3 88 e8 00 43 f7 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 80 e3 b3 88 e8 ec 42 f7 ff <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 e3 b3 88 e8 d8 42 f7 ff 0f 0b
RSP: 0018:ffff8880b283f950 EFLAGS: 00010086
RAX: 000000000000004e RBX: ffff8880b283fa58 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1016507f1c
RBP: ffff8880b283fa70 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff8880b283fa78 R15: 0000000000000007
FS:  00007f3241228700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3241228718 CR3: 00000000b3bdf000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del include/linux/list.h:125 [inline]
 __remove_wait_queue include/linux/wait.h:184 [inline]
 remove_wait_queue+0x2c/0x180 kernel/sched/wait.c:44
 __tipc_sendstream+0x373/0x9d0 net/tipc/socket.c:1449
 tipc_sendstream+0x4c/0x70 net/tipc/socket.c:1414
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f32412b8a49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f3241228318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f3241340428 RCX: 00007f32412b8a49
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004
RBP: 00007f3241340420 R08: 00007f3241228700 R09: 0000000000000000
R10: 00007f3241228700 R11: 0000000000000246 R12: 00007f324134042c
R13: 00007fff8ccbe82f R14: 00007f3241228400 R15: 0000000000022000
Modules linked in:
---[ end trace 4b56043c37ffb18e ]---
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
Code: e8 11 43 f7 ff 0f 0b 48 89 ee 48 c7 c7 40 e4 b3 88 e8 00 43 f7 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 80 e3 b3 88 e8 ec 42 f7 ff <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 e0 e3 b3 88 e8 d8 42 f7 ff 0f 0b
RSP: 0018:ffff8880b283f950 EFLAGS: 00010086
RAX: 000000000000004e RBX: ffff8880b283fa58 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1016507f1c
RBP: ffff8880b283fa70 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff8880b283fa78 R15: 0000000000000007
FS:  00007f3241228700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3241228718 CR3: 00000000b3bdf000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (31139):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/01 08:20 linux-4.19.y 3f8a27f9e27b b68fb8d6 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/01/10 22:27 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/01/10 08:51 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/01/10 05:42 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/12/31 19:12 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/12/30 11:03 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/12/26 12:50 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/12/12 03:58 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/12/03 05:11 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/09/24 13:33 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/09/07 05:16 linux-4.19.y 3f8a27f9e27b 5fc30c37 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/09/06 06:04 linux-4.19.y 3f8a27f9e27b 9dcd38fc .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/08/28 22:27 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/08/25 01:22 linux-4.19.y 3f8a27f9e27b 514514f6 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/08/06 10:52 linux-4.19.y 3f8a27f9e27b e853abd9 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/07/30 22:24 linux-4.19.y 3f8a27f9e27b fef302b1 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/07/04 01:42 linux-4.19.y 3f8a27f9e27b 1434eec0 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/06/24 02:35 linux-4.19.y 3f8a27f9e27b 912f5df7 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/06/16 12:11 linux-4.19.y 3f8a27f9e27b 1719ee24 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/06/12 11:43 linux-4.19.y 3f8a27f9e27b 0d5abf15 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/06/06 05:22 linux-4.19.y 3f8a27f9e27b c8857892 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/05/29 06:02 linux-4.19.y 3f8a27f9e27b a46af346 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/05/23 08:48 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/05/23 03:01 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/05/22 05:22 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/05/15 00:43 linux-4.19.y 3f8a27f9e27b 744a39e2 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/03/30 19:36 linux-4.19.y 3f8a27f9e27b 42718dd6 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/03/29 13:43 linux-4.19.y 3f8a27f9e27b 6bdac766 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/03/21 22:04 linux-4.19.y 3f8a27f9e27b e2d91b1d .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/03/20 16:12 linux-4.19.y 3f8a27f9e27b e2d91b1d .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/02/14 11:10 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/02/12 11:41 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/01/10 03:37 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/01/08 21:02 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/01/05 23:53 linux-4.19.y 3f8a27f9e27b 6acc789a .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2021/12/25 17:51 linux-4.19.y 3f8a27f9e27b 6caa12e4 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2021/10/30 04:15 linux-4.19.y 3f8a27f9e27b 098b5d53 .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2021/10/09 17:43 linux-4.19.y e34184f53363 838e7e2c .config console log report syz C ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2019/04/10 19:35 linux-4.19.y 4d552acf3370 65b612b7 .config console log report syz C ci2-linux-4-19
2022/02/20 23:52 linux-4.19.y 3f8a27f9e27b 3cd800e4 .config console log report syz ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2022/02/15 22:33 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config console log report syz ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 08:48 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 07:45 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 06:19 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 04:41 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 03:33 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 02:28 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 02:16 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 01:11 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/07 00:05 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 23:06 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 21:52 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 20:27 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 18:49 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 16:56 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 15:32 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 15:10 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 14:01 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 12:29 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 10:45 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 07:10 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 06:03 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 03:26 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 01:24 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/06 00:12 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 22:36 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 20:50 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 19:18 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 18:17 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 17:22 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 16:21 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 14:55 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 14:21 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 11:52 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 10:48 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 09:15 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 07:52 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 06:20 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 05:00 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 04:22 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 02:58 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/05 01:14 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/04 23:59 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/04 22:44 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/04 20:36 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/04 18:16 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/04 17:54 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2023/03/04 16:21 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: corrupted list in remove_wait_queue
2021/01/17 12:26 linux-4.19.y 675cc038067f 813be542 .config console log report info ci2-linux-4-19
2019/04/10 15:05 linux-4.19.y 4d552acf3370 65b612b7 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.