syzbot


WARNING in cpu_latency_qos_remove_request

Status: upstream: reported C repro on 2020/04/14 15:13
Reported-by: syzbot+6e2d4fbfbf03293bb776@syzkaller.appspotmail.com
First crash: 909d, last: 233d

Cause bisection: introduced by (bisect log) [merge commit]:
commit c20037652700024cffeb6b0f74306ce9b391248f
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sat Mar 7 20:20:29 2020 +0000

  Merge tag 'io_uring-5.6-2020-03-07' of git://git.kernel.dk/linux-block

Crash: WARNING in pm_qos_remove_request (log)
Repro: syz .config

Fix bisection: failed (bisect log)
Patch testing requests:
Created Duration User Patch Repo Result
2022/10/04 11:30 11m upstream error
2022/09/21 04:29 16m upstream OK log
2022/09/12 05:27 16m upstream OK log
2022/08/31 04:27 24m upstream OK log

Sample crash report:
------------[ cut here ]------------
cpu_latency_qos_remove_request called for unknown object
WARNING: CPU: 0 PID: 8994 at kernel/power/qos.c:322 cpu_latency_qos_remove_request+0x50/0x80 kernel/power/qos.c:322
Modules linked in:
CPU: 0 PID: 8994 Comm: syz-executor649 Not tainted 5.13.0-rc2-next-20210518-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:cpu_latency_qos_remove_request+0x50/0x80 kernel/power/qos.c:322
Code: ea 03 80 3c 02 00 75 3d 48 81 7d 28 20 0b 08 8c 74 20 e8 83 de 19 00 48 c7 c6 60 24 8c 89 48 c7 c7 c0 1f 8c 89 e8 4b ca 7f 07 <0f> 0b 5d e9 68 de 19 00 e8 63 de 19 00 48 89 ef e8 ab fc ff ff 5d
RSP: 0018:ffffc90001adfd40 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888021ef1c80 RSI: ffffffff815dbea5 RDI: fffff5200035bf9a
RBP: ffff8880279fd040 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815d5cee R11: 0000000000000000 R12: ffff8880279fd000
R13: ffff8880279fd1e4 R14: 1ffff9200035bfb4 R15: 0000000000000000
FS:  0000000001ee0300(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000458dc0 CR3: 0000000021b24000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 snd_pcm_hw_free sound/core/pcm_native.c:842 [inline]
 snd_pcm_common_ioctl+0x19d8/0x3330 sound/core/pcm_native.c:3219
 snd_pcm_ioctl+0x7e/0xb0 sound/core/pcm_native.c:3302
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:1069 [inline]
 __se_sys_ioctl fs/ioctl.c:1055 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:1055
 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x444639
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:00007ffe82f2e568 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 0000000000444639
RDX: 0000000000000000 RSI: 0000000000004112 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000012b9e
R13: 00007ffe82f2e57c R14: 00007ffe82f2e590 R15: 00007ffe82f2e580

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2021/06/06 08:48 linux-next a1f92694393a 500c2339 .config log report syz C WARNING in cpu_latency_qos_remove_request
ci-upstream-kasan-gce-root 2021/05/12 15:06 upstream 88b06399c9c7 da958a4d .config log report syz WARNING in cpu_latency_qos_remove_request
ci-upstream-kasan-gce-smack-root 2020/11/26 03:03 upstream fa02fcd94b0c 2f1cec62 .config log report syz
ci-qemu-upstream 2022/02/15 06:26 upstream d567f5db412e 8b9ca619 .config log report syz C WARNING in cpu_latency_qos_remove_request
ci-upstream-kasan-gce 2021/01/04 15:13 upstream e71ba9452f0b 79264ae3 .config log report syz
ci-upstream-kasan-gce-386 2020/04/10 15:07 upstream c0cc271173b2 a8c6a3f8 .config log report syz
ci-upstream-kasan-gce-smack-root 2020/11/25 22:02 upstream fa02fcd94b0c 2f1cec62 .config log report info
* Struck through repros no longer work on HEAD.