BUG: unable to handle kernel paging request in pm_qos_update_target

18 views
Skip to first unread message

syzbot

unread,
Apr 13, 2020, 4:37:13 AM4/13/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 4520f06b Linux 4.14.175
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1244a3c7e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=93cf891381c0c347
dashboard link: https://syzkaller.appspot.com/bug?extid=1d1a741103989b4f4305
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

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+1d1a74...@syzkaller.appspotmail.com

audit: type=1804 audit(1586766993.261:296): pid=15118 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="open_writers" comm="syz-executor.1" name="/root/syzkaller-testdir700766246/syzkaller.TyS5DR/146/bus" dev="sda1" ino=15761 res=1
BUG: unable to handle kernel paging request at fffffffffffffff0
IP: __read_once_size include/linux/compiler.h:183 [inline]
IP: list_empty include/linux/list.h:203 [inline]
IP: plist_del+0x92/0x440 lib/plist.c:125
PGD 7c6d067 P4D 7c6d067 PUD 7c6f067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 15119 Comm: syz-executor.3 Not tainted 4.14.175-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888040aee6c0 task.stack: ffff88804ef28000
RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline]
RIP: 0010:list_empty include/linux/list.h:203 [inline]
RIP: 0010:plist_del+0x92/0x440 lib/plist.c:125
RSP: 0018:ffff88804ef2fbe0 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff88809b85a940 RCX: ffffc90008cc5000
RDX: 1ffffffffffffffe RSI: ffffffff863add93 RDI: ffff88809b85a940
RBP: ffff88809b85a948 R08: 0000000000006e71 R09: ffffffff8a092c08
R10: ffff888040aeef40 R11: ffff888040aee6c0 R12: ffff88809b85a958
R13: fffffffffffffff0 R14: 0000000000000000 R15: 0000000000000282
FS: 00007fa8e12ef700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 000000008ea02000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pm_qos_update_target+0x6d2/0x9a0 kernel/power/qos.c:289
pm_qos_remove_request+0x11c/0x460 kernel/power/qos.c:541
snd_pcm_hw_free sound/core/pcm_native.c:790 [inline]
snd_pcm_common_ioctl+0xa6d/0x1bf0 sound/core/pcm_native.c:2914
snd_pcm_ioctl+0x6d/0xa0 sound/core/pcm_native.c:2993
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x75a/0xfe0 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c889
RSP: 002b:00007fa8e12eec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fa8e12ef6d4 RCX: 000000000045c889
RDX: 0000000000000000 RSI: 0000000000004112 RDI: 0000000000000005
RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000004fa R14: 00000000004d3d58 R15: 000000000076bf0c
Code: 73 18 4d 39 ee 74 31 e8 0d 69 1f fb 4d 8d 6e f0 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 28 03 00 00 <49> 8b 46 f0 49 39 c5 0f 84 d4 01 00 00 e8 dc 68 1f fb 4c 8d 6b
RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff88804ef2fbe0
RIP: list_empty include/linux/list.h:203 [inline] RSP: ffff88804ef2fbe0
RIP: plist_del+0x92/0x440 lib/plist.c:125 RSP: ffff88804ef2fbe0
CR2: fffffffffffffff0
---[ end trace 1faa73598a83776c ]---


---
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 syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Apr 13, 2020, 5:59:15 AM4/13/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: dda0e292 Linux 4.19.114
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=124d6b5de00000
kernel config: https://syzkaller.appspot.com/x/.config?x=f32ac7e5b2d5c341
dashboard link: https://syzkaller.appspot.com/bug?extid=60a251fe3f0d3cd98597
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=116cc743e00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=106f8c7de00000

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

BUG: unable to handle kernel paging request at fffffffffffffff0
PGD 8a70067 P4D 8a70067 PUD 8a72067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 8124 Comm: syz-executor001 Not tainted 4.19.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:list_empty include/linux/list.h:203 [inline]
RIP: 0010:plist_del+0x96/0x480 lib/plist.c:125
Code: 18 4d 39 ee 74 31 e8 d9 46 4e fa 4d 8d 6e f0 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 58 03 00 00 <49> 8b 46 f0 49 39 c5 0f 84 f2 01 00 00 e8 a8 46 4e fa 4c 8d 73 10
RSP: 0018:ffff88808794fb50 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff888216739280 RCX: ffffffff81509d79
RDX: 1ffffffffffffffe RSI: ffffffff87195d97 RDI: ffff888216739280
RBP: ffff888216739288 R08: ffff88809fbfc4c0 R09: fffffbfff1170259
R10: fffffbfff1170258 R11: ffffffff88b812c3 R12: ffff888216739298
R13: fffffffffffffff0 R14: 0000000000000000 R15: 0000000000000286
FS: 00007fb390f9f700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 000000009689b000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pm_qos_update_target+0x7d6/0xa00 kernel/power/qos.c:288
pm_qos_remove_request+0x13a/0x440 kernel/power/qos.c:542
snd_pcm_hw_free sound/core/pcm_native.c:822 [inline]
snd_pcm_common_ioctl+0xcd2/0x1f10 sound/core/pcm_native.c:2896
snd_pcm_ioctl+0x7e/0xb0 sound/core/pcm_native.c:2975
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcda/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:0x44a639
Code: e8 0c e8 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 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 0f 83 7b cb fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fb390f9edb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000006dbc48 RCX: 000000000044a639
RDX: 0000000000000000 RSI: 0000000000004112 RDI: 0000000000000004
RBP: 00000000006dbc40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dbc4c
R13: 00007ffc7a92ac9f R14: 00007fb390f9f9c0 R15: 0000000000000000
Modules linked in:
CR2: fffffffffffffff0
---[ end trace 6c291dc91fab4b52 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:193 [inline]
RIP: 0010:list_empty include/linux/list.h:203 [inline]
RIP: 0010:plist_del+0x96/0x480 lib/plist.c:125
Code: 18 4d 39 ee 74 31 e8 d9 46 4e fa 4d 8d 6e f0 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 00 0f 85 58 03 00 00 <49> 8b 46 f0 49 39 c5 0f 84 f2 01 00 00 e8 a8 46 4e fa 4c 8d 73 10
RSP: 0018:ffff88808794fb50 EFLAGS: 00010046
RAX: dffffc0000000000 RBX: ffff888216739280 RCX: ffffffff81509d79
RDX: 1ffffffffffffffe RSI: ffffffff87195d97 RDI: ffff888216739280
RBP: ffff888216739288 R08: ffff88809fbfc4c0 R09: fffffbfff1170259
R10: fffffbfff1170258 R11: ffffffff88b812c3 R12: ffff888216739298
R13: fffffffffffffff0 R14: 0000000000000000 R15: 0000000000000286
FS: 00007fb390f9f700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 000000009689b000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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 syzk...@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

syzbot

unread,
Aug 11, 2020, 4:37:18 AM8/11/20
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages