syzbot


general protection fault in su3000_i2c_transfer

Status: upstream: reported C repro on 2025/09/08 01:49
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e5ff5368d9fa2f9e6c55@syzkaller.appspotmail.com
First crash: 32d, last: 25d
Bug presence (1)
Date Name Commit Repro Result
2025/09/08 upstream (ToT) f777d1112ee5 C [report] general protection fault in su3000_i2c_transfer
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in su3000_i2c_transfer usb media 2 C done 66 4d08h 49d 0/29 upstream: reported C repro on 2025/08/22 00:15
linux-6.1 general protection fault in su3000_i2c_transfer origin:upstream 2 C 9 32d 45d 0/3 upstream: reported C repro on 2025/08/26 01:58

Sample crash report:
dvb-usb: bulk message failed: -22 (1/0)
dw2102: i2c transfer failed.
general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 PID: 5953 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:su3000_i2c_transfer+0x2e3/0x1020 drivers/media/usb/dvb-usb/dw2102.c:749
Code: 0f b6 18 49 83 c7 08 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 6a 85 d8 fa 4d 8b 37 49 ff c6 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 d7 08 00 00 41 88 1e 48 8b 44 24 48 42
RSP: 0018:ffffc90003387ac8 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: 4d531df114d43c00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffc900033877c7 R09: 1ffff92000670ef8
R10: dffffc0000000000 R11: fffff52000670ef9 R12: 0000000000000001
R13: dffffc0000000000 R14: 0000000000000011 R15: ffff88814c5ded68
FS:  0000555574487500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2db63fff CR3: 000000007a1f8000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 __i2c_transfer+0x868/0x2080 drivers/i2c/i2c-core-base.c:-1
 i2c_transfer+0x250/0x390 drivers/i2c/i2c-core-base.c:2328
 i2cdev_ioctl_rdwr+0x3b0/0x690 drivers/i2c/i2c-dev.c:297
 i2cdev_ioctl+0x646/0x7e0 drivers/i2c/i2c-dev.c:458
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:871 [inline]
 __se_sys_ioctl+0xfd/0x170 fs/ioctl.c:857
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f1bc3f8ebe9
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:00007fffb8755d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f1bc41c5fa0 RCX: 00007f1bc3f8ebe9
RDX: 0000200000000080 RSI: 0000000000000707 RDI: 0000000000000004
RBP: 00007f1bc4011e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1bc41c5fa0 R14: 00007f1bc41c5fa0 R15: 0000000000000003
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:su3000_i2c_transfer+0x2e3/0x1020 drivers/media/usb/dvb-usb/dw2102.c:749
Code: 0f b6 18 49 83 c7 08 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 ff e8 6a 85 d8 fa 4d 8b 37 49 ff c6 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 d7 08 00 00 41 88 1e 48 8b 44 24 48 42
RSP: 0018:ffffc90003387ac8 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 0000000000000010 RCX: 4d531df114d43c00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffc900033877c7 R09: 1ffff92000670ef8
R10: dffffc0000000000 R11: fffff52000670ef9 R12: 0000000000000001
R13: dffffc0000000000 R14: 0000000000000011 R15: ffff88814c5ded68
FS:  0000555574487500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0e7b9d7e9c CR3: 000000007a1f8000 CR4: 00000000003506e0
----------------
Code disassembly (best guess):
   0:	0f b6 18             	movzbl (%rax),%ebx
   3:	49 83 c7 08          	add    $0x8,%r15
   7:	4c 89 f8             	mov    %r15,%rax
   a:	48 c1 e8 03          	shr    $0x3,%rax
   e:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
  13:	74 08                	je     0x1d
  15:	4c 89 ff             	mov    %r15,%rdi
  18:	e8 6a 85 d8 fa       	call   0xfad88587
  1d:	4d 8b 37             	mov    (%r15),%r14
  20:	49 ff c6             	inc    %r14
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 d7 08 00 00    	jne    0x90e
  37:	41 88 1e             	mov    %bl,(%r14)
  3a:	48 8b 44 24 48       	mov    0x48(%rsp),%rax
  3f:	42                   	rex.X

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/08 02:24 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in su3000_i2c_transfer
2025/09/15 12:09 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in su3000_i2c_transfer
2025/09/15 08:18 linux-6.6.y 60a9e718726f e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in su3000_i2c_transfer
2025/09/08 01:49 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in su3000_i2c_transfer
2025/09/08 01:49 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in su3000_i2c_transfer
* Struck through repros no longer work on HEAD.