syzbot


WARNING: lock held when returning to user space in query_matching_vma

Status: upstream: reported C repro on 2025/07/14 17:10
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+add57955be940be754a1@syzkaller.appspotmail.com
First crash: 44d, last: 43d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [fs?] WARNING: lock held when returning to user space in query_matching_vma 0 (1) 2025/07/14 17:10
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/07/29 20:07 2h03m retest repro linux-next error
2025/07/29 20:07 2h07m retest repro linux-next error

Sample crash report:
================================================
WARNING: lock held when returning to user space!
6.16.0-rc5-next-20250711-syzkaller #0 Not tainted
------------------------------------------------
syz.0.22/6099 is leaving the kernel with locks still held!
1 lock held by syz.0.22/6099:
 #0: ffff888069d41588 (vm_lock){++++}-{0:0}, at: get_next_vma fs/proc/task_mmu.c:182 [inline]
 #0: ffff888069d41588 (vm_lock){++++}-{0:0}, at: query_vma_find_by_addr fs/proc/task_mmu.c:512 [inline]
 #0: ffff888069d41588 (vm_lock){++++}-{0:0}, at: query_matching_vma+0x319/0x5c0 fs/proc/task_mmu.c:544

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/13 11:41 linux-next a62b7a37e6fc 3cda49cf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING: lock held when returning to user space in query_matching_vma
2025/07/15 00:20 linux-next 0be23810e32e 03fcfc4b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING: lock held when returning to user space in query_matching_vma
* Struck through repros no longer work on HEAD.