syzbot


WARNING in ocfs2_trim_fs_lock_res_init

Status: upstream: reported on 2024/10/29 23:05
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+ebb818a7a0f6d899fd31@syzkaller.appspotmail.com
First crash: 577d, last: 1d23h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
76a2a61c-6b63-4d66-8486-15b1d1843b6a assessment-security 💥 WARNING in ocfs2_trim_fs_lock_res_init 2026/05/15 20:36 2026/05/15 20:36 2026/05/15 21:00 efdaf0f9b8bfc56ea6d17bea15a64f4591cc712d failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/f914d1857e26455653e6bf8818ccc4971adbbd56" "-s" "bzImage" "compile_commands.json"]: exit status 2 Root cause: ld.lld: error: undefined symbol: wcslen * * Restart config... * * * General architecture-dependent options * Kprobes (KPROBES) [N/y/?] n Optimize very unlikely/likely branches (JUMP_LABEL) [Y/n/?] y Static key selftest (STATIC_KEYS_SELFTEST) [N/y/?] n Static call selftest (STATIC_CALL_SELFTEST) [N/y/?] n Enable seccomp to safely execute untrusted bytecode (SECCOMP) [Y/n/?] y Show seccomp filter cache status in /proc/pid/seccomp_cache (SECCOMP_CACHE_DEBUG) [N/y/?] n Stack Protector buffer overflow detection (STACKPROTECTOR) [Y/n/?] y Strong Stack Protector (STACKPROTECTOR_STRONG) [Y/n/?] y Link Time Optimization (LTO) > 1. None (LTO_NONE) choice[1]: 1 Enable Clang's AutoFDO build (EXPERIMENTAL) (AUTOFDO_CLANG) [N/y/?] (NEW) Error in reading or end of file. Enable Clang's Propeller build (PROPELLER_CLANG) [N/y/?] (NEW) Error in reading or end of file. Use Clang's Control Flow Integrity (CFI) (CFI_CLANG) [N/y/?] (NEW) Error in reading or end of file. Number of bits to use for ASLR of mmap base address (ARCH_MMAP_RND_BITS) [28] 28 Number of bits to use for ASLR of mmap base address for compatible applications (ARCH_MMAP_RND_COMPAT_BITS) [8] 8 MMU page size > 1. 4KiB pages (PAGE_SIZE_4KB) choice[1]: 1 Provide system calls for 32-bit time_t (COMPAT_32BIT_TIME) [Y/n/?] y Use a virtually-mapped stack (VMAP_STACK) [Y/n/?] y Support for randomizing kernel stack offset on syscall entry (RANDOMIZE_KSTACK_OFFSET) [Y/n/?] y Default state of kernel stack offset randomization (RANDOMIZE_KSTACK_OFFSET_DEFAULT) [N/y/?] n Locking event counts collection (LOCK_EVENT_COUNTS) [N/y/?] n * * Memory initialization * Initialize kernel stack variables at function entry 1. no automatic stack variable initialization (weakest) (INIT_STACK_NONE) 2. pattern-init everything (strongest) (INIT_STACK_ALL_PATTERN) > 3. zero-init everything (strongest and safest) (INIT_STACK_ALL_ZERO) choice[1-3?]: 3 Enable heap memory zeroing on allocation by default (INIT_ON_ALLOC_DEFAULT_ON) [Y/n/?] y Enable heap memory zeroing on free by default (INIT_ON_FREE_DEFAULT_ON) [N/y/?] n Enable register zeroing on function exit (ZERO_CALL_USED_REGS) [N/y/?] (NEW) Error in reading or end of file. * * Kernel hardening options * Randomize layout of sensitive kernel structures > 1. Disable structure layout randomization (RANDSTRUCT_NONE) 2. Fully randomize structure layout (RANDSTRUCT_FULL) (NEW) choice[1-2?]: Error in reading or end of file. * * Compile-time checks and compiler options * Debug information 1. Disable debug information (DEBUG_INFO_NONE) 2. Rely on the toolchain's implicit default DWARF version (DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT) > 3. Generate DWARF Version 4 debuginfo (DEBUG_INFO_DWARF4) 4. Generate DWARF Version 5 debuginfo (DEBUG_INFO_DWARF5) choice[1-4?]: 3 Reduce debugging information (DEBUG_INFO_REDUCED) [N/y/?] n Compressed Debug information > 1. Don't compress debug information (DEBUG_INFO_COMPRESSED_NONE) 2. Compress debugging information with zlib (DEBUG_INFO_COMPRESSED_ZLIB) 3. Compress debugging information with zstd (DEBUG_INFO_COMPRESSED_ZSTD) (NEW) choice[1-3?]: Error in reading or end of file. Produce split debuginfo in .dwo files (DEBUG_INFO_SPLIT) [N/y/?] n Generate BTF type information (DEBUG_INFO_BTF) [N/y/?] n Provide GDB scripts for kernel debugging (GDB_SCRIPTS) [N/y/?] n Warn for stack frames larger than (FRAME_WARN) [2048] 2048 Strip assembler-generated symbols during link (STRIP_ASM_SYMS) [N/y/?] n Install uapi headers to usr/include (HEADERS_INSTALL) [N/y/?] n Make section mismatch errors non-fatal (SECTION_MISMATCH_WARN_ONLY) [Y/n/?] y Force all function address 64B aligned (DEBUG_FORCE_FUNCTION_ALIGN_64B) [N/y/?] n Generate vmlinux.map file when linking (VMLINUX_MAP) [N/y/?] n Force weak per-cpu definitions (DEBUG_FOR
3447877f-49a3-4ef9-b5ae-b07d74dc31a5 repro WARNING in ocfs2_trim_fs_lock_res_init 2026/03/07 16:39 2026/03/07 16:39 2026/03/07 16:49 31e9c887f7dc24e04b3ca70d0d54fc34141844b0
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] WARNING in ocfs2_trim_fs_lock_res_init 0 (1) 2024/10/29 23:05
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ocfs2_trim_fs_lock_res_init (2) -1 1 281d 281d 0/3 auto-obsoleted due to no activity on 2025/11/25 23:17
linux-6.6 WARNING in ocfs2_trim_fs_lock_res_init -1 4 281d 281d 0/2 auto-obsoleted due to no activity on 2025/11/26 00:33
linux-6.6 WARNING in ocfs2_trim_fs_lock_res_init (2) -1 4 131d 160d 0/2 auto-obsoleted due to no activity on 2026/04/25 07:52
linux-5.15 WARNING in ocfs2_trim_fs_lock_res_init -1 2 584d 584d 0/3 auto-obsoleted due to no activity on 2025/01/27 05:01

