general protection fault in bus_remove_device

Status: upstream: reported on 2026/11/18 07:04
Reported-by: syzbot+747bb496465a53dc4357@syzkaller.appspotmail.com
First crash: 7d08h, last: 2d01h
▶ ▼ Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in bus_remove_device origin:upstream 2 syz, C 8 14d 102d 0/2 upstream: reported C repro on 2026/08/14 17:46
upstream general protection fault in bus_remove_device prio:high driver-core 2 syz, C 19 11d 97d 0/29 upstream: reported C repro on 2026/08/19 17:18
android-6-1 general protection fault in bus_remove_device origin:upstream 2 syz, C 3 3d21h 64d 0/2 upstream: reported C repro on 2026/09/21 21:51
android-6-12 general protection fault in bus_remove_device origin:upstream 2 syz, C 15 10d 113d 0/1 premoderation: reported C repro on 2026/08/03 16:19
android-5-10 general protection fault in bus_remove_device 2 syz, C 14 13d 105d 0/2 upstream: reported C repro on 2026/08/11 17:31

Sample crash report:
usb 2-1: USB disconnect, device number 8
general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
CPU: 0 PID: 4312 Comm: kworker/0:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:klist_put lib/klist.c:219 [inline]
RIP: 0010:klist_del lib/klist.c:237 [inline]
RIP: 0010:klist_remove+0x151/0x300 lib/klist.c:256
Code: c8 05 4d 89 f4 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 f7 e8 c1 9a b2 fd 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 a3 9a b2 fd 49 8b 47 58 48 89 44 24 08 4c
RSP: 0018:ffffc9000334f5e0 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff888023593b80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058
RBP: ffffc9000334f6c8 R08: ffffffff8d74e783 R09: 1ffffffff1ae9cf0
R10: dffffc0000000000 R11: fffffbfff1ae9cf1 R12: 1ffff1100beccf90
R13: dffffc0000000000 R14: ffff88805f667c80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffe4dda018 CR3: 0000000063482000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __device_release_driver drivers/base/dd.c:1264 [inline]
 device_release_driver_internal+0x69e/0x7f0 drivers/base/dd.c:1282
 bus_remove_device+0x2dd/0x400 drivers/base/bus.c:531
 device_del+0x63f/0xa80 drivers/base/core.c:3617
 usb_disable_device+0x3e7/0x8a0 drivers/usb/core/message.c:1478
 usb_disconnect+0x33c/0x8a0 drivers/usb/core/hub.c:2297
 hub_port_connect drivers/usb/core/hub.c:5351 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5647 [inline]
 port_event drivers/usb/core/hub.c:5809 [inline]
 hub_event+0x1d64/0x5260 drivers/usb/core/hub.c:5891
 process_one_work+0x867/0xff0 kernel/workqueue.c:2310
 worker_thread+0xad7/0x12a0 kernel/workqueue.c:2457
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace d7039b782d90f2a6 ]---
RIP: 0010:klist_put lib/klist.c:219 [inline]
RIP: 0010:klist_del lib/klist.c:237 [inline]
RIP: 0010:klist_remove+0x151/0x300 lib/klist.c:256
Code: c8 05 4d 89 f4 49 c1 ec 03 43 80 3c 2c 00 74 08 4c 89 f7 e8 c1 9a b2 fd 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 a3 9a b2 fd 49 8b 47 58 48 89 44 24 08 4c
RSP: 0018:ffffc9000334f5e0 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff888023593b80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058
RBP: ffffc9000334f6c8 R08: ffffffff8d74e783 R09: 1ffffffff1ae9cf0
R10: dffffc0000000000 R11: fffffbfff1ae9cf1 R12: 1ffff1100beccf90
R13: dffffc0000000000 R14: ffff88805f667c80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1a9d70dff8 CR3: 000000007dc74000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c8 05 4d 89          	enter  $0x4d05,$0x89
   4:	f4                   	hlt
   5:	49 c1 ec 03          	shr    $0x3,%r12
   9:	43 80 3c 2c 00       	cmpb   $0x0,(%r12,%r13,1)
   e:	74 08                	je     0x18
  10:	4c 89 f7             	mov    %r14,%rdi
  13:	e8 c1 9a b2 fd       	call   0xfdb29ad9
  18:	4d 8b 3e             	mov    (%r14),%r15
  1b:	49 83 e7 fe          	and    $0xfffffffffffffffe,%r15
  1f:	49 8d 7f 58          	lea    0x58(%r15),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 05                	je     0x36
  31:	e8 a3 9a b2 fd       	call   0xfdb29ad9
  36:	49 8b 47 58          	mov    0x58(%r15),%rax
  3a:	48 89 44 24 08       	mov    %rax,0x8(%rsp)
  3f:	4c                   	rex.WR

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/23 14:02 linux-5.15.y 4f2df9a01754 e9bfbe3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in bus_remove_device
2026/11/18 07:03 linux-5.15.y 29c6cdaac04a eb4895d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in bus_remove_device
* Struck through repros no longer work on HEAD.