syzbot


WARNING in ocfs2_xa_remove_entry

Status: upstream: reported C repro on 2025/12/16 16:20
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+8021f90e085c9ef5797d@syzkaller.appspotmail.com
First crash: 96d, last: 36d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] WARNING in ocfs2_xa_remove_entry 0 (2) 2025/12/16 17:24
Last patch testing requests (8)
Created Duration User Patch Repo Result
2026/02/24 00:34 22m retest repro upstream OK log
2026/02/24 00:34 22m retest repro upstream OK log
2026/02/23 22:27 22m retest repro upstream OK log
2026/02/23 22:27 22m retest repro upstream OK log
2026/02/23 22:27 23m retest repro upstream OK log
2026/02/23 22:27 23m retest repro upstream OK log
2026/02/23 22:27 23m retest repro upstream OK log
2025/12/16 17:24 20m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 40fbbd64bba6c6e7a72885d2f59b6a3be9991eeb OK log

Sample crash report:
loop0: detected capacity change from 0 to 32768
=======================================================
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
memmove: detected buffer overflow: 16 byte read of buffer size 0
WARNING: lib/string_helpers.c:1036 at __fortify_report+0x6b/0xa0 lib/string_helpers.c:1035, CPU#0: syz.0.0/5324
Modules linked in:
CPU: 0 UID: 0 PID: 5324 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:__fortify_report+0x89/0xa0 lib/string_helpers.c:1035
Code: e8 8c 93 8b fd 48 8d 3d 55 0e 57 0b 45 84 e4 49 8b 37 48 c7 c0 e0 a5 06 8c 48 c7 c1 00 a6 06 8c 48 0f 44 c8 4c 89 f2 49 89 d8 <67> 48 0f b9 3a 5b 41 5c 41 5e 41 5f 5d c3 cc cc cc cc cc cc cc cc
RSP: 0018:ffffc9000fbc6ec0 EFLAGS: 00010246
RAX: ffffffff8c06a5e0 RBX: 0000000000000000 RCX: ffffffff8c06a5e0
RDX: 0000000000000010 RSI: ffffffff8c06a4e0 RDI: ffffffff8ff9e210
RBP: 0000000000000012 R08: 0000000000000000 R09: 0000000000000004
R10: ffff88805720438c R11: ffffed100ae4087a R12: 0000000000000000
R13: 0000000000000001 R14: 0000000000000010 R15: ffffffff8c06a2e8
FS:  00007f1e30e846c0(0000) GS:ffff88808cce8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000013c0 CR3: 0000000012c3d000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 __fortify_panic+0x9/0x10 lib/string_helpers.c:1042
 fortify_memcpy_chk include/linux/fortify-string.h:599 [inline]
 ocfs2_xa_remove_entry+0x543/0x670 fs/ocfs2/xattr.c:1985
 ocfs2_xa_remove fs/ocfs2/xattr.c:2073 [inline]
 ocfs2_xa_set+0xdb2/0x2ec0 fs/ocfs2/xattr.c:2277
 ocfs2_xattr_block_set+0x3e0/0x3350 fs/ocfs2/xattr.c:3015
 __ocfs2_xattr_set_handle+0x262/0xf50 fs/ocfs2/xattr.c:-1
 ocfs2_xattr_set+0xf3f/0x13e0 fs/ocfs2/xattr.c:3680
 __vfs_removexattr+0x431/0x470 fs/xattr.c:518
 __vfs_removexattr_locked+0x1e8/0x230 fs/xattr.c:553
 vfs_removexattr+0x80/0x1b0 fs/xattr.c:575
 removexattr fs/xattr.c:1023 [inline]
 filename_removexattr fs/xattr.c:1052 [inline]
 path_removexattrat+0x3ce/0x750 fs/xattr.c:1088
 __do_sys_lremovexattr fs/xattr.c:1106 [inline]
 __se_sys_lremovexattr fs/xattr.c:1103 [inline]
 __x64_sys_lremovexattr+0x65/0x80 fs/xattr.c:1103
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1e2ff9af79
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1e30e84028 EFLAGS: 00000246 ORIG_RAX: 00000000000000c6
RAX: ffffffffffffffda RBX: 00007f1e30215fa0 RCX: 00007f1e2ff9af79
RDX: 0000000000000000 RSI: 0000200000000180 RDI: 00002000000000c0
RBP: 00007f1e300316e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f1e30216038 R14: 00007f1e30215fa0 R15: 00007ffe4287cc18
 </TASK>
----------------
Code disassembly (best guess):
   0:	e8 8c 93 8b fd       	call   0xfd8b9391
   5:	48 8d 3d 55 0e 57 0b 	lea    0xb570e55(%rip),%rdi        # 0xb570e61
   c:	45 84 e4             	test   %r12b,%r12b
   f:	49 8b 37             	mov    (%r15),%rsi
  12:	48 c7 c0 e0 a5 06 8c 	mov    $0xffffffff8c06a5e0,%rax
  19:	48 c7 c1 00 a6 06 8c 	mov    $0xffffffff8c06a600,%rcx
  20:	48 0f 44 c8          	cmove  %rax,%rcx
  24:	4c 89 f2             	mov    %r14,%rdx
  27:	49 89 d8             	mov    %rbx,%r8
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	5b                   	pop    %rbx
  30:	41 5c                	pop    %r12
  32:	41 5e                	pop    %r14
  34:	41 5f                	pop    %r15
  36:	5d                   	pop    %rbp
  37:	c3                   	ret
  38:	cc                   	int3
  39:	cc                   	int3
  3a:	cc                   	int3
  3b:	cc                   	int3
  3c:	cc                   	int3
  3d:	cc                   	int3
  3e:	cc                   	int3
  3f:	cc                   	int3

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/09 21:50 upstream 05f7e89ab973 df949cd9 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/02/08 22:31 upstream e98f34af6116 4c131dc4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/02/04 05:42 upstream de0674d9bc69 42b01fab .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/02/01 13:52 upstream 162b42445b58 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/02/01 09:23 upstream 162b42445b58 6b8752f2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/01/31 20:22 upstream ad9a728a3388 afc0c4d4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/01/30 07:04 upstream 4d310797262f bfa73b7b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/01/18 14:15 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/01/16 21:15 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/01/09 09:08 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2026/01/04 11:18 upstream aacb0a6d604a d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/28 18:50 upstream d26143bb38e2 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/22 03:33 upstream 765b233a9b94 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/21 21:03 upstream 9094662f6707 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/21 15:10 upstream 9094662f6707 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/18 12:16 upstream ea1013c15392 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/13 04:34 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/13 03:28 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/13 02:29 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/13 00:14 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/12 22:00 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/12 19:47 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/12 18:48 upstream 187d0801404f d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
2025/12/12 16:10 upstream 187d0801404f d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in ocfs2_xa_remove_entry
* Struck through repros no longer work on HEAD.