syzbot


BUG: corrupted list in corrupted

Status: upstream: reported C repro on 2020/09/27 07:51
Reported-by: syzbot+66dbd7f76c5d8712a1f9@syzkaller.appspotmail.com
First crash: 790d, last: 151d

Fix bisection: failed (bisect log)
similar bugs (7):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in corrupted (2) syz 1 1324d 1324d 0/24 closed as invalid on 2019/04/12 11:15
upstream BUG: corrupted list in corrupted C 4 1581d 1582d 0/24 closed as invalid on 2018/07/29 11:55
upstream BUG: corrupted list in corrupted (3) C 1 889d 885d 0/24 closed as dup on 2020/06/24 12:45
upstream KMSAN: uninit-value in corrupted syz 2 379d 379d 0/24 closed as invalid on 2021/11/18 13:55
android-54 BUG: unable to handle kernel NULL pointer dereference in corrupted C 214 9d03h 718d 0/2 upstream: reported C repro on 2020/12/07 19:36
upstream BUG: unable to handle kernel paging request in corrupted (3) C done 45 389d 558d 22/24 fixed on 2021/11/10 00:50
upstream KASAN: use-after-free Read in corrupted (4) C done error 9 142d 836d 0/24 upstream: reported C repro on 2020/08/11 12:47

Sample crash report:
list_del corruption, ffff8880b27c7a90->next is LIST_POISON1 (dead000000000100)
list_del corruption, ffff8880a2477a90->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:45!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
kernel BUG at lib/list_debug.c:45!
CPU: 1 PID: 8108 Comm: syz-executor172 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:ffff8880b27c7970 EFLAGS: 00010086
RAX: 000000000000004e RBX: ffff8880b27c7a78 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10164f8f20
RBP: ffff8880b27c7a90 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff8880b27c7a98 R15: 0000000000000007
FS:  00005555560c8300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f26dcf9c740 CR3: 00000000a9eeb000 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
 sock_write_iter+0x287/0x3c0 net/socket.c:966
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 vfs_write+0x1f3/0x540 fs/read_write.c:549
 ksys_write+0x12b/0x2a0 fs/read_write.c:599
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fe5cb3f5e69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcb2100338 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fe5cb3f5e69
RDX: 00000000fffffd6d RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 00007fe5cb3b9640
R13: 0000000000000000 R14: 00007ffcb2100360 R15: 00007ffcb2100350
Modules linked in:
---[ end trace 2f25a902957afedc ]---
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
CPU: 0 PID: 8109 Comm: syz-executor172 Tainted: G      D           4.19.211-syzkaller #0
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
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RSP: 0018:ffff8880b27c7970 EFLAGS: 00010086
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
RAX: 000000000000004e RBX: ffff8880b27c7a78 RCX: 0000000000000000
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
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10164f8f20
RSP: 0018:ffff8880a2477970 EFLAGS: 00010086
RBP: ffff8880b27c7a90 R08: 000000000000004e R09: 0000000000000000
RAX: 000000000000004e RBX: ffff8880a2477a78 RCX: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101448ef20
R13: dead000000000100 R14: ffff8880b27c7a98 R15: 0000000000000007
RBP: ffff8880a2477a90 R08: 000000000000004e R09: 0000000000000000
FS:  00005555560c8300(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff8880a2477a98 R15: 0000000000000007
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
FS:  00005555560c8300(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CR2: 00007f26dcf9c740 CR3: 00000000a9eeb000 CR4: 00000000003406e0
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
CR2: 000055667a467160 CR3: 00000000b49d2000 CR4: 00000000003406f0
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000

Crashes (4):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2022/06/27 17:15 linux-4.19.y 3f8a27f9e27b a371c43c .config log report syz C BUG: corrupted list in corrupted
ci2-linux-4-19 2021/07/04 04:08 linux-4.19.y 9f84340f012e 55aa55c2 .config log report syz C BUG: corrupted list in corrupted
ci2-linux-4-19 2020/10/20 16:19 linux-4.19.y ad326970d25c ff4a3345 .config log report syz C
ci2-linux-4-19 2020/09/27 07:51 linux-4.19.y 10ad6cfd5736 5dd8aee8 .config log report syz C
* Struck through repros no longer work on HEAD.