syzbot


kernel BUG in ocfs2_set_new_buffer_uptodate

Status: fixed on 2024/12/16 09:50
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+453873f1588c2d75b447@syzkaller.appspotmail.com
Fix commit: 737f34137844 ocfs2: uncache inode which has failed entering the group
First crash: 222d, last: 110d
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 (3)
Title Replies (including bot) Last reply
[PATCH] ocfs2: uncache inode which has failed entering the group 2 (2) 2024/11/15 00:48
[syzbot] [ocfs2?] kernel BUG in ocfs2_set_new_buffer_uptodate 0 (2) 2024/11/14 02:59
[syzbot] Monthly ocfs2 report (Sep 2024) 0 (1) 2024/09/23 09:03
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_set_new_buffer_uptodate (2) ocfs2 C inconclusive 17 11d 92d 0/28 upstream: reported C repro on 2024/12/25 16:47
linux-6.1 kernel BUG in ocfs2_set_new_buffer_uptodate origin:upstream C error 4 47d 81d 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 81d 171d 0/3 upstream: reported C repro on 2024/10/07 16:30
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/11/14 02:59 1h26m dmantipov@yandex.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0a9b9d17f3a781dea03baca01c835deaa07f7cc3 OK log

Sample crash report:
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
(syz-executor123,5828,1):ocfs2_verify_group_and_input:428 ERROR: add a group which is in the current volume.
(syz-executor123,5828,1):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 PTI
CPU: 1 UID: 0 PID: 5828 Comm: syz-executor123 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #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 f5 96 61 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 cc fd fa fd 90 <0f> 0b e8 c4 fd fa fd 90 0f 0b e8 bc fd fa fd 90 0f 0b e8 b4 fd fa
RSP: 0018:ffffc90003b9fa50 EFLAGS: 00010293
RAX: ffffffff8399da64 RBX: 0000000000000001 RCX: ffff888023dabc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003b9fcf0 R08: ffffffff8399d94e R09: 1ffffffff2037ad5
R10: dffffc0000000000 R11: fffffbfff2037ad6 R12: dffffc0000000000
R13: 1ffff92000773f68 R14: ffff888066b510e8 R15: ffff888066bc8830
FS:  0000555571e98380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654c69618d0 CR3: 000000007b2e4000 CR4: 00000000003526f0
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+0x65e/0x7d0 fs/ocfs2/ioctl.c:891
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xf9/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:0x7f3204a587b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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:00007fff12acab78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 3333222211110000 RCX: 00007f3204a587b9
RDX: 0000000020000080 RSI: 0000000040186f02 RDI: 0000000000000004
RBP: 00007f3204acf610 R08: 00007fff12acad48 R09: 00007fff12acad48
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff12acad38 R14: 0000000000000001 R15: 0000000000000001
 </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 f5 96 61 fe 4c 8b 1b 4c 89 ff 5b 41 5c 41 5d 41 5e 41 5f 41 ff e3 cc 90 e8 cc fd fa fd 90 <0f> 0b e8 c4 fd fa fd 90 0f 0b e8 bc fd fa fd 90 0f 0b e8 b4 fd fa
RSP: 0018:ffffc90003b9fa50 EFLAGS: 00010293
RAX: ffffffff8399da64 RBX: 0000000000000001 RCX: ffff888023dabc00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003b9fcf0 R08: ffffffff8399d94e R09: 1ffffffff2037ad5
R10: dffffc0000000000 R11: fffffbfff2037ad6 R12: dffffc0000000000
R13: 1ffff92000773f68 R14: ffff888066b510e8 R15: ffff888066bc8830
FS:  0000555571e98380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000045e620 CR3: 000000007b2e4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (55):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/29 23:29 upstream e42b1a9a2557 66aeb999 .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/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/11/28 07:58 upstream aaf20f870da0 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/17 09:08 upstream b5a24181e461 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/16 02:55 upstream f868cd251776 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/13 19:03 upstream f1b785f4c787 bb3f8425 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/05 17:14 upstream 2e1b3cc9d7f7 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/03 02:23 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/27 13:35 upstream 850925a8133c 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/22 13:22 upstream c2ee9f594da8 a93682b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/16 05:11 upstream 2f87d0916ce0 bde2d81c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/15 18:38 upstream eca631b8fe80 7eb57b4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/13 12:49 upstream 7234e2ea0edd 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs 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/11/16 13:19 upstream f868cd251776 cfe3a04a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/14 18:57 upstream 0a9b9d17f3a7 77f3eeb7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/12 16:59 upstream 2d5404caa8c7 c819f227 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/09 22:59 upstream da4373fbcf00 6b856513 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/08 23:12 upstream f1dce1f09380 d40c056e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/07 19:47 upstream ff7afaeca1a1 867e44df .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/11/06 11:57 upstream 2e1b3cc9d7f7 3a465482 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/30 08:48 upstream c1e939a21eb1 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/29 18:30 upstream e42b1a9a2557 66aeb999 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/27 23:39 upstream ea1fda89f5b2 65e8686b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/23 00:39 upstream c2ee9f594da8 a573a9f4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/21 06:18 upstream db87114dcf13 cd6fc0a3 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_set_new_buffer_uptodate
2024/10/20 22:28 upstream db87114dcf13 cd6fc0a3 .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/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
2024/12/08 01:33 linux-next af2ea8ab7a54 9ac0fdc6 .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/11/08 17:20 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci eb17c12d043d 179b040e .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.