syzbot


BUG: unable to handle kernel paging request in pull_rt_task

Status: auto-obsoleted due to no activity on 2023/08/19 01:44
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+614b869a8624f3e724da@syzkaller.appspotmail.com
First crash: 375d, last: 375d

Sample crash report:
BUG: unable to handle page fault for address: ffffffffffffff89
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD c572067 P4D c572067 PUD c574067 PMD 0 
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 3 PID: 10521 Comm: syz-executor.2 Not tainted 6.4.0-rc2-syzkaller-00290-gd635f6cc934b #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
RIP: 0010:_raw_spin_lock+0x2d/0x40 kernel/locking/spinlock.c:154
Code: fa 55 48 89 fd bf 01 00 00 00 e8 ce 98 45 f7 45 31 c9 41 b8 01 00 00 00 31 c9 ff 74 24 08 48 8d 7d 18 31 d2 31 f6 e8 42 33 53 <f7> 48 89 ef 58 5d e9 38 95 53 f7 0f 1f 84 00 00 00 00 00 f3 0f 1e
RSP: 0018:ffffc90002e16a48 EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffff88802c93c600 RCX: 0000000000000001
RDX: 1ffff110042294a8 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffff88801437b110 R08: 0000000000000000 R09: ffffffff9151cd07
R10: fffffbfff22a39a0 R11: 0000000000000371 R12: ffff88801437b000
R13: ffff88802c93d0b0 R14: ffffc90002e16bf0 R15: ffff88802c93c600
FS:  00007f7ac6d25700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff89 CR3: 000000004e618000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 tell_cpu_to_push kernel/sched/rt.c:2293 [inline]
 pull_rt_task+0x1c7/0x3f0 kernel/sched/rt.c:2377
 balance_rt+0x24b/0x3c0 kernel/sched/rt.c:1707
 put_prev_task_balance+0x83/0x130 kernel/sched/core.c:5946
 __pick_next_task kernel/sched/core.c:5986 [inline]
 __pick_next_task kernel/sched/core.c:5958 [inline]
 pick_next_task kernel/sched/core.c:6047 [inline]
 __schedule+0x3aee/0x5880 kernel/sched/core.c:6633
 schedule+0xde/0x1a0 kernel/sched/core.c:6745
 io_schedule+0xbe/0x130 kernel/sched/core.c:8979
 folio_wait_bit_common+0x394/0x9b0 mm/filemap.c:1301
 folio_put_wait_locked mm/filemap.c:1470 [inline]
 filemap_update_page mm/filemap.c:2484 [inline]
 filemap_get_pages+0x11a6/0x1620 mm/filemap.c:2619
 filemap_read+0x35e/0xc70 mm/filemap.c:2690
 generic_file_read_iter+0x3ad/0x5b0 mm/filemap.c:2837
 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744
 __kernel_read+0x2ca/0x830 fs/read_write.c:428
 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:192
 ima_calc_file_hash_tfm+0x2b3/0x3c0 security/integrity/ima/ima_crypto.c:485
 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
 ima_calc_file_hash+0x195/0x4a0 security/integrity/ima/ima_crypto.c:573
 ima_collect_measurement+0x55b/0x670 security/integrity/ima/ima_api.c:293
 process_measurement+0xd2f/0x1930 security/integrity/ima/ima_main.c:341
 ima_file_check+0xba/0x100 security/integrity/ima/ima_main.c:539
 do_open fs/namei.c:3638 [inline]
 path_openat+0x15d3/0x2750 fs/namei.c:3791
 do_filp_open+0x1ba/0x410 fs/namei.c:3818
 do_sys_openat2+0x16d/0x4c0 fs/open.c:1356
 do_sys_open fs/open.c:1372 [inline]
 __do_sys_openat fs/open.c:1388 [inline]
 __se_sys_openat fs/open.c:1383 [inline]
 __x64_sys_openat+0x143/0x1f0 fs/open.c:1383
 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:0x7f7ac608c169
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:00007f7ac6d25168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f7ac61ac120 RCX: 00007f7ac608c169
RDX: 000000000014b042 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f7ac60e7ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd6aa1295f R14: 00007f7ac6d25300 R15: 0000000000022000
 </TASK>
Modules linked in:
CR2: ffffffffffffff89
---[ end trace 0000000000000000 ]---
RIP: 0010:__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
RIP: 0010:_raw_spin_lock+0x2d/0x40 kernel/locking/spinlock.c:154
Code: fa 55 48 89 fd bf 01 00 00 00 e8 ce 98 45 f7 45 31 c9 41 b8 01 00 00 00 31 c9 ff 74 24 08 48 8d 7d 18 31 d2 31 f6 e8 42 33 53 <f7> 48 89 ef 58 5d e9 38 95 53 f7 0f 1f 84 00 00 00 00 00 f3 0f 1e
RSP: 0018:ffffc90002e16a48 EFLAGS: 00010082
RAX: 0000000000000000 RBX: ffff88802c93c600 RCX: 0000000000000001
RDX: 1ffff110042294a8 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffff88801437b110 R08: 0000000000000000 R09: ffffffff9151cd07
R10: fffffbfff22a39a0 R11: 0000000000000371 R12: ffff88801437b000
R13: ffff88802c93d0b0 R14: ffffc90002e16bf0 R15: ffff88802c93c600
FS:  00007f7ac6d25700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffff89 CR3: 000000004e618000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/21 01:43 upstream d635f6cc934b 4bce1a3e .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream BUG: unable to handle kernel paging request in pull_rt_task
* Struck through repros no longer work on HEAD.