general protection fault in wcove_typec_probe

Status: upstream: reported C repro on 2026/08/17 17:39
Reported-by: syzbot+520d7648a0d934061fb0@syzkaller.appspotmail.com
First crash: 5d03h, last: 2d09h
Discussions (1)
Title Replies (including bot) Last reply
[PATCH] usb: typec: fix null-pointer-dereference in wcove_typec_probe() 4 (4) 2026/08/21 15:19
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in wcove_typec_probe usb prio:low 2 11 4d18h 1d13h 0/29 upstream: reported on 2026/08/21 07:41

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 4428 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:wcove_typec_probe+0xd1/0x570 drivers/usb/typec/tcpm/wcove.c:621
Code: 27 00 74 13 49 8d be 90 00 00 00 e8 e9 8d 33 fb 49 8d 86 90 00 00 00 48 89 6c 24 18 48 89 28 49 83 c5 08 4c 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ef e8 40 8d 33 fb 49 8b 6d 00 4d 8d ae
RSP: 0018:ffffc90003387a60 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff8881476ad000 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88807d2be088
RBP: ffff8881476ad010 R08: ffff88807d2be0a7 R09: ffff88807d2be098
R10: dffffc0000000000 R11: ffffed100fa57c15 R12: dffffc0000000000
R13: 0000000000000008 R14: ffff88807d2be028 R15: 1ffff1100fa57c17
FS:  0000555559446500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd18870000 CR3: 000000002585d000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 platform_probe+0x137/0x1c0 drivers/base/platform.c:1400
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x24a/0xb40 drivers/base/dd.c:638
 __driver_probe_device+0x1f5/0x390 drivers/base/dd.c:804
 device_driver_attach+0xd9/0x1c0 drivers/base/dd.c:1131
 bind_store+0x33b/0x380 drivers/base/bus.c:216
 kernfs_fop_write_iter+0x3a0/0x520 fs/kernfs/file.c:352
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x482/0x9a0 fs/read_write.c:584
 ksys_write+0x14d/0x260 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fcd1899e0d9
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:00007ffef3b50ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fcd18c25fa0 RCX: 00007fcd1899e0d9
RDX: 0000000000000007 RSI: 0000200000000400 RDI: 0000000000000004
RBP: 00007fcd18a35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcd18c25fac R14: 00007fcd18c25fa0 R15: 00007fcd18c25fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:wcove_typec_probe+0xd1/0x570 drivers/usb/typec/tcpm/wcove.c:621
Code: 27 00 74 13 49 8d be 90 00 00 00 e8 e9 8d 33 fb 49 8d 86 90 00 00 00 48 89 6c 24 18 48 89 28 49 83 c5 08 4c 89 e8 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 ef e8 40 8d 33 fb 49 8b 6d 00 4d 8d ae
RSP: 0018:ffffc90003387a60 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff8881476ad000 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff88807d2be088
RBP: ffff8881476ad010 R08: ffff88807d2be0a7 R09: ffff88807d2be098
R10: dffffc0000000000 R11: ffffed100fa57c15 R12: dffffc0000000000
R13: 0000000000000008 R14: ffff88807d2be028 R15: 1ffff1100fa57c17
FS:  0000555559446500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffef3b51040 CR3: 000000002585d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	00 74 13 49          	add    %dh,0x49(%rbx,%rdx,1)
   4:	8d be 90 00 00 00    	lea    0x90(%rsi),%edi
   a:	e8 e9 8d 33 fb       	call   0xfb338df8
   f:	49 8d 86 90 00 00 00 	lea    0x90(%r14),%rax
  16:	48 89 6c 24 18       	mov    %rbp,0x18(%rsp)
  1b:	48 89 28             	mov    %rbp,(%rax)
  1e:	49 83 c5 08          	add    $0x8,%r13
  22:	4c 89 e8             	mov    %r13,%rax
  25:	48 c1 e8 03          	shr    $0x3,%rax
* 29:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ef             	mov    %r13,%rdi
  33:	e8 40 8d 33 fb       	call   0xfb338d78
  38:	49 8b 6d 00          	mov    0x0(%r13),%rbp
  3c:	4d                   	rex.WRB
  3d:	8d                   	.byte 0x8d
  3e:	ae                   	scas   %es:(%rdi),%al

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/20 12:09 linux-6.1.y 7e6e67054721 1e72964b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in wcove_typec_probe
2026/08/17 20:13 linux-6.1.y e4f7d8be268e 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in wcove_typec_probe
2026/08/17 20:12 linux-6.1.y e4f7d8be268e 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in wcove_typec_probe
2026/08/17 17:39 linux-6.1.y e4f7d8be268e 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in wcove_typec_probe
2026/08/17 17:39 linux-6.1.y e4f7d8be268e 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in wcove_typec_probe
* Struck through repros no longer work on HEAD.