syzbot


general protection fault in l2cap_chan_timeout

Status: auto-closed as invalid on 2020/12/21 18:33
Reported-by: syzbot+565490fafc6a7dfaf4e0@syzkaller.appspotmail.com
First crash: 1313d, last: 1313d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in l2cap_chan_timeout (2) C error 2 917d 1009d 0/1 upstream: reported C repro on 2021/06/23 21:07
upstream general protection fault in l2cap_chan_timeout (2) bluetooth 1 1037d 1033d 0/26 auto-closed as invalid on 2021/09/23 19:42
upstream general protection fault in l2cap_chan_timeout bluetooth 1 1219d 1215d 0/26 auto-closed as invalid on 2021/03/25 23:40
upstream general protection fault in l2cap_chan_timeout (3) bluetooth C inconclusive inconclusive 5 1d01h 777d 0/26 upstream: reported C repro on 2022/02/10 18:27
linux-4.14 general protection fault in l2cap_chan_timeout 1 1335d 1335d 0/1 auto-closed as invalid on 2020/11/29 23:43
linux-4.14 general protection fault in l2cap_chan_timeout (2) C 3 404d 769d 0/1 upstream: reported C repro on 2022/02/18 23:43

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
NOHZ: local_softirq_pending 08
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7634 Comm: kworker/1:3 Not tainted 4.19.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events l2cap_chan_timeout
RIP: 0010:__lock_acquire+0x1eb/0x3ff0 kernel/locking/lockdep.c:3294
Code: 2b 29 00 00 48 81 c4 98 01 00 00 44 89 f8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 b3 2a 00 00 49 81 3e 60 15 d4 8a 0f 84 65 ff ff
RSP: 0018:ffff888050607958 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000053 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000001 R11: 000000000013a192 R12: 0000000000000000
R13: ffff8880505f2100 R14: 0000000000000298 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558e271a7230 CR3: 00000000a1048000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907
 __mutex_lock_common kernel/locking/mutex.c:925 [inline]
 __mutex_lock+0xd7/0x1260 kernel/locking/mutex.c:1072
 l2cap_chan_timeout+0x51/0x210 net/bluetooth/l2cap_core.c:416
 process_one_work+0x864/0x1570 kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
 kthread+0x30b/0x410 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace 201776b7a9b374eb ]---
RIP: 0010:__lock_acquire+0x1eb/0x3ff0 kernel/locking/lockdep.c:3294
Code: 2b 29 00 00 48 81 c4 98 01 00 00 44 89 f8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 b3 2a 00 00 49 81 3e 60 15 d4 8a 0f 84 65 ff ff
RSP: 0018:ffff888050607958 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000053 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: 0000000000000001 R11: 000000000013a192 R12: 0000000000000000
R13: ffff8880505f2100 R14: 0000000000000298 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558e271a7230 CR3: 00000000a1048000 CR4: 00000000001426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/23 18:33 linux-4.19.y d18b78abc0c6 a6d5f3ad .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.