syzbot


general protection fault in ocfs2_buffer_cached

Status: upstream: reported C repro on 2024/09/27 08:16
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+2713dcf48c33c91556b3@syzkaller.appspotmail.com
First crash: 41d, last: 30d
Bug presence (2)
Date Name Commit Repro Result
2024/09/29 linux-6.1.y (ToT) e526b12bf916 C [report] BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/09/29 upstream (ToT) 3efc57369a0c C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 BUG: unable to handle kernel paging request in ocfs2_buffer_cached origin:lts-only C 9 32d 41d 0/3 upstream: reported C repro on 2024/09/27 03:51
upstream general protection fault in ocfs2_buffer_cached ocfs2 C 27 33d 84d 0/28 upstream: reported C repro on 2024/08/15 10:47
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/10/15 06:07 0m fix candidate upstream error job log

Sample crash report:
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
(syz-executor907,4288,1):ocfs2_read_blocks:240 ERROR: status = -12
Unable to handle kernel paging request at virtual address dfff800000000003
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
Mem abort info:
  ESR = 0x0000000096000006
  EC = 0x25: DABT (current EL), IL = 32 bits
  SET = 0, FnV = 0
  EA = 0, S1PTW = 0
  FSC = 0x06: level 2 translation fault
Data abort info:
  ISV = 0, ISS = 0x00000006
  CM = 0, WnR = 0
[dfff800000000003] address between user and kernel address ranges
Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4288 Comm: syz-executor907 Not tainted 6.1.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_buffer_cached+0xc0/0xa24 fs/ocfs2/uptodate.c:237
lr : ocfs2_metadata_cache_owner fs/ocfs2/uptodate.c:60 [inline]
lr : ocfs2_buffer_cached+0xb4/0xa24 fs/ocfs2/uptodate.c:236
sp : ffff800020fd6280
x29: ffff800020fd62a0 x28: ffff7000041fac68 x27: ffff800020fd6960
x26: 1fffe0001c2e52ce x25: dfff800000000000 x24: 0000000000000003
x23: 0000000000000000 x22: 0000000000000042 x21: ffff8000127acd20
x20: 0000000000000018 x19: ffff0000e1729670 x18: ffff800020fd5f60
x17: ffff800018aa4000 x16: ffff80000831ddf8 x15: ffff800018589f80
x14: 000000002b00f919 x13: dfff800000000000 x12: ffff7000041fac34
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 1fffe0001c2e51c8
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff800018bd7410 x4 : 0000000000000008 x3 : ffff80000831df28
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000042
Call trace:
 ocfs2_buffer_cached+0xc0/0xa24 fs/ocfs2/uptodate.c:237
 ocfs2_set_buffer_uptodate+0xb4/0x1368 fs/ocfs2/uptodate.c:474
 ocfs2_read_blocks+0xf90/0x17e8 fs/ocfs2/buffer_head_io.c:392
 ocfs2_read_virt_blocks+0x420/0x9f8 fs/ocfs2/extent_map.c:1010
 ocfs2_read_dir_block fs/ocfs2/dir.c:508 [inline]
 ocfs2_find_entry_el fs/ocfs2/dir.c:715 [inline]
 ocfs2_find_entry+0x3ac/0x2620 fs/ocfs2/dir.c:1080
 ocfs2_find_files_on_disk+0x130/0x468 fs/ocfs2/dir.c:1982
 ocfs2_lookup_ino_from_name+0xb8/0x1d4 fs/ocfs2/dir.c:2004
 _ocfs2_get_system_file_inode fs/ocfs2/sysfile.c:136 [inline]
 ocfs2_get_system_file_inode+0x2c8/0x6b8 fs/ocfs2/sysfile.c:112
 ocfs2_init_global_system_inodes+0x2bc/0x618 fs/ocfs2/super.c:457
 ocfs2_initialize_super fs/ocfs2/super.c:2250 [inline]
 ocfs2_fill_super+0x278c/0x4a0c fs/ocfs2/super.c:994
 mount_bdev+0x274/0x370 fs/super.c:1443
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1186
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632
 vfs_get_tree+0x90/0x274 fs/super.c:1573
 do_new_mount+0x278/0x8fc fs/namespace.c:3051
 path_mount+0x590/0xe5c fs/namespace.c:3381
 do_mount fs/namespace.c:3394 [inline]
 __do_sys_mount fs/namespace.c:3602 [inline]
 __se_sys_mount fs/namespace.c:3579 [inline]
 __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3579
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: d63f0100 91006294 aa0003f6 d343fe98 (38796b08) 
---[ end trace 0000000000000000 ]---
----------------
Code disassembly (best guess):
   0:	d63f0100 	blr	x8
   4:	91006294 	add	x20, x20, #0x18
   8:	aa0003f6 	mov	x22, x0
   c:	d343fe98 	lsr	x24, x20, #3
* 10:	38796b08 	ldrb	w8, [x24, x25] <-- trapping instruction

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/27 15:46 linux-6.1.y e526b12bf916 9314348a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/10/07 16:05 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ocfs2_buffer_cached
2024/09/27 08:17 linux-6.1.y e526b12bf916 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ocfs2_buffer_cached
2024/09/27 08:15 linux-6.1.y e526b12bf916 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan general protection fault in ocfs2_buffer_cached
2024/10/07 10:39 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/10/07 10:38 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/10/06 17:45 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/10/06 17:42 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/09/27 08:53 linux-6.1.y e526b12bf916 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
2024/09/27 08:51 linux-6.1.y e526b12bf916 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 BUG: unable to handle kernel paging request in ocfs2_buffer_cached
* Struck through repros no longer work on HEAD.