syzbot
general protection fault in rmi_driver_suspend
Status:
upstream: reported on 2026/08/04 23:41
Reported-by: syzbot+22c75ec70451edd5deab@syzkaller.appspotmail.com
First crash: 6d10h, last: 6d10h
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000000f: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000078-0x000000000000007f]
CPU: 0 PID: 4623 Comm: kworker/u4:86 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_unbound async_run_entry_fn
RIP: 0010:dev_get_drvdata include/linux/device.h:808 [inline]
RIP: 0010:rmi_suspend_functions drivers/input/rmi4/rmi_driver.c:277 [inline]
RIP: 0010:rmi_driver_suspend+0x2c/0x170 drivers/input/rmi4/rmi_driver.c:949
Code: 57 41 56 41 55 41 54 53 50 89 74 24 04 48 89 fb 48 bd 00 00 00 00 00 fc ff df e8 1f 17 d0 fa 4c 8d 73 78 4c 89 f0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 f7 e8 c6 43 21 fb 4d 8b 36 4c 89 f0 48 c1
RSP: 0018:ffffc9000c32f930 EFLAGS: 00010206
RAX: 000000000000000f RBX: 0000000000000000 RCX: ffff88807928da00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff88807928da00 R09: 0000000000000002
R10: 0000000000000008 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000003 R14: 0000000000000078 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff1663a960 CR3: 000000000c88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
rmi_suspend+0xa3/0xf0 drivers/hid/hid-rmi.c:449
hid_suspend+0xa8/0x4f0 drivers/hid/usbhid/hid-core.c:1621
usb_suspend_interface drivers/usb/core/driver.c:1308 [inline]
usb_suspend_both+0x281/0x1030 drivers/usb/core/driver.c:1413
usb_suspend+0x388/0x4a0 drivers/usb/core/driver.c:1573
dpm_run_callback+0x78/0x480 drivers/base/power/main.c:490
__device_suspend+0x763/0xda0 drivers/base/power/main.c:1708
async_suspend+0x23/0x1e0 drivers/base/power/main.c:1737
async_run_entry_fn+0x93/0x3e0 kernel/async.c:127
process_one_work+0x8ab/0x1160 kernel/workqueue.c:2292
worker_thread+0xaf5/0x12a0 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dev_get_drvdata include/linux/device.h:808 [inline]
RIP: 0010:rmi_suspend_functions drivers/input/rmi4/rmi_driver.c:277 [inline]
RIP: 0010:rmi_driver_suspend+0x2c/0x170 drivers/input/rmi4/rmi_driver.c:949
Code: 57 41 56 41 55 41 54 53 50 89 74 24 04 48 89 fb 48 bd 00 00 00 00 00 fc ff df e8 1f 17 d0 fa 4c 8d 73 78 4c 89 f0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 f7 e8 c6 43 21 fb 4d 8b 36 4c 89 f0 48 c1
RSP: 0018:ffffc9000c32f930 EFLAGS: 00010206
RAX: 000000000000000f RBX: 0000000000000000 RCX: ffff88807928da00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff88807928da00 R09: 0000000000000002
R10: 0000000000000008 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000003 R14: 0000000000000078 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff1663a960 CR3: 000000000c88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 57 push %rdi
1: 41 56 push %r14
3: 41 55 push %r13
5: 41 54 push %r12
7: 53 push %rbx
8: 50 push %rax
9: 89 74 24 04 mov %esi,0x4(%rsp)
d: 48 89 fb mov %rdi,%rbx
10: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp
17: fc ff df
1a: e8 1f 17 d0 fa call 0xfad0173e
1f: 4c 8d 73 78 lea 0x78(%rbx),%r14
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 f7 mov %r14,%rdi
33: e8 c6 43 21 fb call 0xfb2143fe
38: 4d 8b 36 mov (%r14),%r14
3b: 4c 89 f0 mov %r14,%rax
3e: 48 rex.W
3f: c1 .byte 0xc1
* Struck through repros no longer work on HEAD.