syzbot


WARNING in ocfs2_unlink

Status: upstream: reported C repro on 2025/01/14 14:59
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+55c40ae8a0e5f3659f2b@syzkaller.appspotmail.com
First crash: 94d, last: 9d01h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in ocfs2_unlink (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] WARNING in ocfs2_unlink 0 (1) 2025/01/14 14:59
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ocfs2_unlink origin:upstream C error 5 8d19h 94d 0/3 upstream: reported C repro on 2025/01/10 17:34
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/02/03 14:40 13m retest repro upstream report log
2025/02/03 14:40 13m retest repro upstream report log
2025/02/03 14:40 15m retest repro upstream report log
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/03/08 11:32 1h35m bisect fix upstream OK (0) job log log

Sample crash report:
(syz-executor375,5826,0):ocfs2_delete_inode:1068 ERROR: status = -17
(syz-executor375,5826,1):ocfs2_query_inode_wipe:937 ERROR: Inode 17057 (on-disk 17057) not orphaned! Disk flags  0x1, inode flags 0x0
(syz-executor375,5826,1):ocfs2_delete_inode:1068 ERROR: status = -17
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5826 at fs/inode.c:407 drop_nlink+0xc4/0x110 fs/inode.c:407
Modules linked in:
CPU: 1 UID: 0 PID: 5826 Comm: syz-executor375 Not tainted 6.13.0-rc7-syzkaller-00189-g595523945be0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:drop_nlink+0xc4/0x110 fs/inode.c:407
Code: bb 70 07 00 00 be 08 00 00 00 e8 c7 35 e7 ff f0 48 ff 83 70 07 00 00 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc e8 1d 54 83 ff 90 <0f> 0b 90 eb 83 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 5c ff ff ff
RSP: 0018:ffffc90003ecf8f0 EFLAGS: 00010293
RAX: ffffffff821c1e03 RBX: 1ffff1100eb30a00 RCX: ffff888021359e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff821c1d83 R09: 1ffff1100eb00fbf
R10: dffffc0000000000 R11: ffffed100eb00fc0 R12: ffff888075985000
R13: 1ffff920007d9f34 R14: ffff888075984fb8 R15: dffffc0000000000
FS:  0000555555f73480(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555555f7c7f8 CR3: 0000000075102000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_unlink+0xf62/0x1c80 fs/ocfs2/namei.c:997
 vfs_unlink+0x365/0x650 fs/namei.c:4523
 do_unlinkat+0x4ae/0x830 fs/namei.c:4587
 __do_sys_unlink fs/namei.c:4635 [inline]
 __se_sys_unlink fs/namei.c:4633 [inline]
 __x64_sys_unlink+0x47/0x50 fs/namei.c:4633
 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:0x7f58ba679757
Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffed1f30d58 EFLAGS: 00000287 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f58ba679757
RDX: 00007ffed1f30d80 RSI: 00007ffed1f30e10 RDI: 00007ffed1f30e10
RBP: 00007ffed1f30e10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000287 R12: 00007ffed1f31f00
R13: 0000555555f7c800 R14: 431bde82d7b634db R15: 00007ffed1f32f90
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/18 15:03 upstream 595523945be0 f2cb035c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ocfs2_unlink
2025/01/11 01:06 upstream 2144da25584e 6dbc6a9b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ocfs2_unlink
2025/01/10 20:18 upstream 2144da25584e 6dbc6a9b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in ocfs2_unlink
2025/01/15 08:32 upstream 619f0b6fad52 7315a7cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ocfs2_unlink
2025/01/14 09:35 upstream c45323b7560e b1f1cd88 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ocfs2_unlink
2025/01/10 14:49 upstream 643e2e259c2b 67d7ec0a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in ocfs2_unlink
2025/04/06 07:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d6b13dbd03b7 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
2025/02/06 05:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2014c95afece 577d049b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
2025/01/20 14:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
2025/01/20 10:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
2025/01/20 10:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1950a0af2d55 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
2025/01/13 02:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6251d1776bc5 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
2025/01/11 15:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6251d1776bc5 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in ocfs2_unlink
* Struck through repros no longer work on HEAD.