BUG: unable to handle kernel paging request in psi_group_change

4 views
Skip to first unread message

syzbot

unread,
Dec 9, 2022, 9:31:47 PM12/9/22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0d1409e4ff08 Merge tag 'drm-fixes-2022-12-09' of git://ano..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=133afa57880000
kernel config: https://syzkaller.appspot.com/x/.config?x=b83f3e90d74765ea
dashboard link: https://syzkaller.appspot.com/bug?extid=34f8891f3f828410cbb9
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [ak...@linux-foundation.org linux-...@vger.kernel.org linux-...@vger.kernel.org linu...@kvack.org wi...@infradead.org]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+34f889...@syzkaller.appspotmail.com

ntfs3: loop2: Different NTFS' sector size (1024) and media sector size (512)
BUG: unable to handle page fault for address: fffffffffffffff6
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD c28f067 P4D c28f067 PUD c291067 PMD 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 2 PID: 6171 Comm: syz-executor.2 Not tainted 6.1.0-rc8-syzkaller-00148-g0d1409e4ff08 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
RIP: 0010:do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
RIP: 0010:psi_group_change+0x137/0xc40 kernel/sched/psi.c:708
Code: 83 45 00 01 48 8d 45 08 45 31 c9 31 c9 48 89 44 24 20 31 d2 31 f6 48 89 c7 ff b4 24 90 00 00 00 41 b8 01 00 00 00 e8 b8 21 03 <00> 58 f6 44 24 14 10 0f 85 f9 06 00 00 41 f6 c5 10 0f 85 05 07 00
RSP: 0018:ffffc90007bbf260 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 00000048091c9584 RCX: ffffffff8161df1e
RDX: 1ffff11002c08d69 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffe8ffad8b5400 R08: 0000000000000000 R09: ffffffff910eca57
R10: fffffbfff221d94a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000001 R15: ffff88801b1cd000
FS: 00007ffa8b39f700(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff6 CR3: 0000000073e3f000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
psi_task_switch+0x216/0x930 kernel/sched/psi.c:897
psi_sched_switch kernel/sched/stats.h:199 [inline]
__schedule+0x36e3/0x53f0 kernel/sched/core.c:6516
schedule+0xde/0x1b0 kernel/sched/core.c:6597
io_schedule+0xbe/0x130 kernel/sched/core.c:8741
folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1296
folio_put_wait_locked mm/filemap.c:1465 [inline]
filemap_update_page mm/filemap.c:2472 [inline]
filemap_get_pages+0x1217/0x16b0 mm/filemap.c:2605
filemap_read+0x315/0xc00 mm/filemap.c:2675
generic_file_read_iter+0x3b4/0x5a0 mm/filemap.c:2821
ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:853
call_read_iter include/linux/fs.h:2193 [inline]
generic_file_splice_read+0x182/0x4b0 fs/splice.c:309
do_splice_to+0x1b9/0x240 fs/splice.c:793
splice_direct_to_actor+0x2ab/0x8a0 fs/splice.c:865
do_splice_direct+0x1ab/0x280 fs/splice.c:974
do_sendfile+0xb19/0x1270 fs/read_write.c:1255
__do_sys_sendfile64 fs/read_write.c:1323 [inline]
__se_sys_sendfile64 fs/read_write.c:1309 [inline]
__x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1309
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ffa8a68c0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffa8b39f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007ffa8a7abf80 RCX: 00007ffa8a68c0d9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007ffa8a6e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000f03b0000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc6ff8462f R14: 00007ffa8b39f300 R15: 0000000000022000
</TASK>
Modules linked in:
CR2: fffffffffffffff6
---[ end trace 0000000000000000 ]---
RIP: 0010:do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline]
RIP: 0010:do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
RIP: 0010:psi_group_change+0x137/0xc40 kernel/sched/psi.c:708
Code: 83 45 00 01 48 8d 45 08 45 31 c9 31 c9 48 89 44 24 20 31 d2 31 f6 48 89 c7 ff b4 24 90 00 00 00 41 b8 01 00 00 00 e8 b8 21 03 <00> 58 f6 44 24 14 10 0f 85 f9 06 00 00 41 f6 c5 10 0f 85 05 07 00
RSP: 0018:ffffc90007bbf260 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 00000048091c9584 RCX: ffffffff8161df1e
RDX: 1ffff11002c08d69 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffe8ffad8b5400 R08: 0000000000000000 R09: ffffffff910eca57
R10: fffffbfff221d94a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000001 R15: ffff88801b1cd000
FS: 00007ffa8b39f700(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff6 CR3: 0000000073e3f000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Mar 10, 2023, 4:15:42 PM3/10/23
to syzkaller-upst...@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