syzbot


kernel BUG in ocfs2_set_new_buffer_uptodate (2)

Status: upstream: reported C repro on 2024/12/25 16:47
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+7aef76bdb53b83d62a9e@syzkaller.appspotmail.com
First crash: 56d, last: 8d15h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ocfs2_set_new_buffer_uptodate (log)
Repro: C syz .config
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in ocfs2_set_new_buffer_uptodate (2) 0 (3) 2024/12/27 10:54
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_set_new_buffer_uptodate ocfs2 C inconclusive 55 69d 181d 28/28 fixed on 2024/12/16 09:50
linux-6.1 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream C error 4 7d07h 40d 0/3 upstream: reported C repro on 2025/01/06 04:02
linux-5.15 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream missing-backport C error 7 41d 131d 0/3 upstream: reported C repro on 2024/10/07 16:30
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/01/29 15:36 21m retest repro upstream error
2025/01/29 15:36 17m retest repro upstream error
2025/01/29 00:38 12m retest repro upstream error
2025/01/29 00:38 1h38m retest repro upstream error
2024/12/27 10:54 34m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d6ef8b40d075c425f548002d2f35ae3f06e9cf96 report log
2024/12/26 15:53 31m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9b2ffa6148b1e4468d08f7e0e7e371c43cac9ffe OK log

Sample crash report:
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5818 Comm: syz-executor275 Not tainted 6.13.0-rc7-syzkaller-00039-gc3812b15000c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x145/0x160 fs/ocfs2/uptodate.c:509
Code: 03 42 80 3c 20 00 74 08 48 89 df e8 95 a9 63 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 0c cb ff fd 90 <0f> 0b e8 04 cb ff fd 90 0f 0b e8 fc ca ff fd 90 0f 0b e8 f4 ca ff
RSP: 0018:ffffc90003f2fa30 EFLAGS: 00010293
RAX: ffffffff839fa714 RBX: 0000000000000001 RCX: ffff888031853c00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003f2fcf0 R08: ffffffff839fa5fe R09: 1ffffffff2030b26
R10: dffffc0000000000 R11: fffffbfff2030b27 R12: ffff888077074fb8
R13: dffffc0000000000 R14: ffff888077035488 R15: ffff888077070830
FS:  0000555573a7e380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000045e620 CR3: 0000000078212000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_group_add+0x3a3/0x15a0 fs/ocfs2/resize.c:507
 ocfs2_ioctl+0x65e/0x7d0 fs/ocfs2/ioctl.c:891
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xf5/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:0x7f5367870b19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd2c090dc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f5367870b19
RDX: 00000000200000c0 RSI: 0000000040186f02 RDI: 0000000000000004
RBP: 00007f53678e85f0 R08: 0000555573a7f4c0 R09: 0000555573a7f4c0
R10: 0000555573a7f4c0 R11: 0000000000000246 R12: 00007ffd2c090df0
R13: 00007ffd2c091018 R14: 431bde82d7b634db R15: 00007f53678b903b
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_set_new_buffer_uptodate+0x145/0x160 fs/ocfs2/uptodate.c:509
Code: 03 42 80 3c 20 00 74 08 48 89 df e8 95 a9 63 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 0c cb ff fd 90 <0f> 0b e8 04 cb ff fd 90 0f 0b e8 fc ca ff fd 90 0f 0b e8 f4 ca ff
RSP: 0018:ffffc90003f2fa30 EFLAGS: 00010293
RAX: ffffffff839fa714 RBX: 0000000000000001 RCX: ffff888031853c00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003f2fcf0 R08: ffffffff839fa5fe R09: 1ffffffff2030b26
R10: dffffc0000000000 R11: fffffbfff2030b27 R12: ffff888077074fb8
R13: dffffc0000000000 R14: ffff888077035488 R15: ffff888077070830
FS:  0000555573a7e380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000045e620 CR3: 0000000078212000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/14 23:18 upstream c3812b15000c f310a27d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/12/26 19:25 upstream 9b2ffa6148b1 d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/12/21 17:24 upstream 499551201b5f d7f584ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/12/21 17:02 upstream 499551201b5f d7f584ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/12/21 16:39 upstream 499551201b5f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/12/27 01:38 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/12/27 01:37 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2025/02/07 07:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2014c95afece 53657d1b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2025/01/10 02:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 577490b6abb9 40f46913 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
2025/01/05 16:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 573067a5a685 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ocfs2_set_new_buffer_uptodate
* Struck through repros no longer work on HEAD.