syzbot


BUG: unable to handle kernel paging request in sched_clock_cpu

Status: auto-obsoleted due to no activity on 2023/03/12 08:05
Subsystems: fs mm (incorrect?)
Reported-by: syzbot+771de2dba8cd76fae986@syzkaller.appspotmail.com
First crash: 100d, last: 100d

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs3: loop0: Different NTFS' sector size (1024) and media sector size (512)
BUG: unable to handle page fault for address: 0000006e5d9fec4a
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 74816067 P4D 74816067 PUD 0 
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5707 Comm: syz-executor.0 Not tainted 6.1.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:sched_clock_cpu+0x6c/0x2b0 kernel/sched/clock.c:369
Code: 81 48 01 e8 c7 00 f1 f1 f1 f1 c7 40 04 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 80 00 00 00 31 c0 66 90 e8 13 65 ce <ff> 48 03 05 64 08 f2 0c 49 89 c5 48 b8 00 00 00 00 00 fc ff df 48
RSP: 0018:ffffc900039e7260 EFLAGS: 00010006
RAX: 0000006e5d9fec47 RBX: ffff8880b9a3b140 RCX: 0000000000000008
RDX: 0000000029027549 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 1ffff9200073ce51 R08: ffffffff8fd21018 R09: ffffffff8fd2100f
R10: ffffffff8fd21017 R11: 0000000000000001 R12: ffffffff89ef2c9e
R13: ffffffff8e51dbcc R14: ffff8880b9a3bc60 R15: ffff888078213a80
FS:  00007f8d2fc28700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000006e5d9fec4a CR3: 0000000026222000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 update_rq_clock kernel/sched/core.c:743 [inline]
 update_rq_clock+0x114/0xaa0 kernel/sched/core.c:728
 __schedule+0x2ce/0x53f0 kernel/sched/core.c:6443
 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:0x7f8d2ee8c0d9
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:00007f8d2fc28168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f8d2efabf80 RCX: 00007f8d2ee8c0d9
RDX: 0000000000000000 RSI: 0000000000000007 RDI: 0000000000000006
RBP: 00007f8d2eee7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000f03b0000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd77ccd65f R14: 00007f8d2fc28300 R15: 0000000000022000
 </TASK>
Modules linked in:
CR2: 0000006e5d9fec4a
---[ end trace 0000000000000000 ]---
RIP: 0010:sched_clock_cpu+0x6c/0x2b0 kernel/sched/clock.c:369
Code: 81 48 01 e8 c7 00 f1 f1 f1 f1 c7 40 04 00 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 80 00 00 00 31 c0 66 90 e8 13 65 ce <ff> 48 03 05 64 08 f2 0c 49 89 c5 48 b8 00 00 00 00 00 fc ff df 48
RSP: 0018:ffffc900039e7260 EFLAGS: 00010006
RAX: 0000006e5d9fec47 RBX: ffff8880b9a3b140 RCX: 0000000000000008
RDX: 0000000029027549 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 1ffff9200073ce51 R08: ffffffff8fd21018 R09: ffffffff8fd2100f
R10: ffffffff8fd21017 R11: 0000000000000001 R12: ffffffff89ef2c9e
R13: ffffffff8e51dbcc R14: ffff8880b9a3bc60 R15: ffff888078213a80
FS:  00007f8d2fc28700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000006e5d9fec4a CR3: 0000000026222000 CR4: 0000000000350ef0

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2022/12/12 08:05 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] BUG: unable to handle kernel paging request in sched_clock_cpu
* Struck through repros no longer work on HEAD.