general protection fault in set_link_state

Status: premoderation: reported syz repro on 2026/07/24 19:03
Reported-by: syzbot+f3dcc6cc92029b61a270@syzkaller.appspotmail.com
First crash: 8d07h, last: 1h04m
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in set_link_state 2 25 2d13h 8d09h 0/2 premoderation: reported on 2026/07/24 17:03
android-5-15 general protection fault in set_link_state 2 syz 35 1d18h 7d15h 0/2 premoderation: reported syz repro on 2026/07/25 11:11
linux-5.15 general protection fault in set_link_state 2 syz, C 6 5d20h 7d07h 0/3 upstream: reported C repro on 2026/07/25 19:33
upstream general protection fault in set_link_state usb 2 1 219d 215d 0/29 auto-obsoleted due to no activity on 2026/03/25 06:13
upstream general protection fault in set_link_state (2) usb prio:low 19 syz, C 452 53m 4d12h 0/29 closed as dup on 2026/07/29 12:31
android-5-10 general protection fault in set_link_state 2 syz 135 2d17h 8d13h 0/2 premoderation: reported syz repro on 2026/07/24 13:19
linux-6.6 general protection fault in set_link_state 2 6 17h53m 8d01h 0/2 upstream: reported on 2026/07/25 01:05
linux-6.1 BUG: unable to handle kernel paging request in set_link_state 8 syz, C 12 18h22m 8d04h 0/3 upstream: reported C repro on 2026/07/24 22:28

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 UID: 0 PID: 408 Comm: syz.0.17 Not tainted syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:set_link_state+0x2a/0x1240 drivers/usb/gadget/udc/dummy_hcd.c:435
Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 60 49 89 fd 48 bb 00 00 00 00 00 fc ff df e8 dd 01 ce fd 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 b8 c4 26 fe 4d 8b 75 00 49 8d 95 93
RSP: 0018:ffffc90000eef718 EFLAGS: 00010046
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff8881189edf00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000eef7a0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001ddee0 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810daf4000
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002228c89e2000 CR3: 00000000074aa000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 dummy_pullup+0xd1/0x130 drivers/usb/gadget/udc/dummy_hcd.c:914
 usb_gadget_disconnect_locked+0x151/0x400 drivers/usb/gadget/udc/core.c:780
 gadget_unbind_driver+0xaf/0x3f0 drivers/usb/gadget/udc/core.c:1670
 device_remove drivers/base/dd.c:567 [inline]
 __device_release_driver drivers/base/dd.c:1272 [inline]
 device_release_driver_internal+0x4ad/0x830 drivers/base/dd.c:1295
 driver_detach+0x1f5/0x2d0 drivers/base/dd.c:1358
 bus_remove_driver+0x254/0x2b0 drivers/base/bus.c:744
 driver_unregister+0x79/0xb0 drivers/base/driver.c:274
 usb_gadget_unregister_driver+0x52/0x80 drivers/usb/gadget/udc/core.c:1736
 raw_release+0xdb/0x280 drivers/usb/gadget/legacy/raw_gadget.c:463
 __fput+0x208/0xa30 fs/file_table.c:447
 ____fput+0x20/0x30 fs/file_table.c:475
 task_work_run+0x1e8/0x260 kernel/task_work.c:246
 exit_task_work include/linux/task_work.h:43 [inline]
 do_exit+0xa46/0x2850 kernel/exit.c:955
 do_group_exit+0x21f/0x2f0 kernel/exit.c:1098
 get_signal+0x134c/0x1490 kernel/signal.c:2933
 arch_do_signal_or_restart+0xbc/0x700 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x57/0xb0 kernel/entry/common.c:218
 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f2537b9dcab
