syzbot


WARNING in __hci_cmd_sync_sk

Status: upstream: reported on 2024/08/11 22:20
Reported-by: syzbot+7c8b351e72483fe620cb@syzkaller.appspotmail.com
First crash: 47d, last: 4d17h
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __hci_cmd_sync_sk bluetooth syz 36 65d 81d 27/28 fixed on 2024/08/17 09:45

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4141 at kernel/workqueue.c:1441 __queue_work+0xddc/0xf90
Modules linked in:
CPU: 1 PID: 4141 Comm: syz-executor Not tainted 6.1.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__queue_work+0xddc/0xf90 kernel/workqueue.c:1441
Code: 8b 3c 24 e8 a6 a0 88 00 e9 d9 fc ff ff e8 6c 1e 31 00 89 ee 48 c7 c7 80 99 1d 8d e8 1e 20 0b 03 e9 1e fc ff ff e8 54 1e 31 00 <0f> 0b 48 83 c4 50 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 3e 1e 31 00
RSP: 0018:ffffc9000a167858 EFLAGS: 00010093
RAX: ffffffff815990ec RBX: 00000000000b0012 RCX: ffff88801df19dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000010000 R08: ffffffff815a7edb R09: ffffed100f3a49ac
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000200
R13: dffffc0000000000 R14: 0000000000000008 R15: ffff888072d3e800
FS:  00005555785c3500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002001f000 CR3: 000000005026b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 queue_work_on+0x14b/0x250 kernel/workqueue.c:1548
 queue_work include/linux/workqueue.h:512 [inline]
 hci_cmd_sync_run net/bluetooth/hci_sync.c:144 [inline]
 __hci_cmd_sync_sk+0x7a8/0x1100 net/bluetooth/hci_sync.c:166
 __hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:251 [inline]
 __hci_cmd_sync_status+0x33/0x120 net/bluetooth/hci_sync.c:277
 hci_dev_cmd+0x339/0x9f0 net/bluetooth/hci_core.c:750
 sock_do_ioctl+0x152/0x450 net/socket.c:1204
 sock_ioctl+0x47f/0x770 net/socket.c:1321
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:856
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0707b7dafb
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007fffc7b45160 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f0707b7dafb
RDX: 00007fffc7b451d8 RSI: 00000000400448dd RDI: 0000000000000003
RBP: 00005555785c34a8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000009 R15: 0000000000000000
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/23 18:43 linux-6.1.y e526b12bf916 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __hci_cmd_sync_sk
2024/09/20 13:32 linux-6.1.y e526b12bf916 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __hci_cmd_sync_sk
2024/09/09 20:55 linux-6.1.y 5ca5b389fddf 073f8be2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __hci_cmd_sync_sk
2024/09/07 05:01 linux-6.1.y 699506173494 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __hci_cmd_sync_sk
2024/08/14 22:15 linux-6.1.y 117ac406ba90 e6b88e20 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __hci_cmd_sync_sk
2024/08/11 22:19 linux-6.1.y 36790ef5e00b 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __hci_cmd_sync_sk
* Struck through repros no longer work on HEAD.