syzbot


general protection fault in device_move

Status: upstream: reported on 2024/12/31 11:47
Reported-by: syzbot+e0c10fc14a30c3df1430@syzkaller.appspotmail.com
First crash: 298d, last: 2d09h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 general protection fault in device_move 2 7 3d04h 113d 0/2 upstream: reported on 2025/07/04 01:12
upstream general protection fault in device_move kernel 8 syz error 5127 27m 338d 0/29 upstream: reported syz repro on 2024/11/20 18:53
linux-5.15 BUG: unable to handle kernel paging request in device_move 8 41 65d 313d 0/3 upstream: reported 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: 6980 Comm: syz.1.542 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:klist_put lib/klist.c:212 [inline]
RIP: 0010:klist_del lib/klist.c:230 [inline]
RIP: 0010:klist_remove+0x158/0x380 lib/klist.c:249
Code: 80 3c 04 00 74 08 4c 89 f7 e8 b4 5c cd 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 8d 5c cd f7 49 8b 47 58 48 89 44 24 10 4c 89
RSP: 0018:ffffc900054c78e0 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff88802e1cbb80 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058
RBP: ffffc900054c79d8 R08: dffffc0000000000 R09: fffffbfff1c101ad
R10: fffffbfff1c101ad R11: 1ffffffff1c101ac R12: 1ffff1100ad4bd0c
R13: dffffc0000000000 R14: ffff888056a5e860 R15: 0000000000000000
FS:  00007f312aa4d6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f32ec177f98 CR3: 000000005c105000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 device_move+0x18f/0x6f0 drivers/base/core.c:4633
 hci_conn_del_sysfs+0xab/0x160 net/bluetooth/hci_sysfs.c:73
 hci_conn_cleanup+0x575/0x730 net/bluetooth/hci_conn.c:172
 hci_conn_del+0x515/0x720 net/bluetooth/hci_conn.c:1152
 hci_conn_hash_flush+0x203/0x290 net/bluetooth/hci_conn.c:2511
 hci_dev_close_sync+0x930/0xf40 net/bluetooth/hci_sync.c:5241
 hci_dev_do_close net/bluetooth/hci_core.c:510 [inline]
 hci_rfkill_set_block+0x127/0x1f0 net/bluetooth/hci_core.c:917
 rfkill_set_block+0x1c6/0x420 net/rfkill/core.c:345
 rfkill_fop_write+0x458/0x560 net/rfkill/core.c:1286
 vfs_write+0x2c4/0x960 fs/read_write.c:582
 ksys_write+0x143/0x240 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f3129b8efc9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f312aa4d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3129de5fa0 RCX: 00007f3129b8efc9
RDX: 0000000000000008 RSI: 0000200000000080 RDI: 0000000000000003
RBP: 00007f3129c11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3129de6038 R14: 00007f3129de5fa0 R15: 00007ffe46243c48
 </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+0x158/0x380 lib/klist.c:249
Code: 80 3c 04 00 74 08 4c 89 f7 e8 b4 5c cd 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 8d 5c cd f7 49 8b 47 58 48 89 44 24 10 4c 89
RSP: 0018:ffffc900054c78e0 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff88802e1cbb80 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000058
RBP: ffffc900054c79d8 R08: dffffc0000000000 R09: fffffbfff1c101ad
R10: fffffbfff1c101ad R11: 1ffffffff1c101ac R12: 1ffff1100ad4bd0c
R13: dffffc0000000000 R14: ffff888056a5e860 R15: 0000000000000000
FS:  00007f312aa4d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c39a6b1 CR3: 000000005c105000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
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 b4 5c cd f7       	call   0xf7cd5cc2
   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 8d 5c cd f7       	call   0xf7cd5cc2
  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 (45):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/23 04:55 linux-6.1.y 8e6e2188d949 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/10/20 16:11 linux-6.1.y 8e6e2188d949 d422939c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/10/15 18:55 linux-6.1.y c2fda4b3f577 19568248 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/09/26 20:26 linux-6.1.y 7b34dc04e4ff 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/08/25 00:01 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/31 00:16 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/22 16:16 linux-6.1.y 3369c6df2fae 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/12 06:05 linux-6.1.y dfc486ec9cce 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/10 04:34 linux-6.1.y 04d1ccaa9c28 956bd956 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/09 11:01 linux-6.1.y 04d1ccaa9c28 f4e5e155 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/05 13:49 linux-6.1.y 7e69c33e4858 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/05 13:47 linux-6.1.y 7e69c33e4858 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/05 12:02 linux-6.1.y 7e69c33e4858 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/07/04 00:53 linux-6.1.y 7e69c33e4858 76ad128c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/30 21:28 linux-6.1.y 7e69c33e4858 6e83b42d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/29 10:32 linux-6.1.y 7e69c33e4858 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/14 02:14 linux-6.1.y 58485ff1a74f 0e8da31f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/11 03:15 linux-6.1.y 58485ff1a74f 5d7e17ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/04 04:01 linux-6.1.y da3c5173c55f a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/03 10:43 linux-6.1.y da3c5173c55f a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/03 03:06 linux-6.1.y da3c5173c55f a30356b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/06/02 19:53 linux-6.1.y da3c5173c55f b396b4bf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/28 03:05 linux-6.1.y da3c5173c55f 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/28 03:00 linux-6.1.y da3c5173c55f 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/17 03:50 linux-6.1.y 02b72ccb5f9d f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/15 23:54 linux-6.1.y 02b72ccb5f9d cfde8269 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/12 18:42 linux-6.1.y 02b72ccb5f9d f6671af7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/09 17:34 linux-6.1.y 02b72ccb5f9d 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/07 18:54 linux-6.1.y ac7079a42ea5 dbf35fa1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/03 02:42 linux-6.1.y b6736e03756f b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/01 17:02 linux-6.1.y 535ec20c5027 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/05/01 09:20 linux-6.1.y 535ec20c5027 ce7952f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/04/29 00:26 linux-6.1.y 535ec20c5027 aeb6ec69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/04/15 16:13 linux-6.1.y 420102835862 23b969b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/03/21 07:08 linux-6.1.y 344a09659766 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/03/12 13:07 linux-6.1.y 6ae7ac5c4251 ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/02/21 16:36 linux-6.1.y 3a8358583626 0808a665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/01/28 03:49 linux-6.1.y 75cefdf153f5 18070896 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/01/24 05:14 linux-6.1.y 75cefdf153f5 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/01/24 05:12 linux-6.1.y 75cefdf153f5 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/01/23 20:09 linux-6.1.y 75cefdf153f5 521b0ce3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/01/04 05:14 linux-6.1.y 7dc732d24ff7 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2024/12/31 11:46 linux-6.1.y 563edd786f0a d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in device_move
2025/04/10 01:39 linux-6.1.y 3dfebb87d7eb 988b336c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in device_move
2025/02/12 00:28 linux-6.1.y 0cbb5f65e52f f2baddf5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in device_move
* Struck through repros no longer work on HEAD.