syzbot


WARNING: lock held when returning to user space in srcu_lock_acquire

Status: fixed on 2024/06/11 03:41
Subsystems: rcu
[Documentation on labels]
Reported-by: syzbot+d797fe78808e968d6c84@syzkaller.appspotmail.com
Fix commit: 70dd062e27e6 bcachefs: Fix btree_trans leak in bch2_readahead()
First crash: 40d, last: 37d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bcachefs?] [rcu?] WARNING: lock held when returning to user space in srcu_lock_acquire 0 (1) 2024/05/13 11:21

Sample crash report:
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152
 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598
================================================
WARNING: lock held when returning to user space!
6.9.0-rc7-syzkaller-g1c9135d29e9e #0 Not tainted
------------------------------------------------
syz-executor367/6238 is leaving the kernel with locks still held!
1 lock held by syz-executor367/6238:
 #0: ffff0000dcc84250 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire+0x18/0x54 include/linux/srcu.h:115

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/09 11:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1c9135d29e9e 20bf80e1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING: lock held when returning to user space in srcu_lock_acquire
2024/05/12 06:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: lock held when returning to user space in srcu_lock_acquire
2024/05/09 11:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1c9135d29e9e 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING: lock held when returning to user space in srcu_lock_acquire
* Struck through repros no longer work on HEAD.