syzbot


WARNING: ODEBUG bug in ocfs2_local_read_info

Status: upstream: reported syz repro on 2024/10/06 17:35
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b8312b217b9fff0c4823@syzkaller.appspotmail.com
First crash: 75d, last: 71d
Bug presence (2)
Date Name Commit Repro Result
2024/10/11 linux-6.1.y (ToT) aa4cd140bba5 C [report] WARNING: ODEBUG bug in ocfs2_local_read_info
2024/10/11 upstream (ToT) 1d227fcc7222 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING: ODEBUG bug in ocfs2_local_read_info origin:lts-only C error 3 75d 78d 0/3 upstream: reported C repro on 2024/10/04 15:35
upstream WARNING: ODEBUG bug in ocfs2_local_read_info ocfs2 C inconclusive 7 78d 110d 28/28 fixed on 2024/10/22 11:57
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2024/10/11 08:00 1h53m fix candidate upstream OK (0) job log

Sample crash report:
(syz.0.15,4447,0):ocfs2_local_read_info:760 ERROR: status = -5
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: qsync_work_fn+0x0/0x16c
WARNING: CPU: 0 PID: 4447 at lib/debugobjects.c:517 debug_print_object lib/debugobjects.c:514 [inline]
WARNING: CPU: 0 PID: 4447 at lib/debugobjects.c:517 __debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
WARNING: CPU: 0 PID: 4447 at lib/debugobjects.c:517 debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1008
Modules linked in:
CPU: 0 PID: 4447 Comm: syz.0.15 Not tainted 6.1.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : debug_print_object lib/debugobjects.c:514 [inline]
pc : __debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
pc : debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1008
lr : debug_print_object lib/debugobjects.c:514 [inline]
lr : __debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
lr : debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1008
sp : ffff800021566b20
x29: ffff800021566b60 x28: 0000000000000000 x27: ffff800012409b60
x26: ffff0000da531ac8 x25: dfff800000000000 x24: 0000000000000000
x23: ffff80001ce9d8d0 x22: ffff0000da531000 x21: 0000000000000000
x20: ffff800009fd8cec x19: ffff0000da531800 x18: ffff8000215666e0
x17: 6e6968207473696c x16: ffff8000122953dc x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : 2ba610f78a5f9e00
x8 : 2ba610f78a5f9e00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800021566418 x4 : ffff800015ab2d80 x3 : ffff80000858e5e8
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000
Call trace:
 debug_print_object lib/debugobjects.c:514 [inline]
 __debug_check_no_obj_freed lib/debugobjects.c:978 [inline]
 debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1008
 slab_free_hook mm/slub.c:1699 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 __kmem_cache_free+0x258/0x4b4 mm/slub.c:3674
 kfree+0xcc/0x1b8 mm/slab_common.c:988
 ocfs2_local_read_info+0x1338/0x1550 fs/ocfs2/quota_local.c:782
 dquot_load_quota_sb+0x6f0/0xb1c fs/quota/dquot.c:2468
 dquot_load_quota_inode+0x280/0x4f4 fs/quota/dquot.c:2505
 ocfs2_enable_quotas+0x1d4/0x3cc fs/ocfs2/super.c:926
 ocfs2_fill_super+0x3ef4/0x4a0c fs/ocfs2/super.c:1139
 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
irq event stamp: 77400
hardirqs last  enabled at (77399): [<ffff8000083435f4>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (77400): [<ffff800012291094>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (77348): [<ffff8000081c80cc>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (77348): [<ffff8000081c80cc>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (77327): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---
(syz.0.15,4447,0):ocfs2_enable_quotas:939 ERROR: status = -1
(syz.0.15,4447,0):ocfs2_fill_super:1143 ERROR: status = -1
(syz.0.15,4447,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xa15b1318, computed 0x776da1d1. Applying ECC.
ocfs2: Unmounting device (7,0) on (node local)

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/06 17:45 linux-6.1.y aa4cd140bba5 d7906eff .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING: ODEBUG bug in ocfs2_local_read_info
2024/10/06 17:34 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING: ODEBUG bug in ocfs2_local_read_info
* Struck through repros no longer work on HEAD.