syzbot


WARNING in udf_free_inode

Status: upstream: reported C repro on 2022/10/05 19:55
Reported-by: syzbot+2994e8b50b55ee38d44e@syzkaller.appspotmail.com
First crash: 569d, last: 431d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in udf_free_inode C error 5 545d 569d 0/1 upstream: reported C repro on 2022/10/05 09:13
upstream WARNING in udf_free_inode udf C error 19 434d 568d 22/26 fixed on 2023/06/08 14:41
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2023/02/20 06:09 23m bisect fix linux-4.14.y job log (0) log
2023/01/21 05:13 21m bisect fix linux-4.14.y job log (0) log

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/09/12 12:00 (1000)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8008 at fs/udf/udfdecl.h:118 udf_updated_lvid fs/udf/udfdecl.h:118 [inline]
WARNING: CPU: 0 PID: 8008 at fs/udf/udfdecl.h:118 udf_free_inode+0x27a/0x2f0 fs/udf/ialloc.c:41
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8008 Comm: syz-executor137 Not tainted 4.14.296-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x1f9/0x42d kernel/panic.c:183
 __warn.cold+0x20/0x44 kernel/panic.c:547
 report_bug+0x208/0x250 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 fixup_bug arch/x86/kernel/traps.c:172 [inline]
 do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:udf_updated_lvid fs/udf/udfdecl.h:118 [inline]
RIP: 0010:udf_free_inode+0x27a/0x2f0 fs/udf/ialloc.c:41
RSP: 0018:ffff88809eddfae0 EFLAGS: 00010297
RAX: ffff8880b515c400 RBX: ffff88808e2fc6b8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88808acca01c
RBP: ffff88808acca000 R08: 0000000000000000 R09: 000000000004057f
R10: ffff8880b515ccb0 R11: ffff8880b515c400 R12: ffff8880b2966a40
R13: ffff8880963d28f8 R14: ffff8880963d2840 R15: 0000000000000000
 udf_evict_inode+0x2f0/0x520 fs/udf/inode.c:157
 evict+0x2c8/0x700 fs/inode.c:554
 iput_final fs/inode.c:1523 [inline]
 iput+0x458/0x7e0 fs/inode.c:1550
 udf_free_partition fs/udf/super.c:291 [inline]
 udf_sb_free_partitions.isra.0+0x6a6/0xaf0 fs/udf/super.c:322
 udf_put_super+0x14d/0x2a0 fs/udf/super.c:2356
 generic_shutdown_super+0x144/0x370 fs/super.c:446
 kill_block_super+0x95/0xe0 fs/super.c:1161
 deactivate_locked_super+0x6c/0xd0 fs/super.c:319
 deactivate_super+0x7f/0xa0 fs/super.c:350
 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183
 task_work_run+0x11f/0x190 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xa44/0x2850 kernel/exit.c:868
 do_group_exit+0x100/0x2e0 kernel/exit.c:965
 SYSC_exit_group kernel/exit.c:976 [inline]
 SyS_exit_group+0x19/0x20 kernel/exit.c:974
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7feb3a693c39
RSP: 002b:00007ffd13915ed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007feb3a70a3f0 RCX: 00007feb3a693c39
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00007feb3a704e40
R10: 00007feb3a704e40 R11: 0000000000000246 R12: 00007feb3a70a3f0
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/10/31 09:01 linux-4.14.y 41f36d7859a7 2a71366b .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in udf_free_inode
2022/10/25 02:14 linux-4.14.y 9d5c0b3a8e1a faae2fda .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 WARNING in udf_free_inode
2022/10/19 17:12 linux-4.14.y 9d5c0b3a8e1a b31320fc .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 WARNING in udf_free_inode
2022/10/19 09:19 linux-4.14.y 9d5c0b3a8e1a b31320fc .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 WARNING in udf_free_inode
2022/10/05 19:54 linux-4.14.y 9d5c0b3a8e1a 267e3bb1 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-14 WARNING in udf_free_inode
* Struck through repros no longer work on HEAD.