syzbot


WARNING: lock held when returning to user space in loop_set_block_size

Status: upstream: reported C repro on 2025/08/28 22:58
Reported-by: syzbot+53ce52a8070d96c8f320@syzkaller.appspotmail.com
First crash: 4d17h, last: 15h17m

Sample crash report:
syz.0.17[5945]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
loop0: detected capacity change from 0 to 2048
 loop0: p1 < > p3
loop0: p3 size 134217728 extends beyond EOD, truncated
================================================
WARNING: lock held when returning to user space!
syzkaller #0 Not tainted
------------------------------------------------
syz.0.17/5945 is leaving the kernel with locks still held!
1 lock held by syz.0.17/5945:
 #0: ffff888140b49b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_block_size+0x7c/0x480 drivers/block/loop.c:1490

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/30 18:35 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/09/02 01:15 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/31 22:23 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/31 11:16 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/31 09:38 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/30 17:41 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/30 09:06 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/30 09:02 linux-6.6.y cc1a1c5b404a 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/29 17:11 linux-6.6.y cc1a1c5b404a 3e1beec6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/28 22:58 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
2025/08/28 22:58 linux-6.6.y cc1a1c5b404a d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING: lock held when returning to user space in loop_set_block_size
* Struck through repros no longer work on HEAD.