syzbot


WARNING: ODEBUG bug in ocfs2_local_read_info

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

Sample crash report:
(syz-executor354,4016,0):ocfs2_local_read_info:760 ERROR: status = -5
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: arch_local_irq_disable arch/arm64/include/asm/irqflags.h:59 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: arch_local_irq_save arch/arm64/include/asm/irqflags.h:112 [inline]
ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:1638
WARNING: CPU: 0 PID: 4016 at lib/debugobjects.c:520 debug_print_object lib/debugobjects.c:517 [inline]
WARNING: CPU: 0 PID: 4016 at lib/debugobjects.c:520 __debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
WARNING: CPU: 0 PID: 4016 at lib/debugobjects.c:520 debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1002
Modules linked in:
CPU: 0 PID: 4016 Comm: syz-executor354 Not tainted 5.15.167-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:517 [inline]
pc : __debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
pc : debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1002
lr : debug_print_object lib/debugobjects.c:517 [inline]
lr : __debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
lr : debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1002
sp : ffff80001dbc6a20
x29: ffff80001dbc6a60 x28: 0000000000000000 x27: ffff800011c32ee0
x26: ffff0000d45fdac8 x25: dfff800000000000 x24: 0000000000000000
x23: ffff80001b99a7b0 x22: ffff0000d45fd000 x21: 0000000000000000
x20: ffff8000082074b8 x19: ffff0000d45fd800 x18: 0000000000000001
x17: 0000000000000000 x16: ffff800011ac23e0 x15: 00000000ffffffff
x14: ffff0000d9370000 x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : 5bd00ecd75aecb00
x8 : 5bd00ecd75aecb00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001dbc6198 x4 : ffff800014b9fae0 x3 : ffff800008557c4c
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000061
Call trace:
 debug_print_object lib/debugobjects.c:517 [inline]
 __debug_check_no_obj_freed lib/debugobjects.c:972 [inline]
 debug_check_no_obj_freed+0x394/0x478 lib/debugobjects.c:1002
 slab_free_hook mm/slub.c:1680 [inline]
 slab_free_freelist_hook+0x9c/0x1ec mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kfree+0x178/0x410 mm/slub.c:4559
 ocfs2_local_read_info+0x1338/0x1550 fs/ocfs2/quota_local.c:782
 dquot_load_quota_sb+0x6f0/0xb1c fs/quota/dquot.c:2461
 dquot_load_quota_inode+0x280/0x4f4 fs/quota/dquot.c:2498
 ocfs2_enable_quotas+0x1d4/0x3cc fs/ocfs2/super.c:927
 ocfs2_fill_super+0x3698/0x498c fs/ocfs2/super.c:1140
 mount_bdev+0x274/0x370 fs/super.c:1398
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1187
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611
 vfs_get_tree+0x90/0x274 fs/super.c:1528
 do_new_mount+0x278/0x8fc fs/namespace.c:3005
 path_mount+0x594/0x101c fs/namespace.c:3335
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount fs/namespace.c:3533 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3533
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 88852
hardirqs last  enabled at (88851): [<ffff80000832c17c>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257
hardirqs last disabled at (88852): [<ffff800011abda6c>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396
softirqs last  enabled at (88800): [<ffff8000081b6d74>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (88800): [<ffff8000081b6d74>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (88795): [<ffff8000081b740c>] __do_softirq kernel/softirq.c:592 [inline]
softirqs last disabled at (88795): [<ffff8000081b740c>] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline]
softirqs last disabled at (88795): [<ffff8000081b740c>] invoke_softirq kernel/softirq.c:439 [inline]
softirqs last disabled at (88795): [<ffff8000081b740c>] __irq_exit_rcu+0x268/0x4d8 kernel/softirq.c:641
---[ end trace f4d077878e4fdaa4 ]---
(syz-executor354,4016,0):ocfs2_enable_quotas:940 ERROR: status = -1
(syz-executor354,4016,0):ocfs2_fill_super:1144 ERROR: status = -1
(syz-executor354,4016,1):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xa15b1318, computed 0x776da1d1. Applying ECC.
ocfs2: Unmounting device (7,0) on (node local)

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/04 15:47 linux-5.15.y 3a5928702e71 d7906eff .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING: ODEBUG bug in ocfs2_local_read_info
2024/10/04 15:36 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: ODEBUG bug in ocfs2_local_read_info
2024/10/04 15:35 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING: ODEBUG bug in ocfs2_local_read_info
* Struck through repros no longer work on HEAD.