syzbot


WARNING in pm_qos_remove_request (2)

Status: upstream: reported C repro on 2022/03/30 20:12
Reported-by: syzbot+3f77ebe0a69731cd17dc@syzkaller.appspotmail.com
First crash: 985d, last: 758d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in pm_qos_remove_request C error 2 985d 1471d 0/1 upstream: reported C repro on 2020/11/29 23:53
linux-4.19 WARNING in pm_qos_remove_request 1 1261d 1261d 0/1 auto-closed as invalid on 2021/10/26 09:18

Sample crash report:
------------[ cut here ]------------
pm_qos_remove_request() called for unknown object
WARNING: CPU: 0 PID: 8413 at kernel/power/qos.c:535 pm_qos_remove_request+0x6a/0x80 kernel/power/qos.c:535
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8413 Comm: syz-executor142 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:pm_qos_remove_request+0x6a/0x80 kernel/power/qos.c:535
Code: 00 85 db 74 14 e8 c6 5d 16 00 48 89 ef e8 ee fb ff ff 5b 5d e9 b7 5d 16 00 e8 b2 5d 16 00 48 c7 c7 60 7e 6a 88 e8 8b 95 a6 06 <0f> 0b 5b 5d e9 9d 5d 16 00 e8 f8 39 4c 00 eb bb 66 0f 1f 44 00 00
RSP: 0018:ffff888094e37bf0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10129c6f70
RBP: ffff88823582b700 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 1ffff110129c6f89
R13: 0000000000000001 R14: ffff88823582b92c R15: 0000000000000000
 snd_pcm_hw_free sound/core/pcm_native.c:827 [inline]
 snd_pcm_common_ioctl+0x12a0/0x29a0 sound/core/pcm_native.c:2906
 snd_pcm_ioctl+0x7e/0xb0 sound/core/pcm_native.c:2985
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
 __do_sys_ioctl fs/ioctl.c:712 [inline]
 __se_sys_ioctl fs/ioctl.c:710 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fe0779117a9
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:00007ffeb0f807a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007fe0779117a9
RDX: 0000000000000000 RSI: 0000000000004112 RDI: 0000000000000004
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: 000000000000ffff R11: 0000000000000246 R12: 000000000000804e
R13: 00007ffeb0f807bc R14: 00007ffeb0f807d0 R15: 00007ffeb0f807c0
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/30 20:12 linux-4.19.y 3f8a27f9e27b 42718dd6 .config console log report syz C ci2-linux-4-19 WARNING in pm_qos_remove_request
2022/10/25 18:39 linux-4.19.y 3f8a27f9e27b 45645420 .config console log report syz [disk image] [vmlinux] ci2-linux-4-19 WARNING in pm_qos_remove_request
2022/11/12 23:42 linux-4.19.y 3f8a27f9e27b f42ee5d8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in pm_qos_remove_request
2022/10/25 12:46 linux-4.19.y 3f8a27f9e27b 45645420 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in pm_qos_remove_request
2022/06/17 19:15 linux-4.19.y 3f8a27f9e27b 8f633d84 .config console log report info ci2-linux-4-19 WARNING in pm_qos_remove_request
2022/05/21 04:25 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report info ci2-linux-4-19 WARNING in pm_qos_remove_request
2022/05/08 11:52 linux-4.19.y 3f8a27f9e27b e60b1103 .config console log report info ci2-linux-4-19 WARNING in pm_qos_remove_request
* Struck through repros no longer work on HEAD.