syzbot


WARNING: ODEBUG bug in ext4_fill_super (3)

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+628472a2aac693ab0fcd@syzkaller.appspotmail.com
Fix commit: 2a4ae3bcdf05 ext4: fix timer use-after-free on failed mount
First crash: 690d, last: 448d

Cause bisection: introduced by (bisect log) :
commit 2d01ddc86606564fb08c56e3bc93a0693895f710
Author: Jan Kara <jack@suse.cz>
Date: Wed Dec 16 10:18:40 2020 +0000

  ext4: save error info to sb through journal if available

Crash: WARNING: ODEBUG bug in ext4_fill_super (log)
Repro: syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in ext4_fill_super 105 1251d 1248d 0/24 closed as invalid on 2019/08/30 22:34
upstream WARNING: ODEBUG bug in ext4_fill_super (2) C done 1094 690d 768d 0/24 closed as dup on 2020/12/22 11:33

Sample crash report:
------------[ cut here ]------------
ODEBUG: free active (active state 0) object type: timer_list hint: print_daily_error_info+0x0/0x1f0 fs/ext4/super.c:1334
WARNING: CPU: 1 PID: 10375 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 10375 Comm: syz-executor177 Not tainted 5.12.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 60 1e c2 89 4c 89 ee 48 c7 c7 60 12 c2 89 e8 d8 a4 f8 04 <0f> 0b 83 05 15 48 fa 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc90009d47980 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888030f11bc0 RSI: ffffffff815c0975 RDI: fffff520013a8f22
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815b970e R11: 0000000000000000 R12: ffffffff896d7de0
R13: ffffffff89c218a0 R14: ffffffff81629950 R15: dffffc0000000000
FS:  00007fad53cd5700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff13c6d5c8 CR3: 0000000020a2f000 CR4: 0000000000350ef0
Call Trace:
 __debug_check_no_obj_freed lib/debugobjects.c:987 [inline]
 debug_check_no_obj_freed+0x301/0x420 lib/debugobjects.c:1018
 slab_free_hook mm/slub.c:1554 [inline]
 slab_free_freelist_hook+0x147/0x210 mm/slub.c:1600
 slab_free mm/slub.c:3161 [inline]
 kfree+0xe5/0x7f0 mm/slub.c:4213
 ext4_fill_super+0x84f/0xded0 fs/ext4/super.c:5182
 mount_bdev+0x34d/0x410 fs/super.c:1367
 legacy_get_tree+0x105/0x220 fs/fs_context.c:592
 vfs_get_tree+0x89/0x2f0 fs/super.c:1497
 do_new_mount fs/namespace.c:2903 [inline]
 path_mount+0x132a/0x1f90 fs/namespace.c:3233
 do_mount fs/namespace.c:3246 [inline]
 __do_sys_mount fs/namespace.c:3454 [inline]
 __se_sys_mount fs/namespace.c:3431 [inline]
 __x64_sys_mount+0x27f/0x300 fs/namespace.c:3431
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x44d83a
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 d8 00 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fad53cd5078 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fad53cd50d0 RCX: 000000000044d83a
RDX: 0000000020000100 RSI: 0000000020000180 RDI: 00007fad53cd5090
RBP: 0000000000000003 R08: 00007fad53cd50d0 R09: 00007fad53cd56bc
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fad53cd5090
R13: 0000000020000248 R14: 0000000000000003 R15: 0000000000000004

Crashes (392):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-root 2021/03/16 17:39 upstream 1a4431a5db2b fdb2bb2c .config console log report syz C WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-kasan-gce-root 2021/03/12 08:59 upstream 28806e4d9b97 429d8a6b .config console log report syz C WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-kasan-gce-root 2021/03/10 21:36 upstream 05a59d79793d 764067f3 .config console log report syz WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-kasan-gce-root 2021/03/22 07:39 upstream 5ee96fa9dd78 bea32f74 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-kasan-gce-smack-root 2021/03/21 23:51 upstream 5ee96fa9dd78 bea32f74 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-kasan-gce-selinux-root 2021/03/21 21:02 upstream 5ee96fa9dd78 bea32f74 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu-upstream 2021/03/15 12:12 upstream 280d542f6ffa cc1cff8f .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-kasan-gce-root 2021/03/10 04:05 upstream 144c79ef3353 26967e35 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/11/07 12:58 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/11/06 09:45 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/11/06 02:48 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/11/06 01:08 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/11/05 00:51 upstream bf152b0b41dc 4c1be0be .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/11/02 06:37 upstream bf152b0b41dc 098b5d53 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/10/19 07:02 upstream bf152b0b41dc 24dc29db .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/10/10 17:45 upstream bf152b0b41dc 838e7e2c .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/10/08 19:36 upstream bf152b0b41dc efe0f24d .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/10/03 23:47 upstream bf152b0b41dc db0f5787 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/10/03 13:37 upstream bf152b0b41dc db0f5787 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/28 09:16 upstream bf152b0b41dc 78494d16 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/28 05:53 upstream bf152b0b41dc 78494d16 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/22 10:50 upstream bf152b0b41dc 169724fe .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/18 21:49 upstream bf152b0b41dc 70b76c1d .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/15 14:44 upstream bf152b0b41dc 07e953c1 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/12 16:46 upstream bf152b0b41dc 3ce60af8 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/12 02:25 upstream bf152b0b41dc 3ce60af8 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/09/05 10:43 upstream bf152b0b41dc d236a457 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/08/31 13:36 upstream bf152b0b41dc 8f58a0ef .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/08/14 16:48 upstream bf152b0b41dc 2489ab88 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/08/12 14:57 upstream bf152b0b41dc 6972b106 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/08/01 04:46 upstream bf152b0b41dc 6c236867 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/07/31 13:51 upstream bf152b0b41dc 6c236867 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/27 08:58 upstream bf152b0b41dc 9d2ab5df .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/25 11:38 upstream bf152b0b41dc 0edbbe31 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/21 02:37 upstream bf152b0b41dc aba2b2fb .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/20 15:55 upstream bf152b0b41dc aba2b2fb .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/20 10:20 upstream bf152b0b41dc aba2b2fb .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/15 03:45 upstream bf152b0b41dc 1ba81399 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/13 08:34 upstream bf152b0b41dc 1ba81399 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/06/06 06:30 upstream bf152b0b41dc 500c2339 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/05/28 06:41 upstream bf152b0b41dc 858ea628 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/05/28 02:14 upstream bf152b0b41dc 858ea628 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/05/27 23:54 upstream bf152b0b41dc 858ea628 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/05/22 14:19 upstream bf152b0b41dc 3c7fef33 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/05/21 15:55 upstream bf152b0b41dc 3c7fef33 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/05/06 05:16 upstream bf152b0b41dc 06c27ff5 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/04/29 22:11 upstream bf152b0b41dc 77e2b668 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/04/19 00:27 upstream bf152b0b41dc 7e2b734b .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/04/14 04:47 upstream bf152b0b41dc a184b83e .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/04/03 01:28 upstream bf152b0b41dc 6a81331a .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-arm32 2021/04/02 21:31 upstream bf152b0b41dc 6a81331a .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-upstream-linux-next-kasan-gce-root 2021/03/18 01:27 linux-next fa903833ae34 fdb2bb2c .config console log report info WARNING: ODEBUG bug in ext4_fill_super
ci-qemu2-riscv64 2021/03/29 14:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes a5406a7ff56e a8529b82 .config console log report info WARNING: ODEBUG bug in ext4_fill_super
* Struck through repros no longer work on HEAD.