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: 778d, last: 102d

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)

Sample crash report:
------------[ cut here ]------------
cpu_latency_qos_remove_request called for unknown object
WARNING: CPU: 2 PID: 4353 at kernel/power/qos.c:322 cpu_latency_qos_remove_request+0x50/0x80 kernel/power/qos.c:322
Modules linked in:
CPU: 3 PID: 4353 Comm: syz-executor179 Not tainted 5.17.0-rc4-syzkaller-00002-gd567f5db412e #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
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 e0 6b a8 8b 74 20 e8 e3 9c 1a 00 48 c7 c6 a0 b6 ac 89 48 c7 c7 80 b1 ac 89 e8 46 11 ac 07 <0f> 0b 5d e9 c8 9c 1a 00 e8 c3 9c 1a 00 48 89 ef e8 ab fc ff ff 5d
RSP: 0018:ffffc90003567d30 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801c538200 RSI: ffffffff815f2dc8 RDI: fffff520006acf98
RBP: ffff88801fb3d040 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815ed45e R11: 0000000000000000 R12: 0000000000000000
R13: ffff88801fb3d000 R14: ffff88801cae5780 R15: 1ffff920006acfb4
FS:  00005555568b2300(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe8fe4a0290 CR3: 0000000023df2000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 snd_pcm_hw_free sound/core/pcm_native.c:870 [inline]
 snd_pcm_common_ioctl+0x1a71/0x3520 sound/core/pcm_native.c:3269
 snd_pcm_ioctl+0x7e/0xb0 sound/core/pcm_native.c:3352
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe8fe42c839
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:00007ffe05243cf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fe8fe42c839
RDX: 0000000000000000 RSI: 0000000000004112 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000246 R12: 000000000000fdc8
R13: 00007ffe05243d0c R14: 00007ffe05243d20 R15: 00007ffe05243d10
 </TASK>

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
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-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 2021/01/04 15:13 upstream e71ba9452f0b 79264ae3 .config log report syz
ci-upstream-kasan-gce-smack-root 2020/11/26 03:03 upstream fa02fcd94b0c 2f1cec62 .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