linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WARNING in cpu_latency_qos_remove_request
@ 2020-04-14 15:13 syzbot
  2021-06-06  8:49 ` [syzbot] " syzbot
  0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2020-04-14 15:13 UTC (permalink / raw)
  To: len.brown, linux-kernel, linux-pm, pavel, rjw, syzkaller-bugs

Hello,

syzbot found the following crash on:

HEAD commit:    c0cc2711 Merge tag 'modules-for-v5.7' of git://git.kernel...
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=10834007e00000
kernel config:  https://syzkaller.appspot.com/x/.config?x=23c5a352e32a1944
dashboard link: https://syzkaller.appspot.com/bug?extid=6e2d4fbfbf03293bb776
compiler:       gcc (GCC) 9.0.0 20181231 (experimental)
userspace arch: i386
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=14fbbffbe00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+6e2d4fbfbf03293bb776@syzkaller.appspotmail.com

------------[ cut here ]------------
cpu_latency_qos_remove_request called for unknown object
WARNING: CPU: 1 PID: 9086 at kernel/power/qos.c:322 cpu_latency_qos_remove_request+0x59/0x380 kernel/power/qos.c:322
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 9086 Comm: syz-executor.2 Not tainted 5.6.0-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+0x188/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x35 kernel/panic.c:582
 report_bug+0x27b/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:175 [inline]
 fixup_bug arch/x86/kernel/traps.c:170 [inline]
 do_error_trap+0x12b/0x220 arch/x86/kernel/traps.c:267
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:cpu_latency_qos_remove_request+0x59/0x380 kernel/power/qos.c:322
Code: 02 00 0f 85 f4 02 00 00 48 81 7d 28 80 97 9a 89 74 25 e8 3a 85 18 00 48 c7 c6 20 fc 2b 88 48 c7 c7 20 f8 2b 88 e8 4f b9 e9 ff <0f> 0b 5b 5d 41 5c 41 5d e9 1a 85 18 00 e8 15 85 18 00 0f 1f 44 00
RSP: 0018:ffffc90002717bb0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815cd551 RDI: fffff520004e2f68
RBP: ffff8880a3644840 R08: ffff8880a2b04300 R09: ffffed1015ce66a9
R10: ffff8880ae733547 R11: ffffed1015ce66a8 R12: ffff8880a3644800
R13: ffff8880a36449e4 R14: 1ffff920004e2f85 R15: 0000000000000000
 snd_pcm_hw_free sound/core/pcm_native.c:827 [inline]
 snd_pcm_common_ioctl+0xb32/0x2260 sound/core/pcm_native.c:3192
 snd_pcm_ioctl_compat+0x70b/0x10d0 sound/core/pcm_compat.c:532
 __do_compat_sys_ioctl fs/ioctl.c:857 [inline]
 __se_compat_sys_ioctl fs/ioctl.c:808 [inline]
 __ia32_compat_sys_ioctl+0x23d/0x2b0 fs/ioctl.c:808
 do_syscall_32_irqs_on arch/x86/entry/common.c:337 [inline]
 do_fast_syscall_32+0x270/0xe90 arch/x86/entry/common.c:396
 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [syzbot] WARNING in cpu_latency_qos_remove_request
  2020-04-14 15:13 WARNING in cpu_latency_qos_remove_request syzbot
@ 2021-06-06  8:49 ` syzbot
  0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2021-06-06  8:49 UTC (permalink / raw)
  To: len.brown, linux-kernel, linux-pm, pavel, rjw, syzkaller-bugs, torvalds

syzbot has found a reproducer for the following issue on:

HEAD commit:    a1f92694 Add linux-next specific files for 20210518
git tree:       linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=12e1f4e0300000
kernel config:  https://syzkaller.appspot.com/x/.config?x=d612e75ffd53a6d3
dashboard link: https://syzkaller.appspot.com/bug?extid=6e2d4fbfbf03293bb776
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=12897d33d00000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=177199afd00000

The issue was bisected to:

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

bisection log:  https://syzkaller.appspot.com/x/bisect.txt?x=14a8bdb3e00000
final oops:     https://syzkaller.appspot.com/x/report.txt?x=16a8bdb3e00000
console output: https://syzkaller.appspot.com/x/log.txt?x=12a8bdb3e00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+6e2d4fbfbf03293bb776@syzkaller.appspotmail.com
Fixes: c20037652700 ("Merge tag 'io_uring-5.6-2020-03-07' of git://git.kernel.dk/linux-block")

------------[ 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-06  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 15:13 WARNING in cpu_latency_qos_remove_request syzbot
2021-06-06  8:49 ` [syzbot] " syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).