syzbot


general protection fault in device_move

Status: upstream: reported on 2025/07/04 01:12
Reported-by: syzbot+80628191ce3caee0ba98@syzkaller.appspotmail.com
First crash: 181d, last: 1d06h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in device_move kernel 8 syz error 6345 43m 406d 0/29 upstream: reported syz repro on 2024/11/20 18:53
linux-6.1 general protection fault in device_move 8 49 18d 365d 0/3 upstream: reported on 2024/12/31 11:47
linux-5.15 BUG: unable to handle kernel paging request in device_move origin:lts-only 8 syz inconclusive 44 28d 380d 0/3 upstream: reported syz repro on 2024/12/16 11:50

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
CPU: 1 PID: 5778 Comm: kworker/u5:7 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: hci1 hci_cmd_sync_work
RIP: 0010:klist_put lib/klist.c:212 [inline]
RIP: 0010:klist_del lib/klist.c:230 [inline]
RIP: 0010:klist_remove+0x15c/0x390 lib/klist.c:249
Code: 80 3c 04 00 74 08 4c 89 f7 e8 b0 a4 89 f7 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 89 a4 89 f7 49 8b 47 58 48 89 44 24 10 4c 89
RSP: 0018:ffffc900049af800 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff88807af23c00 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058
RBP: ffffc900049af8e8 R08: ffffffff8e31c143 R09: 1ffffffff1c63828
R10: dffffc0000000000 R11: fffffbfff1c63829 R12: 1ffff11004c8748c
R13: dffffc0000000000 R14: ffff88802643a460 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f29ef9156c0 CR3: 0000000063e8f000 CR4: 00000000003526e0
Call Trace:
 <TASK>
 device_move+0x193/0x6f0 drivers/base/core.c:4654
 hci_conn_del_sysfs+0xaf/0x160 net/bluetooth/hci_sysfs.c:75
 hci_conn_cleanup net/bluetooth/hci_conn.c:175 [inline]
 hci_conn_del+0x8d8/0xc80 net/bluetooth/hci_conn.c:1149
 hci_abort_conn_sync+0x5a8/0xdc0 net/bluetooth/hci_sync.c:5677
 hci_cmd_sync_work+0x20c/0x390 net/bluetooth/hci_sync.c:327
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa45/0x15b0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </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+0x15c/0x390 lib/klist.c:249
Code: 80 3c 04 00 74 08 4c 89 f7 e8 b0 a4 89 f7 4d 8b 3e 49 83 e7 fe 49 8d 7f 58 48 89 f8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 05 e8 89 a4 89 f7 49 8b 47 58 48 89 44 24 10 4c 89
RSP: 0018:ffffc900049af800 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff88807af23c00 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058
RBP: ffffc900049af8e8 R08: ffffffff8e31c143 R09: 1ffffffff1c63828
R10: dffffc0000000000 R11: fffffbfff1c63829 R12: 1ffff11004c8748c
R13: dffffc0000000000 R14: ffff88802643a460 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000564a6baaebe0 CR3: 0000000023c1f000 CR4: 00000000003526e0
----------------
Code disassembly (best guess):
   0:	80 3c 04 00          	cmpb   $0x0,(%rsp,%rax,1)
   4:	74 08                	je     0xe
   6:	4c 89 f7             	mov    %r14,%rdi
   9:	e8 b0 a4 89 f7       	call   0xf789a4be
   e:	4d 8b 3e             	mov    (%r14),%r15
  11:	49 83 e7 fe          	and    $0xfffffffffffffffe,%r15
  15:	49 8d 7f 58          	lea    0x58(%r15),%rdi
  19:	48 89 f8             	mov    %rdi,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 05                	je     0x35
  30:	e8 89 a4 89 f7       	call   0xf789a4be
  35:	49 8b 47 58          	mov    0x58(%r15),%rax
  39:	48 89 44 24 10       	mov    %rax,0x10(%rsp)
  3e:	4c                   	rex.WR
  3f:	89                   	.byte 0x89

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/31 03:26 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/12/30 07:57 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/12/21 23:35 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/12/15 23:50 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/11/14 15:12 linux-6.6.y 0a805b6ea8cd f7988ea4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/11/11 16:27 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/11/07 03:52 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/10/27 21:27 linux-6.6.y 4a243110dc88 fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/10/22 09:57 linux-6.6.y f231f248323d 252fbbad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/09/30 23:58 linux-6.6.y 147338df3487 65a0eece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/09/26 20:47 linux-6.6.y 147338df3487 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/09/23 19:10 linux-6.6.y af1544b5d072 e667a34f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/08/30 01:25 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/07/12 05:46 linux-6.6.y 59a2de10b81a 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
2025/07/04 01:12 linux-6.6.y 3f5b4c104b7d 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan general protection fault in device_move
* Struck through repros no longer work on HEAD.