syzbot


BUG: unable to handle kernel paging request in device_move

Status: upstream: reported on 2024/12/16 11:50
Reported-by: syzbot+6face46c1d2f28e76643@syzkaller.appspotmail.com
First crash: 60d, last: 1d04h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in device_move kernel syz 1229 30m 86d 0/28 upstream: reported syz repro on 2024/11/20 18:53
linux-6.1 general protection fault in device_move 7 3d11h 45d 0/3 upstream: reported on 2024/12/31 11:47

Sample crash report:
Unable to handle kernel paging request at virtual address dfff80000000000b
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff80000000000b] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 5714 Comm: syz-executor Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : klist_put lib/klist.c:212 [inline]
pc : klist_del lib/klist.c:230 [inline]
pc : klist_remove+0x190/0x38c lib/klist.c:249
lr : spin_unlock include/linux/spinlock.h:403 [inline]
lr : klist_remove+0x16c/0x38c lib/klist.c:247
sp : ffff800020227720
x29: ffff8000202277c0 x28: dfff800000000000 x27: 1fffe00019a6d0c9
x26: ffff0000cbf78000 x25: dfff800000000000 x24: ffff700004044ee4
x23: ffff800015351ba8 x22: 1fffe0001cfdad0c x21: 0000000000000000
x20: ffff800020227740 x19: ffff0000e7ed6860 x18: ffff800020227400
x17: 0000000000000000 x16: ffff80000824ec08 x15: 000000000003dd84
x14: 00000000673e7c72 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000001 x10: 0000000000000000 x9 : 1fffe000197ef001
x8 : 000000000000000b x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff800017a81dc0 x4 : 0000000000000008 x3 : ffff800008305a14
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000058
Call trace:
 klist_put lib/klist.c:212 [inline]
 klist_del lib/klist.c:230 [inline]
 klist_remove+0x190/0x38c lib/klist.c:249
 device_move+0x17c/0x5c8 drivers/base/core.c:4338
 hci_conn_del_sysfs+0xa0/0x154 net/bluetooth/hci_sysfs.c:73
 hci_conn_cleanup+0x424/0x5b8 net/bluetooth/hci_conn.c:140
 hci_conn_del+0x238/0x378 net/bluetooth/hci_conn.c:678
 hci_conn_hash_flush+0x188/0x220 net/bluetooth/hci_conn.c:1623
 hci_dev_do_close+0x7e4/0x1060 net/bluetooth/hci_core.c:1795
 hci_unregister_dev+0x248/0x4d4 net/bluetooth/hci_core.c:4040
 vhci_release+0x74/0xc4 drivers/bluetooth/hci_vhci.c:345
 __fput+0x1c4/0x800 fs/file_table.c:280
 ____fput+0x20/0x30 fs/file_table.c:308
 task_work_run+0x130/0x1e4 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x670/0x20bc kernel/exit.c:874
 do_group_exit+0x110/0x268 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1005
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: f9400268 927ff915 910162a0 d343fc08 (38796908) 
---[ end trace 482cdce3c3fa3f18 ]---
----------------
Code disassembly (best guess):
   0:	f9400268 	ldr	x8, [x19]
   4:	927ff915 	and	x21, x8, #0xfffffffffffffffe
   8:	910162a0 	add	x0, x21, #0x58
   c:	d343fc08 	lsr	x8, x0, #3
* 10:	38796908 	ldrb	w8, [x8, x25] <-- trapping instruction

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/14 06:54 linux-5.15.y c16c81c81336 d9a046cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in device_move
2025/01/31 20:32 linux-5.15.y 003148680b79 aa47157c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in device_move
2024/12/16 11:49 linux-5.15.y 963e654022cc eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: unable to handle kernel paging request in device_move
2025/02/08 08:07 linux-5.15.y c16c81c81336 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2025/02/04 10:26 linux-5.15.y c16c81c81336 8f267cef .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2025/02/03 14:47 linux-5.15.y c16c81c81336 a21a8419 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2025/01/24 16:57 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2025/01/03 19:39 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2024/12/24 00:24 linux-5.15.y 91786f140358 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2024/12/20 10:13 linux-5.15.y 91786f140358 0f61b415 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
2024/12/17 13:18 linux-5.15.y 963e654022cc f93b2b55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in device_move
* Struck through repros no longer work on HEAD.