syzbot


BUG: corrupted list in do_timer_create

Status: auto-closed as invalid on 2020/12/04 06:37
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+a0bb172236e752829dab@syzkaller.appspotmail.com
First crash: 1328d, last: 1328d

Sample crash report:
list_add corruption. next->prev should be prev (ffff88809c3ae2b8), but was 0770077007700077. (next=ffff888000111df8).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:23!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 13716 Comm: syz-executor.2 Not tainted 5.9.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_add_valid.cold+0xf/0x3c lib/list_debug.c:23
Code: 15 fe eb d7 4c 89 e7 e8 c0 3d 15 fe eb a5 48 89 ef e8 b6 3d 15 fe e9 57 ff ff ff 4c 89 e1 48 c7 c7 80 1a 94 88 e8 d1 96 be fd <0f> 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 c0 1b 94 88 e8 ba 96 be
RSP: 0018:ffffc90015807d48 EFLAGS: 00010086
RAX: 0000000000000075 RBX: ffff888000111df8 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff815db9a7 RDI: fffff52002b00f9b
RBP: ffff888000111c80 R08: 0000000000000075 R09: ffff8880ae6318e7
R10: 0000000000000000 R11: 0000000000170088 R12: ffff888000111df8
R13: ffff88809c3ae200 R14: 0000000000000001 R15: ffff88809c3ae200
FS:  00007fe110daa700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30324000 CR3: 000000003638f000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_add include/linux/list.h:67 [inline]
 list_add include/linux/list.h:86 [inline]
 do_timer_create+0xe6f/0x14f0 kernel/time/posix-timers.c:562
 __do_sys_timer_create kernel/time/posix-timers.c:586 [inline]
 __se_sys_timer_create kernel/time/posix-timers.c:577 [inline]
 __x64_sys_timer_create+0x16f/0x1b0 kernel/time/posix-timers.c:577
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45d5b9
Code: 5d 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 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fe110da9c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000de
RAX: ffffffffffffffda RBX: 00000000000360c0 RCX: 000000000045d5b9
RDX: 0000000020000080 RSI: 0000000020000140 RDI: 0000000000000000
RBP: 000000000118d020 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cfec
R13: 000000000169fb6f R14: 00007fe110daa9c0 R15: 000000000118cfec
Modules linked in:
---[ end trace 43f235a7a320b1aa ]---
RIP: 0010:__list_add_valid.cold+0xf/0x3c lib/list_debug.c:23
Code: 15 fe eb d7 4c 89 e7 e8 c0 3d 15 fe eb a5 48 89 ef e8 b6 3d 15 fe e9 57 ff ff ff 4c 89 e1 48 c7 c7 80 1a 94 88 e8 d1 96 be fd <0f> 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 c0 1b 94 88 e8 ba 96 be
RSP: 0018:ffffc90015807d48 EFLAGS: 00010086
RAX: 0000000000000075 RBX: ffff888000111df8 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff815db9a7 RDI: fffff52002b00f9b
RBP: ffff888000111c80 R08: 0000000000000075 R09: ffff8880ae6318e7
R10: 0000000000000000 R11: 0000000000170088 R12: ffff888000111df8
R13: ffff88809c3ae200 R14: 0000000000000001 R15: ffff88809c3ae200
FS:  00007fe110daa700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30324000 CR3: 000000003638f000 CR4: 00000000001526f0
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/09/05 06:36 upstream c70672d8d316 abf9ba4f .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.