Code: Unable to access opcode bytes at 0x7f2537b9dc81.
RSP: 002b:00007f2538a63f00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000004 RCX: 00007f2537b9dcab
RDX: 00007f2538a64fd0 RSI: 0000000080085502 RDI: 0000000000000004
RBP: 00007f2538a64fd0 R08: 0000000000000001 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502
R13: 0000000800000000 R14: 0000000000000003 R15: 00007f2537c5386a
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:set_link_state+0x2a/0x1240 drivers/usb/gadget/udc/dummy_hcd.c:435
Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 60 49 89 fd 48 bb 00 00 00 00 00 fc ff df e8 dd 01 ce fd 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 b8 c4 26 fe 4d 8b 75 00 49 8d 95 93
RSP: 0018:ffffc90000eef718 EFLAGS: 00010046
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff8881189edf00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000eef7a0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001ddee0 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810daf4000
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002228c89e2000 CR3: 00000000074aa000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	55                   	push   %rbp
   1:	48 89 e5             	mov    %rsp,%rbp
   4:	41 57                	push   %r15
   6:	41 56                	push   %r14
   8:	41 55                	push   %r13
   a:	41 54                	push   %r12
   c:	53                   	push   %rbx
   d:	48 83 ec 60          	sub    $0x60,%rsp
  11:	49 89 fd             	mov    %rdi,%r13
  14:	48 bb 00 00 00 00 00 	movabs $0xdffffc0000000000,%rbx
  1b:	fc ff df
  1e:	e8 dd 01 ce fd       	call   0xfdce0200
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	80 3c 18 00          	cmpb   $0x0,(%rax,%rbx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 ef             	mov    %r13,%rdi
  33:	e8 b8 c4 26 fe       	call   0xfe26c4f0
  38:	4d 8b 75 00          	mov    0x0(%r13),%r14
  3c:	49                   	rex.WB
  3d:	8d                   	.byte 0x8d
  3e:	95                   	xchg   %eax,%ebp
  3f:	93                   	xchg   %eax,%ebx

Crashes (170):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/30 18:56 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 08:32 android16-6.12 f1c9c21d1c2f 2377cd3d .config strace log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/02 01:36 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 22:26 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 18:08 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 17:00 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 15:39 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 14:22 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 13:50 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 12:34 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 10:20 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 08:11 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 06:48 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 03:50 android16-6.12 1a138e24e292 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/08/01 00:17 android16-6.12 1a138e24e292 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/31 20:48 android16-6.12 1a138e24e292 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/31 18:31 android16-6.12 1a138e24e292 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/31 17:16 android16-6.12 1a138e24e292 7664cf44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/31 07:20 android16-6.12 7d66c8550304 aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/31 00:40 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/31 00:29 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 23:15 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 22:06 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 20:24 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 18:20 android16-6.12 f1c9c21d1c2f aaffb173 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 17:11 android16-6.12 f1c9c21d1c2f 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 14:58 android16-6.12 f1c9c21d1c2f 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 10:13 android16-6.12 f1c9c21d1c2f 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 07:37 android16-6.12 f1c9c21d1c2f 2377cd3d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 05:41 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 04:03 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 02:22 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 01:08 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/30 00:03 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 22:57 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 21:01 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 18:33 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 16:42 android16-6.12 f1c9c21d1c2f 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 15:29 android16-6.12 6f69867ef141 6ef5c1e2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 11:35 android16-6.12 6f69867ef141 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 08:51 android16-6.12 6f69867ef141 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 07:35 android16-6.12 6f69867ef141 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 05:25 android16-6.12 6f69867ef141 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 04:08 android16-6.12 6f69867ef141 19622d9d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/29 00:28 android16-6.12 c56681255a47 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/28 23:10 android16-6.12 c56681255a47 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/28 22:18 android16-6.12 c56681255a47 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/28 20:48 android16-6.12 c56681255a47 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/28 17:34 android16-6.12 7b9e76cc9df5 edc8a875 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
2026/07/24 19:02 android16-6.12 41c3d4eb44a7 dd737a83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in set_link_state
* Struck through repros no longer work on HEAD.