syzbot


general protection fault in asm_sysvec_reschedule_ipi

Status: moderation: reported on 2025/05/29 05:13
Subsystems: fs mm
[Documentation on labels]
Reported-by: syzbot+333cdc1c63d5a6eb43d0@syzkaller.appspotmail.com
First crash: 5d18h, last: 5d18h

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0x8f228e27cd1efd00: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 10877 Comm: syz.0.1004 Not tainted 6.15.0-rc7-next-20250523-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:asm_sysvec_reschedule_ipi+0x1d/0x20 arch/x86/include/asm/idtentry.h:707
Code: 89 e7 e8 46 31 64 0a e9 01 06 00 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 b1 04 00 00 48 89 c4 48 89 e7 e8 36 58 64 0a e9 e1 05 <00> 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 91 04 00 00 48 89 c4 48
RSP: 0018:ffffc900051564c8 EFLAGS: 00010082
RAX: 8f228e27cd1efd00 RBX: 0000000000000000 RCX: 8f228e27cd1efcff
RDX: 0000000000000007 RSI: ffffffff8d97e74b RDI: ffffffff8be29300
RBP: 0000000000000000 R08: ffffffff8fa12ef7 R09: 1ffffffff1f425de
R10: dffffc0000000000 R11: fffffbfff1f425df R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f0d756126c0(0000) GS:ffff888125d56000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000005000 CR3: 0000000042564000 CR4: 00000000003526f0
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+0xd5/0x430 include/linux/pagemap.h:1405
Code: e7 e8 df c7 28 00 45 89 fd 4d 03 3c 24 4d 89 3c 24 89 df 44 89 ee e8 ea 5f c5 ff 44 39 eb 75 28 e8 20 5e c5 ff 48 8b 44 24 08 <0f> b6 04 28 84 c0 48 8b 1c 24 0f 85 6b 02 00 00 c7 03 00 00 00 00
RSP: 0018:ffffc90005156578 EFLAGS: 00000287
RAX: 1ffff92000a2ad30 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc9000e66a000 RSI: 00000000000070ff RDI: 0000000000007100
RBP: dffffc0000000000 R08: ffffea000044c187 R09: 1ffffd4000089830
R10: dffffc0000000000 R11: fffff94000089831 R12: ffffc90005156978
R13: 0000000000000000 R14: ffffc90005156960 R15: 0000000000000001
 read_pages+0x182/0x580 mm/readahead.c:162
 page_cache_ra_unbounded+0x6b0/0x7b0 mm/readahead.c:297
 filemap_get_pages+0x43c/0x1ea0 mm/filemap.c:2591
 filemap_read+0x3fa/0x11d0 mm/filemap.c:2702
 __kernel_read+0x469/0x8c0 fs/read_write.c:530
 integrity_kernel_read+0x89/0xd0 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+0x85e/0x16f0 security/integrity/ima/ima_crypto.c:568
 ima_collect_measurement+0x428/0x8d0 security/integrity/ima/ima_api.c:293
 process_measurement+0x1121/0x1a40 security/integrity/ima/ima_main.c:385
 ima_file_check+0xd7/0x120 security/integrity/ima/ima_main.c:613
 security_file_post_open+0xbb/0x290 security/security.c:3130
 do_open fs/namei.c:3889 [inline]
 path_openat+0x2f26/0x3830 fs/namei.c:4046
 do_filp_open+0x1fa/0x410 fs/namei.c:4073
 do_sys_openat2+0x121/0x1c0 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0x138/0x170 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0d7478e969
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:00007f0d75612038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f0d749b5fa0 RCX: 00007f0d7478e969
RDX: 0000000000101042 RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007f0d74810ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0d749b5fa0 R15: 00007fff50646458
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:asm_sysvec_reschedule_ipi+0x1d/0x20 arch/x86/include/asm/idtentry.h:707
Code: 89 e7 e8 46 31 64 0a e9 01 06 00 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 b1 04 00 00 48 89 c4 48 89 e7 e8 36 58 64 0a e9 e1 05 <00> 00 90 f3 0f 1e fa 0f 01 ca fc 6a ff e8 91 04 00 00 48 89 c4 48
RSP: 0018:ffffc900051564c8 EFLAGS: 00010082
RAX: 8f228e27cd1efd00 RBX: 0000000000000000 RCX: 8f228e27cd1efcff
RDX: 0000000000000007 RSI: ffffffff8d97e74b RDI: ffffffff8be29300
RBP: 0000000000000000 R08: ffffffff8fa12ef7 R09: 1ffffffff1f425de
R10: dffffc0000000000 R11: fffffbfff1f425df R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f0d756126c0(0000) GS:ffff888125d56000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000005000 CR3: 0000000042564000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	e7 e8                	out    %eax,$0xe8
   2:	df c7                	ffreep %st(7)
   4:	28 00                	sub    %al,(%rax)
   6:	45 89 fd             	mov    %r15d,%r13d
   9:	4d 03 3c 24          	add    (%r12),%r15
   d:	4d 89 3c 24          	mov    %r15,(%r12)
  11:	89 df                	mov    %ebx,%edi
  13:	44 89 ee             	mov    %r13d,%esi
  16:	e8 ea 5f c5 ff       	call   0xffc56005
  1b:	44 39 eb             	cmp    %r13d,%ebx
  1e:	75 28                	jne    0x48
  20:	e8 20 5e c5 ff       	call   0xffc55e45
  25:	48 8b 44 24 08       	mov    0x8(%rsp),%rax
* 2a:	0f b6 04 28          	movzbl (%rax,%rbp,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	48 8b 1c 24          	mov    (%rsp),%rbx
  34:	0f 85 6b 02 00 00    	jne    0x2a5
  3a:	c7 03 00 00 00 00    	movl   $0x0,(%rbx)

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/25 05:06 linux-next 176e917e010c ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in asm_sysvec_reschedule_ipi
* Struck through repros no longer work on HEAD.