Sample crash report:
ocfs2: Mounting device (7,0) on (node local, slot 65535) with ordered data mode.
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(lock->magic != lock)
WARNING: CPU: 1 PID: 7538 at kernel/locking/mutex.c:564 __mutex_lock_common kernel/locking/mutex.c:564 [inline]
WARNING: CPU: 1 PID: 7538 at kernel/locking/mutex.c:564 __mutex_lock+0xed2/0x1010 kernel/locking/mutex.c:730
Modules linked in:
CPU: 1 UID: 0 PID: 7538 Comm: syz.0.437 Not tainted 6.13.0-syzkaller-08265-g9c5968db9e62 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:564 [inline]
RIP: 0010:__mutex_lock+0xed2/0x1010 kernel/locking/mutex.c:730
Code: 0f b6 04 28 84 c0 0f 85 23 01 00 00 83 3d 99 75 25 04 00 75 19 90 48 c7 c7 a0 7b 0a 8c 48 c7 c6 40 7c 0a 8c e8 1f da 89 f5 90 <0f> 0b 90 90 90 e9 91 f2 ff ff 90 0f 0b 90 e9 16 f7 ff ff 90 0f 0b
RSP: 0018:ffffc90003f0f780 EFLAGS: 00010246
RAX: 2ff9b5530494d100 RBX: ffffc90003f0f848 RCX: 0000000000080000
RDX: ffffc9000bba9000 RSI: 0000000000002ab7 RDI: 0000000000002ab8
RBP: ffffc90003f0f918 R08: ffffffff81802842 R09: 1ffff110170e519a
R10: dffffc0000000000 R11: ffffed10170e519b R12: 1ffff920007e1f04
R13: dffffc0000000000 R14: ffff888034010df0 R15: 0000000000000000
FS:  00007f4871f836c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fe12ff8 CR3: 0000000079914000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 ocfs2_trim_fs_lock_res_init+0x35/0x4d0 fs/ocfs2/dlmglue.c:703
 ocfs2_trim_fs+0x13c/0x2920 fs/ocfs2/alloc.c:7673
 ocfs2_ioctl+0x71a/0x7d0 fs/ocfs2/ioctl.c:936
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xf7/0x170 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f487118cda9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4871f83038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f48713a5fa0 RCX: 00007f487118cda9
RDX: 0000000020000080 RSI: 00000000c0185879 RDI: 0000000000000004
RBP: 00007f487120e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f48713a5fa0 R15: 00007ffe2d8993a8
 </TASK>

