syzbot


BUG: unable to handle kernel paging request in ft260_i2c_xfer

Status: upstream: reported C repro on 2025/07/27 11:42
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+8fdd2a82bb6d01852369@syzkaller.appspotmail.com
First crash: 50d, last: 36d
Bug presence (2)
Date Name Commit Repro Result
2025/08/10 linux-5.15.y (ToT) c79648372d02 C [report] general protection fault in ft260_i2c_xfer
2025/08/10 upstream (ToT) 2b38afce25c4 C Didn't crash

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc00000000fa: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000007d0-0x00000000000007d7]
CPU: 0 PID: 4694 Comm: syz.1.153 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ft260_i2c_xfer+0xa7/0x650 drivers/hid/hid-ft260.c:561
Code: d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 4f 20 6c fa 48 8b 03 48 89 44 24 20 48 8d 98 d0 07 00 00 49 89 dd 49 c1 ed 03 <43> 80 7c 25 00 00 74 08 48 89 df e8 29 20 6c fa 48 89 5c 24 28 48
RSP: 0018:ffffc9000c5bfa80 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 00000000000007d0 RCX: ffff888029768000
RDX: 0000000000000000 RSI: ffff88801b908fa0 RDI: ffff88805e180028
RBP: ffffc9000c5bfb70 R08: dffffc0000000000 R09: ffffed100bc300d2
R10: ffffed100bc300d2 R11: 1ffff1100bc300d1 R12: dffffc0000000000
R13: 00000000000000fa R14: ffff88801b908fa0 R15: 1ffff920018b7f5c
FS:  000055555e70b500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002580 CR3: 00000000723cb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __i2c_transfer+0x864/0x2060 drivers/i2c/i2c-core-base.c:-1
 i2c_transfer+0x24c/0x390 drivers/i2c/i2c-core-base.c:2330
 i2cdev_ioctl_rdwr+0x3da/0x6c0 drivers/i2c/i2c-dev.c:297
 i2cdev_ioctl+0x5ba/0x750 drivers/i2c/i2c-dev.c:458
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f442222bbe9
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:00007fff8b151a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f4422452fa0 RCX: 00007f442222bbe9
RDX: 0000200000002580 RSI: 0000000000000707 RDI: 0000000000000007
RBP: 00007f44222aee19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4422452fa0 R14: 00007f4422452fa0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace cffa0638f1ed5d15 ]---
RIP: 0010:ft260_i2c_xfer+0xa7/0x650 drivers/hid/hid-ft260.c:561
Code: d8 48 c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 4f 20 6c fa 48 8b 03 48 89 44 24 20 48 8d 98 d0 07 00 00 49 89 dd 49 c1 ed 03 <43> 80 7c 25 00 00 74 08 48 89 df e8 29 20 6c fa 48 89 5c 24 28 48
RSP: 0018:ffffc9000c5bfa80 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 00000000000007d0 RCX: ffff888029768000
RDX: 0000000000000000 RSI: ffff88801b908fa0 RDI: ffff88805e180028
RBP: ffffc9000c5bfb70 R08: dffffc0000000000 R09: ffffed100bc300d2
R10: ffffed100bc300d2 R11: 1ffff1100bc300d1 R12: dffffc0000000000
R13: 00000000000000fa R14: ffff88801b908fa0 R15: 1ffff920018b7f5c
FS:  000055555e70b500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000002580 CR3: 00000000723cb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	d8 48 c1             	fmuls  -0x3f(%rax)
   3:	e8 03 42 80 3c       	call   0x3c80420b
   8:	20 00                	and    %al,(%rax)
   a:	74 08                	je     0x14
   c:	48 89 df             	mov    %rbx,%rdi
   f:	e8 4f 20 6c fa       	call   0xfa6c2063
  14:	48 8b 03             	mov    (%rbx),%rax
  17:	48 89 44 24 20       	mov    %rax,0x20(%rsp)
  1c:	48 8d 98 d0 07 00 00 	lea    0x7d0(%rax),%rbx
  23:	49 89 dd             	mov    %rbx,%r13
  26:	49 c1 ed 03          	shr    $0x3,%r13
* 2a:	43 80 7c 25 00 00    	cmpb   $0x0,0x0(%r13,%r12,1) <-- trapping instruction
  30:	74 08                	je     0x3a
  32:	48 89 df             	mov    %rbx,%rdi
  35:	e8 29 20 6c fa       	call   0xfa6c2063
  3a:	48 89 5c 24 28       	mov    %rbx,0x28(%rsp)
  3f:	48                   	rex.W

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/10 00:30 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ft260_i2c_xfer
2025/07/27 11:41 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in ft260_i2c_xfer
2025/08/09 19:21 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ft260_i2c_xfer
2025/08/01 22:45 linux-5.15.y c79648372d02 40127d41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in ft260_i2c_xfer
* Struck through repros no longer work on HEAD.