general protection fault in bus_remove_device

Status: premoderation: reported C repro on 2026/08/03 16:19
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e2271ab938eb2746b343@syzkaller.appspotmail.com
First crash: 52d, last: 3d20h
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/08/15 lts (merge base) 8c9d5557c8e6 C [report] general protection fault in bus_remove_device
2026/08/15 upstream (ToT) 15ef2f78c49d C [report] general protection fault in bus_remove_device
▶ ▼ Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in bus_remove_device origin:lts 2 syz, C 5 5d17h 41d 0/2 upstream: reported C repro on 2026/08/14 17:46
upstream general protection fault in bus_remove_device prio:high usb 2 syz, C 8 1d20h 36d 0/29 upstream: reported C repro on 2026/08/19 17:18
android-6-1 general protection fault in bus_remove_device 2 syz, C 1 3d09h 3d09h 0/2 upstream: reported C repro on 2026/09/21 21:51
android-5-10 general protection fault in bus_remove_device 2 syz, C 12 4d06h 44d 0/2 upstream: reported C repro on 2026/08/11 17:31
▶ ▼ Last patch testing requests (3)
Created Duration User Patch Repo Result
2026/08/26 18:04 10m retest repro android16-6.12 report job log log
2026/08/26 18:04 10m retest repro android16-6.12 report job log log
2026/08/26 18:04 24m retest repro android16-6.12 report job log log

Sample crash report:
usb 1-1: 2:1 : unknown format tag 0x4 is detected.  processed as MPEG.
usb 1-1: found format II with max.bitrate = 4, frame size=7372
usb 1-1: parse_audio_format_rates_v2v3(): unable to retrieve number of sample rates (clock 0)
usb 1-1: USB disconnect, device number 2
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027]
CPU: 0 UID: 0 PID: 10 Comm: kworker/0:1 Not tainted syzkaller #0 52749abf125da3aebe1f5771d25291006b6a1b72
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:klist_put lib/klist.c:212 [inline]
RIP: 0010:klist_del lib/klist.c:230 [inline]
RIP: 0010:klist_remove+0x15e/0x330 lib/klist.c:249
Code: be 00 00 00 00 00 fc ff df 43 80 3c 34 00 74 08 48 89 df e8 c4 68 44 fc 4c 8b 3b 49 83 e7 fe 49 8d 7f 20 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 05 e8 a6 68 44 fc 49 8b 47 20 48 89 44 24 18 4c
RSP: 0018:ffffc900000a7600 EFLAGS: 00010202
RAX: 0000000000000004 RBX: ffff888106255248 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff87e35d00 RDI: 0000000000000020
RBP: ffffc900000a76e8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000014eb0 R12: 1ffff11020c4aa49
R13: 1ffff92000014ec4 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005577ec16cf98 CR3: 000000010e344000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 __device_release_driver drivers/base/dd.c:1280 [inline]
 device_release_driver_internal+0x739/0x830 drivers/base/dd.c:1295
 device_release_driver+0x1d/0x30 drivers/base/dd.c:1318
 bus_remove_device+0x34f/0x370 drivers/base/bus.c:576
 device_del+0x583/0xcf0 drivers/base/core.c:3881
 usb_disable_device+0x3af/0x770 drivers/usb/core/message.c:1476
 usb_disconnect+0x331/0x950 drivers/usb/core/hub.c:2353
 hub_port_connect drivers/usb/core/hub.c:5414 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5714 [inline]
 port_event drivers/usb/core/hub.c:5878 [inline]
 hub_event+0x1ad5/0x4360 drivers/usb/core/hub.c:5960
 process_one_work kernel/workqueue.c:3273 [inline]
 process_scheduled_works+0x7f4/0x1060 kernel/workqueue.c:3354
 worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
 kthread+0x2c4/0x360 kernel/kthread.c:389
 ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:klist_put lib/klist.c:212 [inline]
RIP: 0010:klist_del lib/klist.c:230 [inline]
RIP: 0010:klist_remove+0x15e/0x330 lib/klist.c:249
Code: be 00 00 00 00 00 fc ff df 43 80 3c 34 00 74 08 48 89 df e8 c4 68 44 fc 4c 8b 3b 49 83 e7 fe 49 8d 7f 20 48 89 f8 48 c1 e8 03 <42> 80 3c 30 00 74 05 e8 a6 68 44 fc 49 8b 47 20 48 89 44 24 18 4c
RSP: 0018:ffffc900000a7600 EFLAGS: 00010202
RAX: 0000000000000004 RBX: ffff888106255248 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff87e35d00 RDI: 0000000000000020
RBP: ffffc900000a76e8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000014eb0 R12: 1ffff11020c4aa49
R13: 1ffff92000014ec4 R14: dffffc0000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005577ec16cf98 CR3: 000000010cb8c000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	be 00 00 00 00       	mov    $0x0,%esi
   5:	00 fc                	add    %bh,%ah
   7:	ff                   	lcall  (bad)
   8:	df 43 80             	filds  -0x80(%rbx)
   b:	3c 34                	cmp    $0x34,%al
   d:	00 74 08 48          	add    %dh,0x48(%rax,%rcx,1)
  11:	89 df                	mov    %ebx,%edi
  13:	e8 c4 68 44 fc       	call   0xfc4468dc
  18:	4c 8b 3b             	mov    (%rbx),%r15
  1b:	49 83 e7 fe          	and    $0xfffffffffffffffe,%r15
  1f:	49 8d 7f 20          	lea    0x20(%r15),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	74 05                	je     0x36
  31:	e8 a6 68 44 fc       	call   0xfc4468dc
  36:	49 8b 47 20          	mov    0x20(%r15),%rax
  3a:	48 89 44 24 18       	mov    %rax,0x18(%rsp)
  3f:	4c                   	rex.WR

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/17 05:21 android16-6.12 09f57006a67d 95928915 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/08/03 18:30 android16-6.12 5098494bc7f3 6b7c9f71 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/08/03 17:46 android16-6.12 5098494bc7f3 6b7c9f71 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/08/03 17:02 android16-6.12 5098494bc7f3 6b7c9f71 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/09/21 09:58 android16-6.12 dde7e9bf027f 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/09/18 14:14 android16-6.12 17176090d7cd 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/09/16 06:51 android16-6.12 1107981d2d5c 12a0a44a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/09/12 01:49 android16-6.12 8eff909dd82d 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/09/02 01:37 android16-6.12 97fb1ec747d3 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/08/29 03:13 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
2026/08/03 16:18 android16-6.12 5098494bc7f3 6b7c9f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in bus_remove_device
* Struck through repros no longer work on HEAD.