BUG: unable to handle page fault for address: fffff52100949c73
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffed067 P4D 23ffed067 PUD 0
Oops: Oops: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 7408 Comm: syz.5.467 Not tainted 6.11.0-rc3-syzkaller-00221-g670c12ce09a8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:147 [inline]
RIP: 0010:preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6852
Code: 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 c5 e5 a3 f5 e8 90 d3 db f5 fb bf 01 00 00 00 e8 55 ad ff ff <43> 80 7c 3d 00 00 74 08 4c 89 f7 e8 05 b7 3b f6 48 c7 44 24 20 00
RSP: 0018:ffffc90004a4e380 EFLAGS: 00010246
RAX: a41889ec85c58900 RBX: 1ffff92000949c78 RCX: 1ffff92000949c4c
RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: ffff88802af795f8
RBP: ffffc90004a4e440 R08: ffffffff937318df R09: 1ffffffff26e631b
R10: dffffc0000000000 R11: fffffbfff26e631c R12: 1ffff92000949c70
R13: 1ffff92000949c74 R14: ffffc90004a4e3a0 R15: dffffc00ffffffff
FS: 00007fe21c0b46c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52100949c73 CR3: 000000002cfa0000 CR4: 0000000000350ef0
Call Trace:
<TASK>
irqentry_exit+0x5e/0x90 kernel/entry/common.c:354
asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:filemap_get_read_batch+0x23b/0xbf0 mm/filemap.c:2309
Code: 00 eb 24 e8 17 e5 c7 ff c6 05 ef df 35 0e 01 48 c7 c7 c0 c1 13 8c be 48 03 00 00 48 c7 c2 00 c2 13 8c e8 d8 89 a4 ff 48 89 df <e8> e0 fb e5 09 48 85 c0 0f 84 03 08 00 00 49 89 c5 48 8d 43 12 48
RSP: 0018:ffffc90004a4e500 EFLAGS: 00000287
RAX: ffffffff81cba580 RBX: ffffc90004a4e580 RCX: 0000000000040000
RDX: ffffc9000b95a000 RSI: 00000000000105bc RDI: ffffc90004a4e580
RBP: ffffc90004a4e630 R08: ffffffff81cba564 R09: 1ffffffff26e6308
R10: dffffc0000000000 R11: fffffbfff26e6309 R12: dffffc0000000000
R13: ffffc90004a4e580 R14: 1ffff92000949cac R15: ffffffff81cba533
filemap_get_pages+0x4ba/0x2090 mm/filemap.c:2531
filemap_read+0x457/0xfa0 mm/filemap.c:2625
__kernel_read+0x534/0x9f0 fs/read_write.c:434
integrity_kernel_read+0xb0/0x100 security/integrity/iint.c:28
ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline]
ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline]
ima_calc_file_hash+0xaef/0x1b30 security/integrity/ima/ima_crypto.c:568
ima_collect_measurement+0x526/0xb20 security/integrity/ima/ima_api.c:293
process_measurement+0x1357/0x1fb0 security/integrity/ima/ima_main.c:372
ima_file_check+0xf2/0x170 security/integrity/ima/ima_main.c:572
security_file_post_open+0x6f/0xa0 security/security.c:3008
do_open fs/namei.c:3729 [inline]
path_openat+0x2b91/0x3470 fs/namei.c:3886
do_filp_open+0x235/0x490 fs/namei.c:3913
do_sys_openat2+0x13e/0x1d0 fs/open.c:1416
do_sys_open fs/open.c:1431 [inline]
__do_sys_openat fs/open.c:1447 [inline]
__se_sys_openat fs/open.c:1442 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1442
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe21b379e79
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe21c0b4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe21b515f80 RCX: 00007fe21b379e79
RDX: 0000000000000042 RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007fe21b3e7916 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe21b515f80 R15: 00007fffca3f0ba8
</TASK>
Modules linked in:
CR2: fffff52100949c73
---[ end trace 0000000000000000 ]---
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:19 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:87 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:147 [inline]
RIP: 0010:preempt_schedule_irq+0xfb/0x1c0 kernel/sched/core.c:6852
Code: 03 eb 0d 48 f7 03 08 00 00 00 0f 84 8b 00 00 00 bf 01 00 00 00 e8 c5 e5 a3 f5 e8 90 d3 db f5 fb bf 01 00 00 00 e8 55 ad ff ff <43> 80 7c 3d 00 00 74 08 4c 89 f7 e8 05 b7 3b f6 48 c7 44 24 20 00
RSP: 0018:ffffc90004a4e380 EFLAGS: 00010246
RAX: a41889ec85c58900 RBX: 1ffff92000949c78 RCX: 1ffff92000949c4c
RDX: dffffc0000000000 RSI: ffffffff8c0ad560 RDI: ffff88802af795f8
RBP: ffffc90004a4e440 R08: ffffffff937318df R09: 1ffffffff26e631b
R10: dffffc0000000000 R11: fffffbfff26e631c R12: 1ffff92000949c70
R13: 1ffff92000949c74 R14: ffffc90004a4e3a0 R15: dffffc00ffffffff
FS: 00007fe21c0b46c0(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffff52100949c73 CR3: 000000002cfa0000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
0: 03 eb add %ebx,%ebp
2: 0d 48 f7 03 08 or $0x803f748,%eax
7: 00 00 add %al,(%rax)
9: 00 0f add %cl,(%rdi)
b: 84 8b 00 00 00 bf test %cl,-0x41000000(%rbx)
11: 01 00 add %eax,(%rax)
13: 00 00 add %al,(%rax)
15: e8 c5 e5 a3 f5 call 0xf5a3e5df
1a: e8 90 d3 db f5 call 0xf5dbd3af
1f: fb sti
20: bf 01 00 00 00 mov $0x1,%edi
25: e8 55 ad ff ff call 0xffffad7f
* 2a: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1) <-- trapping instruction
30: 74 08 je 0x3a
32: 4c 89 f7 mov %r14,%rdi
35: e8 05 b7 3b f6 call 0xf63bb73f
3a: 48 rex.W
3b: c7 .byte 0xc7
3c: 44 24 20 rex.R and $0x20,%al