general protection fault in rmi_driver_suspend

Status: upstream: reported on 2026/08/04 22:09
Reported-by: syzbot+39db608e3c9f0f81355b@syzkaller.appspotmail.com
First crash: 9d09h, last: 9d04h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in rmi_driver_suspend 2 1 9d16h 9d16h 0/2 premoderation: reported on 2026/08/04 14:19
linux-6.1 general protection fault in rmi_driver_suspend 2 1 9d07h 9d07h 0/3 upstream: reported on 2026/08/04 23:41
upstream general protection fault in rmi_driver_suspend input prio:high 2 syz 6 9d10h 8d07h 0/29 upstream: reported syz repro on 2026/08/06 00:01

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: 13 Comm: kworker/0:1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: pm pm_runtime_work
RIP: 0010:dev_get_drvdata include/linux/device.h:732 [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 ef ba 12 fb 4c 8d 73 78 4c 89 f0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 f7 e8 96 dd 57 fb 4d 8b 36 4c 89 f0 48 c1
RSP: 0018:ffffc90000d277b0 EFLAGS: 00010206
RAX: 000000000000000f RBX: 0000000000000000 RCX: ffff88813fe20000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff901ee117 R09: 1ffffffff203dc22
R10: dffffc0000000000 R11: fffffbfff203dc23 R12: dffffc0000000000
R13: 0000000000000003 R14: 0000000000000078 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff939527ff8 CR3: 000000005fe7e000 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+0x5c5/0x640 drivers/hid/usbhid/hid-core.c:1610
 usb_suspend_interface drivers/usb/core/driver.c:1307 [inline]
 usb_suspend_both+0x281/0x1030 drivers/usb/core/driver.c:1412
 usb_runtime_suspend+0x54/0x100 drivers/usb/core/driver.c:1950
 __rpm_callback+0x2fd/0x790 drivers/base/power/runtime.c:395
 rpm_callback drivers/base/power/runtime.c:532 [inline]
 rpm_suspend+0x8cf/0x1b00 drivers/base/power/runtime.c:672
 pm_runtime_work+0x10b/0x1b0 drivers/base/power/runtime.c:969
 process_one_work+0x867/0xff0 kernel/workqueue.c:2310
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace 5fb1659e769e6d93 ]---
RIP: 0010:dev_get_drvdata include/linux/device.h:732 [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 ef ba 12 fb 4c 8d 73 78 4c 89 f0 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 f7 e8 96 dd 57 fb 4d 8b 36 4c 89 f0 48 c1
RSP: 0018:ffffc90000d277b0 EFLAGS: 00010206
RAX: 000000000000000f RBX: 0000000000000000 RCX: ffff88813fe20000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffffffff901ee117 R09: 1ffffffff203dc22
R10: dffffc0000000000 R11: fffffbfff203dc23 R12: dffffc0000000000
R13: 0000000000000003 R14: 0000000000000078 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff939527ff8 CR3: 000000005fe7e000 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 ef ba 12 fb       	call   0xfb12bb0e
  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 96 dd 57 fb       	call   0xfb57ddce
  38:	4d 8b 36             	mov    (%r14),%r14
  3b:	4c 89 f0             	mov    %r14,%rax
  3e:	48                   	rex.W
  3f:	c1                   	.byte 0xc1

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/05 02:39 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in rmi_driver_suspend
2026/08/04 22:09 linux-5.15.y 6e2fd6534337 d4abbeac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in rmi_driver_suspend
* Struck through repros no longer work on HEAD.