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: 5d06h, last: 4h08m
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 (2) 2024/12/26 15:53
Similar bugs (2)
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 18d 130d 28/28 fixed on 2024/12/16 09:50
linux-5.15 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream missing-backport C 6 27d 80d 0/3 upstream: reported C repro on 2024/10/07 16:30
Last patch testing requests (1)
Created Duration User Patch Repo Result
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:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 5844 Comm: syz-executor132 Not tainted 6.13.0-rc4-syzkaller-00012-g9b2ffa6148b1 #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 d5 ae 63 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 1c d2 ff fd 90 <0f> 0b e8 14 d2 ff fd 90 0f 0b e8 0c d2 ff fd 90 0f 0b e8 04 d2 ff
RSP: 0018:ffffc90003f6fa30 EFLAGS: 00010293
RAX: ffffffff839fa1c4 RBX: 0000000000000001 RCX: ffff888079e1da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003f6fcf0 R08: ffffffff839fa0ae R09: 1ffffffff2030a4e
R10: dffffc0000000000 R11: fffffbfff2030a4f R12: ffff88807450cfb8
R13: dffffc0000000000 R14: ffff8880744d79f8 R15: ffff888074508830
FS:  00007fb079c916c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fffcb5c3f68 CR3: 0000000022fde000 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:0x7fb079cfb539
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 81 18 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb079c91228 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fb079d86618 RCX: 00007fb079cfb539
RDX: 00000000200000c0 RSI: 0000000040186f02 RDI: 0000000000000004
RBP: 00007fb079d86610 R08: 00007fb079c916c0 R09: 00007fb079c916c0
R10: 00007fb079c916c0 R11: 0000000000000246 R12: 00007fb079d4f0c0
R13: 0031656c69662f2e R14: 00007fb079d4f228 R15: 00007ffe9f8c8c78
 </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 d5 ae 63 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 1c d2 ff fd 90 <0f> 0b e8 14 d2 ff fd 90 0f 0b e8 0c d2 ff fd 90 0f 0b e8 04 d2 ff
RSP: 0018:ffffc90003f6fa30 EFLAGS: 00010293

RAX: ffffffff839fa1c4 RBX: 0000000000000001 RCX: ffff888079e1da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003f6fcf0 R08: ffffffff839fa0ae R09: 1ffffffff2030a4e
R10: dffffc0000000000 R11: fffffbfff2030a4f R12: ffff88807450cfb8
R13: dffffc0000000000 R14: ffff8880744d79f8 R15: ffff888074508830
FS:  00007fb079c916c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb079c91d58 CR3: 0000000022fde000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
* Struck through repros no longer work on HEAD.