syzbot


kernel BUG in ocfs2_page_mkwrite (3)

Status: upstream: reported on 2025/11/01 09:03
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+ea5aff81e35d189b9335@syzkaller.appspotmail.com
First crash: 74d, last: 11h57m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in ocfs2_page_mkwrite (3) 0 (1) 2025/11/01 09:03
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_page_mkwrite (2) ocfs2 -1 C 112 169d 366d 0/29 auto-obsoleted due to no activity on 2025/10/04 07:06
upstream kernel BUG in ocfs2_page_mkwrite ocfs2 -1 1 472d 468d 0/29 auto-obsoleted due to no activity on 2025/01/03 15:18

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.
loop0: detected capacity change from 32768 to 0
(syz.0.0,5346,0):__ocfs2_journal_access:727 ERROR: Error -30 getting 1 access to buffer!
(syz.0.0,5346,0):ocfs2_write_end_nolock:1944 ERROR: status = -30
(syz.0.0,5346,0):ocfs2_commit_trans:404 ERROR: status = -5
------------[ cut here ]------------
kernel BUG at fs/ocfs2/mmap.c:107!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5346 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~bpo12+1 04/01/2014
RIP: 0010:__ocfs2_page_mkwrite fs/ocfs2/mmap.c:107 [inline]
RIP: 0010:ocfs2_page_mkwrite+0xc37/0xc40 fs/ocfs2/mmap.c:144
Code: 07 e8 bd 89 14 fe eb 0d 48 ff cb e8 b3 89 14 fe 48 89 5c 24 08 49 be 00 00 00 00 00 fc ff df e9 cb f4 ff ff e8 9a 89 14 fe 90 <0f> 0b cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000813e9c0 EFLAGS: 00010283
RAX: ffffffff83ac7dc6 RBX: 00000000ffffffe2 RCX: 0000000000100000
RDX: ffffc90020c61000 RSI: 0000000000023301 RDI: 0000000000023302
RBP: ffffc9000813eb60 R08: ffffffff8f824677 R09: 1ffffffff1f048ce
R10: dffffc0000000000 R11: fffffbfff1f048cf R12: ffffea00015ecf00
R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000001000
FS:  00007fa6e4ac56c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ff40202b0 CR3: 0000000011a79000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 do_page_mkwrite+0x14d/0x310 mm/memory.c:3528
 do_shared_fault mm/memory.c:5831 [inline]
 do_fault mm/memory.c:5893 [inline]
 do_pte_missing+0x795/0x3330 mm/memory.c:4401
 handle_pte_fault mm/memory.c:6273 [inline]
 __handle_mm_fault mm/memory.c:6411 [inline]
 handle_mm_fault+0x1b26/0x32b0 mm/memory.c:6580
 faultin_page mm/gup.c:1126 [inline]
 __get_user_pages+0x1650/0x29f0 mm/gup.c:1428
 __get_user_pages_locked mm/gup.c:1692 [inline]
 __gup_longterm_locked+0x123f/0x1660 mm/gup.c:2476
 gup_fast_fallback+0x1d26/0x2290 mm/gup.c:3220
 iov_iter_extract_user_pages lib/iov_iter.c:1763 [inline]
 iov_iter_extract_pages+0x35f/0x5e0 lib/iov_iter.c:1826
 dio_refill_pages fs/direct-io.c:172 [inline]
 dio_get_page fs/direct-io.c:213 [inline]
 do_direct_IO fs/direct-io.c:915 [inline]
 __blockdev_direct_IO+0x1166/0x3490 fs/direct-io.c:1243
 ocfs2_direct_IO+0x25f/0x2d0 fs/ocfs2/aops.c:2441
 generic_file_read_iter+0x31c/0x510 mm/filemap.c:2969
 ocfs2_file_read_iter+0x3e2/0xa40 fs/ocfs2/file.c:2595
 aio_read+0x311/0x470 fs/aio.c:1603
 __io_submit_one fs/aio.c:-1 [inline]
 io_submit_one+0x755/0x1430 fs/aio.c:2053
 __do_sys_io_submit fs/aio.c:2112 [inline]
 __se_sys_io_submit+0x185/0x320 fs/aio.c:2082
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa6e3b8f7c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa6e4ac5038 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007fa6e3de5fa0 RCX: 00007fa6e3b8f7c9
RDX: 0000200000001d00 RSI: 000000001ffffff0 RDI: 00007fa6e4a6b000
RBP: 00007fa6e3c13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa6e3de6038 R14: 00007fa6e3de5fa0 R15: 00007ffe4d4af5b8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__ocfs2_page_mkwrite fs/ocfs2/mmap.c:107 [inline]
RIP: 0010:ocfs2_page_mkwrite+0xc37/0xc40 fs/ocfs2/mmap.c:144
Code: 07 e8 bd 89 14 fe eb 0d 48 ff cb e8 b3 89 14 fe 48 89 5c 24 08 49 be 00 00 00 00 00 fc ff df e9 cb f4 ff ff e8 9a 89 14 fe 90 <0f> 0b cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000813e9c0 EFLAGS: 00010283
RAX: ffffffff83ac7dc6 RBX: 00000000ffffffe2 RCX: 0000000000100000
RDX: ffffc90020c61000 RSI: 0000000000023301 RDI: 0000000000023302
RBP: ffffc9000813eb60 R08: ffffffff8f824677 R09: 1ffffffff1f048ce
R10: dffffc0000000000 R11: fffffbfff1f048cf R12: ffffea00015ecf00
R13: 0000000000000100 R14: 0000000000000000 R15: 0000000000001000
FS:  00007fa6e4ac56c0(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3ff40202b0 CR3: 0000000011a79000 CR4: 0000000000352ef0

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/10 20:09 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_page_mkwrite
2025/12/02 05:23 upstream 1d18101a644e d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_page_mkwrite
2025/11/04 18:29 upstream c9cfc122f037 686bf657 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_page_mkwrite
2025/10/28 08:58 upstream fd57572253bc fd2207e7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in ocfs2_page_mkwrite
* Struck through repros no longer work on HEAD.