syzbot


kernel BUG in ocfs2_set_new_buffer_uptodate

Status: upstream: reported C repro on 2024/08/18 17:06
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+453873f1588c2d75b447@syzkaller.appspotmail.com
First crash: 55d, last: 12h10m
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly ocfs2 report (Sep 2024) 0 (1) 2024/09/23 09:03
[syzbot] [ocfs2?] kernel BUG in ocfs2_set_new_buffer_uptodate 0 (1) 2024/08/18 17:06
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ocfs2_set_new_buffer_uptodate C 4 5d00h 5d02h 0/3 upstream: reported C repro on 2024/10/07 16:30

Sample crash report:
(syz-executor245,5108,0):ocfs2_verify_group_and_input:428 ERROR: add a group which is in the current volume.
(syz-executor245,5108,0):ocfs2_group_add:511 ERROR: status = -22
------------[ cut here ]------------
kernel BUG at fs/ocfs2/uptodate.c:509!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5108 Comm: syz-executor245 Not tainted 6.11.0-rc3-syzkaller-00338-gc3f2d783a459 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
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 8a 65 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 ec 48 fe fd 90 <0f> 0b e8 e4 48 fe fd 90 0f 0b e8 dc 48 fe fd 90 0f 0b e8 d4 48 fe
RSP: 0018:ffffc90002cefa50 EFLAGS: 00010293
RAX: ffffffff83954204 RBX: 0000000000000001 RCX: ffff88801c0d2440
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002cefcf0 R08: ffffffff839540ee R09: 1ffffffff202fdd5
R10: dffffc0000000000 R11: fffffbfff202fdd6 R12: dffffc0000000000
R13: 1ffff9200059df68 R14: ffff88803be1b0e8 R15: ffff88803be632f0
FS:  000055555a5c8480(0000) GS:ffff888020800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000d0 CR3: 00000000190b6000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_group_add+0x39f/0x15a0 fs/ocfs2/resize.c:507
 ocfs2_ioctl+0x661/0x7e0 fs/ocfs2/ioctl.c:891
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
 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:0x7f8b013a2259
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:00007ffe3e81d468 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8b013a2259
RDX: 00000000200000c0 RSI: 0000000040186f02 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007ffe3e81d4a0
R10: 00007ffe3e81d470 R11: 0000000000000246 R12: 00007ffe3e81d4a0
R13: 00007ffe3e81d728 R14: 431bde82d7b634db R15: 00007f8b013eb03b
 </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 8a 65 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 ec 48 fe fd 90 <0f> 0b e8 e4 48 fe fd 90 0f 0b e8 dc 48 fe fd 90 0f 0b e8 d4 48 fe
RSP: 0018:ffffc90002cefa50 EFLAGS: 00010293
RAX: ffffffff83954204 RBX: 0000000000000001 RCX: ffff88801c0d2440
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90002cefcf0 R08: ffffffff839540ee R09: 1ffffffff202fdd5
R10: dffffc0000000000 R11: fffffbfff202fdd6 R12: dffffc0000000000
R13: 1ffff9200059df68 R14: ffff88803be1b0e8 R15: ffff88803be632f0
FS:  000055555a5c8480(0000) GS:ffff888020800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000d0 CR3: 00000000190b6000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (27):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/18 16:43 upstream c3f2d783a459 e1c76ab2 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/12 07:06 upstream 9e4c6c1ad9a1 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/07 07:30 upstream 8cf0b93919e1 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/06 09:21 upstream fc20a3e57247 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/05 17:06 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/01 15:07 upstream e32cde8d2bd7 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/30 15:35 upstream 9852d85ec9d4 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/23 06:22 upstream de5cb0dcb74c 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/30 18:56 upstream 9852d85ec9d4 179f4029 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/25 06:43 upstream 68e5c7d4cefb 349a68c4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/24 04:23 upstream 18ba6034468e 89298aad .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/22 04:23 upstream 1ec6d097897a 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/20 17:44 upstream baeb9a7d8b60 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/20 01:39 upstream 2004cef11ea0 6f888b75 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/17 19:32 upstream a940d9a43e62 c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/17 10:24 upstream a430d95c5efa c673ca06 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/11 16:14 upstream 8d8d276ba2fb ede7a22c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/07 23:47 upstream d1f2d51b711a 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/03 11:04 upstream 67784a74e258 8045124c .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/02 02:51 upstream 431c1646e1f8 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/09/01 20:40 upstream 431c1646e1f8 1eda0d14 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/08/30 20:49 upstream 20371ba12063 db150e23 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/08/20 02:39 upstream b0da640826ba 9f0ab3fb .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/08/20 02:27 upstream b0da640826ba 9f0ab3fb .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/08/18 16:47 upstream c3f2d783a459 e1c76ab2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/08/18 15:31 upstream c3f2d783a459 e1c76ab2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/08/17 19:36 upstream e5fa841af679 e1c76ab2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
* Struck through repros no longer work on HEAD.