Crashes (112):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/28 19:33 upstream 9c5968db9e62 f5427d7c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/26 16:02 upstream 7eef7e306d3c 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in ocfs2_trim_fs_lock_res_init
2024/10/25 23:02 upstream ae90f6a6170d 045e728d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ocfs2_trim_fs_lock_res_init
2026/05/24 12:27 upstream 4cbfe4502e3d c69befb3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/05/19 03:41 upstream 4d3a2a466b8d 9f74d399 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/05/14 14:36 upstream e1914add2799 6ccb967e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/05/10 15:50 upstream 1bfaee9d3351 29233ece .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/05/06 16:57 upstream 74fe02ce122a 23ad3581 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/05/01 13:04 upstream 26fd6bff2c05 753c55b9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/04/27 14:41 upstream 254f49634ee1 0f700595 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/04/23 20:35 upstream 2e6803928193 629ff21a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/04/17 08:08 upstream 3cd8b194bf34 de0a551d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/04/02 06:01 upstream 9147566d8016 0cb124d5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/03/24 10:04 upstream c369299895a5 baf8bf12 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/03/18 20:22 upstream a989fde763f4 0199f9a1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/03/13 07:07 upstream 8004279c41ad 2f7f359d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/03/09 02:49 upstream 014441d1e4b2 5cb44a80 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/03/06 17:39 upstream 5ee8dbf54602 41d8037d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/03/04 15:41 upstream 0031c06807cf e6b6b96b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/02/23 12:42 upstream 6de23f81a5e0 7c9658af .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/02/23 06:45 upstream 189f164e573e 6e7b5511 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/02/21 16:48 upstream a95f71ad3e2e 6e7b5511 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/02/21 08:29 upstream a95f71ad3e2e 6e7b5511 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/02/15 04:54 upstream 3e48a11675c5 1e62d198 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/01/18 01:08 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/01/17 07:43 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/01/15 15:07 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/01/10 19:45 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2026/01/05 07:09 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/12/15 12:17 upstream 8f0b4cce4481 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/12/13 11:06 upstream 9551a26f17d9 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/12/01 21:32 upstream 7d0a66e4bb90 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/30 12:52 upstream 6bda50f4333f d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/29 05:50 upstream 19eef1d98eed d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/28 02:35 upstream 765e56e41a5a e8331348 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/27 15:59 upstream 765e56e41a5a e8331348 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/20 15:09 upstream 23cb64fb7625 2cc4c24a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/19 18:11 upstream 8b690556d8fe 82d7b894 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/19 02:19 upstream 5bebe8de1926 ef766cd7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/16 07:39 upstream f824272b6e3f f7988ea4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/14 10:02 upstream 2ccec5944606 07e030de .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/09 16:36 upstream 439fc29dfd3b 4e1406b4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/11/06 10:07 upstream dc77806cf3b4 a6c9c731 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/10/29 18:11 upstream e53642b87a4f fd2207e7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2025/10/28 15:45 upstream fd57572253bc fd2207e7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_trim_fs_lock_res_init
2024/11/03 03:07 linux-next c88416ba074a f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in ocfs2_trim_fs_lock_res_init
2026/01/09 07:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 59e4d31a0470 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_trim_fs_lock_res_init
2025/11/21 11:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 3812f8fa7c83 280ea308 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_trim_fs_lock_res_init
* Struck through repros no longer work on HEAD.