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=1168370c580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=c186557a18643a0b
dashboard link:
https://syzkaller.appspot.com/bug?extid=23c6e0a1eb959a1b8b72
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+23c6e0...@syzkaller.appspotmail.com
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6424 Comm: syz.4.542 Not tainted 6.1.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:asm_sysvec_reschedule_ipi+0x15/0x20 arch/x86/include/asm/idtentry.h:696
Code: 48 89 c4 48 89 e7 e8 9a 5a ef ff e9 95 04 00 00 90 90 90 90 90 0f 01 ca fc 6a ff e8 95 03 00 00 48 89 c4 48 89 e7 e8 9a 7a ef <ff> e9 75 04 00 00 90 90 90 90 90 0f 01 ca fc 6a ff e8 75 03 00 00
RSP: 0018:ffffc90003f36648 EFLAGS: 00010086
RAX: 3b019b58efa09700 RBX: 0000000000000000 RCX: 3b019b58efa09700
RDX: dffffc0000000000 RSI: ffffffff8a6bffe0 RDI: ffffffff8abf1360
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff211706e
R10: fffffbfff211706e R11: 1ffffffff211706d R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f5db3d986c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000001f000 CR3: 0000000077cfb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
RIP: 0010:__readahead_folio include/linux/pagemap.h:-1 [inline]
RIP: 0010:readahead_folio+0x3c/0x5f0 include/linux/pagemap.h:1320
Code: bd 00 00 00 00 00 fc ff df e8 a0 c1 d1 ff 49 8d 5e 24 48 89 d8 48 c1 e8 03 48 89 44 24 08 0f b6 04 28 84 c0 0f 85 ca 02 00 00 <48> 89 1c 24 45 8b 7e 24 4d 8d 66 20 4d 89 e5 49 c1 ed 03 41 0f b6
RSP: 0018:ffffc90003f366f8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90003f36b04 RCX: 0000000000080000
RDX: ffffc9000f96e000 RSI: 0000000000001a1e RDI: 0000000000001a1f
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffff94000394471
R10: fffff94000394471 R11: 1ffffd4000394470 R12: dffffc0000000000
R13: ffffffff8aa02440 R14: ffffc90003f36ae0 R15: ffffc90003f36ae0
read_pages+0x17b/0x840 mm/readahead.c:167
page_cache_ra_unbounded+0x690/0x770 mm/readahead.c:270
page_cache_sync_readahead include/linux/pagemap.h:1248 [inline]
filemap_get_pages mm/filemap.c:2665 [inline]
filemap_read+0x5ff/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:0x7f5db2f8e929
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:00007f5db3d98038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5db31b6080 RCX: 00007f5db2f8e929
RDX: 0000000000143042 RSI: 00002000000000c0 RDI: ffffffffffffff9c
RBP: 00007f5db3010b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5db31b6080 R15: 00007fffc9acc1a8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:asm_sysvec_reschedule_ipi+0x15/0x20 arch/x86/include/asm/idtentry.h:696
Code: 48 89 c4 48 89 e7 e8 9a 5a ef ff e9 95 04 00 00 90 90 90 90 90 0f 01 ca fc 6a ff e8 95 03 00 00 48 89 c4 48 89 e7 e8 9a 7a ef <ff> e9 75 04 00 00 90 90 90 90 90 0f 01 ca fc 6a ff e8 75 03 00 00
RSP: 0018:ffffc90003f36648 EFLAGS: 00010086
RAX: 3b019b58efa09700 RBX: 0000000000000000 RCX: 3b019b58efa09700
RDX: dffffc0000000000 RSI: ffffffff8a6bffe0 RDI: ffffffff8abf1360
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff211706e
R10: fffffbfff211706e R11: 1ffffffff211706d R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007f5db3d986c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000001f000 CR3: 0000000077cfb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: bd 00 00 00 00 mov $0x0,%ebp
5: 00 fc add %bh,%ah
7: ff (bad)
8: df e8 fucomip %st(0),%st
a: a0 c1 d1 ff 49 8d 5e movabs 0x48245e8d49ffd1c1,%al
11: 24 48
13: 89 d8 mov %ebx,%eax
15: 48 c1 e8 03 shr $0x3,%rax
19: 48 89 44 24 08 mov %rax,0x8(%rsp)
1e: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax
22: 84 c0 test %al,%al
24: 0f 85 ca 02 00 00 jne 0x2f4
* 2a: 48 89 1c 24 mov %rbx,(%rsp) <-- trapping instruction
2e: 45 8b 7e 24 mov 0x24(%r14),%r15d
32: 4d 8d 66 20 lea 0x20(%r14),%r12
36: 4d 89 e5 mov %r12,%r13
39: 49 c1 ed 03 shr $0x3,%r13
3d: 41 rex.B
3e: 0f .byte 0xf
3f: b6 .byte 0xb6
---
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