syzbot
WARNING in __ioremap_caller
Status:
upstream: reported C repro on 2026/02/22 11:33
Subsystems:
kernel
Labels:
prio:high
[Documentation on labels]
Reported-by: syzbot+49b1021becba70c1f3f6@syzkaller.appspotmail.com
First crash: 215d, last: 8d23h
Sample crash report:
------------[ cut here ]------------
ioremap on RAM at 0x0000000045623000 - 0x0000000045623fff
WARNING: arch/x86/mm/ioremap.c:216 at __ioremap_caller.isra.0+0x4c2/0x5f0 arch/x86/mm/ioremap.c:216, CPU#0: syz.0.17/5912
Modules linked in:
CPU: 0 UID: 0 PID: 5912 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__ioremap_caller.isra.0+0x4d3/0x5f0 arch/x86/mm/ioremap.c:216
Code: 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 55 35 51 00 48 8d 3d 5e fe 8c 0f 48 8d 84 24 c0 00 00 00 48 8d 54 24 60 48 8d 70 c0 <67> 48 0f b9 3a eb 89 41 83 ff 04 75 32 e8 2b 35 51 00 bf 04 00 00
RSP: 0018:ffffc900065af8c0 EFLAGS: 00010293
RAX: ffffc900065af980 RBX: 1ffff92000cb5f1c RCX: 0000000000000000
RDX: ffffc900065af920 RSI: ffffc900065af940 RDI: ffffffff9147df20
RBP: 0000000000001000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000045623000 R14: 0000000000000002 R15: 0000000045623000
FS: 0000555562e34500(0000) GS:ffff8880d5b5c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000018 CR3: 00000000401c3000 CR4: 0000000000352ef0
Call Trace:
<TASK>
generic_access_phys+0x130/0x4d0 mm/memory.c:7178
kernfs_vma_access+0x1ce/0x280 fs/kernfs/file.c:437
__access_remote_vm+0x58f/0x890 mm/memory.c:7256
mem_rw+0x2a1/0x670 fs/proc/base.c:912
do_loop_readv_writev fs/read_write.c:848 [inline]
do_loop_readv_writev fs/read_write.c:836 [inline]
vfs_readv+0x5d8/0x8d0 fs/read_write.c:1021
do_readv+0x13e/0x340 fs/read_write.c:1081
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fed0939e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd3d0c4378 EFLAGS: 00000246 ORIG_RAX: 0000000000000013
RAX: ffffffffffffffda RBX: 00007fed09625fa0 RCX: 00007fed0939e159
RDX: 0000000000000002 RSI: 0000200000000100 RDI: 0000000000000003
RBP: 00007fed0943503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fed09625fac R14: 00007fed09625fa0 R15: 00007fed09625fa0
</TASK>
----------------
Code disassembly (best guess):
0: 41 5c pop %r12
2: 41 5d pop %r13
4: 41 5e pop %r14
6: 41 5f pop %r15
8: c3 ret
9: cc int3
a: cc int3
b: cc int3
c: cc int3
d: e8 55 35 51 00 call 0x513567
12: 48 8d 3d 5e fe 8c 0f lea 0xf8cfe5e(%rip),%rdi # 0xf8cfe77
19: 48 8d 84 24 c0 00 00 lea 0xc0(%rsp),%rax
20: 00
21: 48 8d 54 24 60 lea 0x60(%rsp),%rdx
26: 48 8d 70 c0 lea -0x40(%rax),%rsi
* 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction
2f: eb 89 jmp 0xffffffba
31: 41 83 ff 04 cmp $0x4,%r15d
35: 75 32 jne 0x69
37: e8 2b 35 51 00 call 0x513567
3c: bf .byte 0xbf
3d: 04 00 add $0x0,%al
* Struck through repros no longer work on HEAD.