WARNING in plist_check_prev_next
From: syzbot
Date: Tue Apr 14 2020 - 09:06:37 EST
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=1600bdb3e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=23c5a352e32a1944
dashboard link: https://syzkaller.appspot.com/bug?extid=9c64e877cca5f208807f
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
userspace arch: i386
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+9c64e877cca5f208807f@xxxxxxxxxxxxxxxxxxxxxxxxx
------------[ cut here ]------------
top: 00000000dcea6c9a, n: 0000000093c70fdb, p: 0000000013dbca61
prev: 00000000dcea6c9a, n: 0000000093c70fdb, p: 0000000013dbca61
next: 0000000093c70fdb, n: 0000000093c70fdb, p: 0000000093c70fdb
WARNING: CPU: 1 PID: 30481 at lib/plist.c:35 plist_check_prev_next+0x108/0x1a0 lib/plist.c:35
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 30481 Comm: syz-executor.3 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:plist_check_prev_next+0x108/0x1a0 lib/plist.c:35
Code: df 48 c1 ee 03 80 3c 16 00 75 6c 49 8b 14 24 41 55 4d 89 f1 49 89 d8 50 4c 89 e6 48 c7 c7 80 20 fc 88 55 41 57 e8 60 52 7b f9 <0f> 0b 48 83 c4 20 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 1f
RSP: 0018:ffffc90007d9f8d0 EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffffffff899a9780 RCX: 0000000000000000
RDX: 0000000000020c0b RSI: ffffffff815cd551 RDI: fffff52000fb3f0c
RBP: ffff8880a8479858 R08: ffff8880673a60c0 R09: ffffed1015ce45f1
R10: ffff8880ae722f83 R11: ffffed1015ce45f0 R12: ffffffff899a9780
R13: ffff8880a8479858 R14: ffff8880a8479858 R15: ffffffff8bbc3ed8
plist_check_list+0x41/0xa0 lib/plist.c:48
plist_add+0x2f/0x4e0 lib/plist.c:78
pm_qos_update_target+0x4ac/0x5d0 kernel/power/qos.c:125
cpu_latency_qos_apply+0x40/0x70 kernel/power/qos.c:247
cpu_latency_qos_add_request+0xf1/0x3c0 kernel/power/qos.c:277
snd_pcm_hw_params+0x173c/0x1da0 sound/core/pcm_native.c:757
snd_pcm_kernel_ioctl+0xd1/0x240 sound/core/pcm_native.c:3305
snd_pcm_oss_change_params_locked+0x1328/0x34b0 sound/core/oss/pcm_oss.c:941
snd_pcm_oss_make_ready_locked+0xb3/0x130 sound/core/oss/pcm_oss.c:1166
snd_pcm_oss_write1 sound/core/oss/pcm_oss.c:1384 [inline]
snd_pcm_oss_write+0x43b/0x8c0 sound/core/oss/pcm_oss.c:2765
__vfs_write+0x76/0x100 fs/read_write.c:495
vfs_write+0x268/0x5d0 fs/read_write.c:559
ksys_write+0x12d/0x250 fs/read_write.c:612
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@xxxxxxxxxxxxxxxxx
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.