Hello,
syzbot found the following issue on:
HEAD commit: 58485ff1a74f Linux 6.1.141
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=11af1182580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c186557a18643a0b
dashboard link:
https://syzkaller.appspot.com/bug?extid=1d1faa577d3dc8018a10
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/467cd5b7e60b/disk-58485ff1.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/df87a7313b47/vmlinux-58485ff1.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/597ae3da22ce/bzImage-58485ff1.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+1d1faa...@syzkaller.appspotmail.com
BUG: unable to handle page fault for address: ffffed110542bfff
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
PGD 23ffee067 P4D 23ffee067 PUD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7379 Comm: syz.6.600 Not tainted 6.1.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline]
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline]
RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:118 [inline]
RIP: 0010:need_resched include/linux/sched.h:2230 [inline]
RIP: 0010:preempt_schedule_irq+0xf6/0x150 kernel/sched/core.c:6876
Code: c0 0f 6f f7 bf 01 00 00 00 e8 d6 88 3f f7 65 48 8b 1d 9e 49 ea 75 48 89 df be 08 00 00 00 e8 11 2b ba f7 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 91 48 89 df e8 6b 29 ba f7 eb 87 48 c7 04 24 0e
RSP: 0018:ffffc90003016660 EFLAGS: 00010806
RAX: 1ffff1100542c000 RBX: ffff88802a160000 RCX: ffffffff8a1825af
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88802a160000
RBP: ffffc90003016710 R08: dffffc0000000000 R09: ffffed100542c001
R10: ffffed100542c001 R11: 1ffff1100542c000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc00ffffffff R15: 1ffff92000602ccc
FS: 00007f7a3fd166c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110542bfff CR3: 000000005c8e9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
irqentry_exit+0x63/0x70 kernel/entry/common.c:439
asm_sysvec_reschedule_ipi+0x16/0x20 arch/x86/include/asm/idtentry.h:696
RIP: 0010:lock_acquire+0x8/0x490 kernel/locking/lockdep.c:5630
Code: fb ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 65 8b 05 81 85 9f 7e a9 00 ff ff 00 0f 95 c0 c3 55 48 89 e5 41 57 41 56 <41> 55 41 54 53 48 83 e4 e0 48 81 ec e0 00 00 00 4c 89 4c 24 18 4c
RSP: 0018:ffffc900030167d8 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000002
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8c92aaa0
RBP: ffffc900030167e8 R08: 0000000000000000 R09: 0000000000000000
R10: fffff52000602d13 R11: 1ffff92000602d10 R12: ffff8880536930c0
R13: 0000000000000000 R14: ffffffff81aca838 R15: dffffc0000000000
rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
rcu_read_lock include/linux/rcupdate.h:791 [inline]
filemap_get_read_batch+0xe5/0xa60 mm/filemap.c:2443
filemap_get_pages mm/filemap.c:2667 [inline]
filemap_read+0x61a/0x2f80 mm/filemap.c:2759
generic_file_read_iter+0x115/0x670 mm/filemap.c:2914
__kernel_read+0x2dc/0x6b0 fs/read_write.c:428
integrity_kernel_read+0x86/0xd0 security/integrity/iint.c:228
ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline]
ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
ima_calc_file_hash+0x96b/0x17c0 security/integrity/ima/ima_crypto.c:573
ima_collect_measurement+0x4b3/0xac0 security/integrity/ima/ima_api.c:293
process_measurement+0xfae/0x1a10 security/integrity/ima/ima_main.c:351
ima_file_check+0xc2/0x100 security/integrity/ima/ima_main.c:534
do_open fs/namei.c:3628 [inline]
path_openat+0x2679/0x2e70 fs/namei.c:3783
do_filp_open+0x1c1/0x3c0 fs/namei.c:3810
do_sys_openat2+0x142/0x490 fs/open.c:1318
do_sys_open fs/open.c:1334 [inline]
__do_sys_openat fs/open.c:1350 [inline]
__se_sys_openat fs/open.c:1345 [inline]
__x64_sys_openat+0x135/0x160 fs/open.c:1345
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7a3ef8e929
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:00007f7a3fd16038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f7a3f1b6080 RCX: 00007f7a3ef8e929
RDX: 0000000000143042 RSI: 00002000000000c0 RDI: ffffffffffffff9c
RBP: 00007f7a3f010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7a3f1b6080 R15: 00007ffea15c0d18
</TASK>
Modules linked in:
CR2: ffffed110542bfff
---[ end trace 0000000000000000 ]---
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:207 [inline]
RIP: 0010:arch_test_bit arch/x86/include/asm/bitops.h:239 [inline]
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:142 [inline]
RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:118 [inline]
RIP: 0010:need_resched include/linux/sched.h:2230 [inline]
RIP: 0010:preempt_schedule_irq+0xf6/0x150 kernel/sched/core.c:6876
Code: c0 0f 6f f7 bf 01 00 00 00 e8 d6 88 3f f7 65 48 8b 1d 9e 49 ea 75 48 89 df be 08 00 00 00 e8 11 2b ba f7 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 91 48 89 df e8 6b 29 ba f7 eb 87 48 c7 04 24 0e
RSP: 0018:ffffc90003016660 EFLAGS: 00010806
RAX: 1ffff1100542c000 RBX: ffff88802a160000 RCX: ffffffff8a1825af
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88802a160000
RBP: ffffc90003016710 R08: dffffc0000000000 R09: ffffed100542c001
R10: ffffed100542c001 R11: 1ffff1100542c000 R12: 0000000000000000
R13: 0000000000000000 R14: dffffc00ffffffff R15: 1ffff92000602ccc
FS: 00007f7a3fd166c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffed110542bfff CR3: 000000005c8e9000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: c0 0f 6f rorb $0x6f,(%rdi)
3: f7 bf 01 00 00 00 idivl 0x1(%rdi)
9: e8 d6 88 3f f7 call 0xf73f88e4
e: 65 48 8b 1d 9e 49 ea mov %gs:0x75ea499e(%rip),%rbx # 0x75ea49b4
15: 75
16: 48 89 df mov %rbx,%rdi
19: be 08 00 00 00 mov $0x8,%esi
1e: e8 11 2b ba f7 call 0xf7ba2b34
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction
2f: 74 91 je 0xffffffc2
31: 48 89 df mov %rbx,%rdi
34: e8 6b 29 ba f7 call 0xf7ba29a4
39: eb 87 jmp 0xffffffc2
3b: 48 rex.W
3c: c7 .byte 0xc7
3d: 04 24 add $0x24,%al
3f: 0e (bad)
---
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.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup