syzbot


WARNING in udf_setsize (2)

Status: upstream: reported C repro on 2023/06/12 18:18
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+db6df8c0f578bc11e50e@syzkaller.appspotmail.com
First crash: 353d, last: 4d03h
Cause bisection: introduced by (bisect log) :
commit 16d0556568148bdcaa45d077cac9f8f7077cf70a
Author: Jan Kara <jack@suse.cz>
Date: Wed Dec 7 17:17:34 2022 +0000

  udf: Discard preallocation before extending file with a hole

Crash: WARNING in udf_setsize (log)
Repro: C syz .config
  
Discussions (11)
Title Replies (including bot) Last reply
[syzbot] Monthly udf report (May 2024) 0 (1) 2024/05/14 20:49
[syzbot] Monthly udf report (Apr 2024) 0 (1) 2024/04/13 14:40
[syzbot] Monthly udf report (Mar 2024) 0 (1) 2024/03/13 13:48
[syzbot] Monthly udf report (Feb 2024) 0 (1) 2024/02/12 10:25
[syzbot] Monthly udf report (Jan 2024) 0 (1) 2024/01/10 20:36
[syzbot] Monthly udf report (Dec 2023) 0 (1) 2023/12/11 09:40
[syzbot] Monthly udf report (Nov 2023) 0 (1) 2023/11/09 18:23
[syzbot] Monthly udf report (Oct 2023) 0 (1) 2023/10/09 09:23
[syzbot] Monthly udf report (Sep 2023) 0 (1) 2023/09/08 14:11
[syzbot] Monthly udf report (Jul 2023) 0 (1) 2023/07/07 12:42
[syzbot] [udf?] WARNING in udf_setsize (2) 0 (3) 2023/06/21 16:59
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in udf_setsize origin:upstream C 3 22d 401d 0/3 upstream: reported C repro on 2023/04/22 09:32
upstream WARNING in udf_setsize udf C done 24 356d 527d 22/26 fixed on 2023/06/08 14:41
linux-6.1 WARNING in udf_setsize origin:upstream C 3 21d 253d 0/3 upstream: reported C repro on 2023/09/16 17:41
linux-4.14 WARNING in udf_setsize C 1 462d 462d 0/1 upstream: reported C repro on 2023/02/20 06:04
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/05/11 09:42 15m retest repro upstream report log
2024/04/23 05:21 23m retest repro upstream report log
2024/04/23 05:21 23m retest repro upstream report log
2024/03/24 16:53 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/03/09 03:36 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/03/01 03:31 22m retest repro upstream OK log
2024/03/01 03:31 23m retest repro upstream OK log
2024/02/10 13:47 15m retest repro upstream report log
2024/02/10 13:47 15m retest repro upstream report log
2024/01/15 01:18 23m retest repro upstream OK log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5079 at fs/udf/inode.c:666 udf_extend_file fs/udf/inode.c:665 [inline]
WARNING: CPU: 1 PID: 5079 at fs/udf/inode.c:666 udf_setsize+0x104d/0x1470 fs/udf/inode.c:1268
Modules linked in:
CPU: 1 PID: 5079 Comm: syz-executor269 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:udf_extend_file fs/udf/inode.c:665 [inline]
RIP: 0010:udf_setsize+0x104d/0x1470 fs/udf/inode.c:1268
Code: fe 31 ff 44 89 fe e8 f2 ec 7b fe 45 85 ff 74 0a e8 a8 e8 7b fe e9 1d ff ff ff e8 9e e8 7b fe e9 e2 fd ff ff e8 94 e8 7b fe 90 <0f> 0b 90 e9 60 f6 ff ff 89 d9 80 e1 07 38 c1 0f 8c 6e f0 ff ff 48
RSP: 0018:ffffc900033ffac0 EFLAGS: 00010293
RAX: ffffffff831a486c RBX: 0000000000000c00 RCX: ffff8880299c1e00
RDX: 0000000000000000 RSI: 0000000000000c00 RDI: 0000000000000400
RBP: ffffc900033ffcb0 R08: ffffffff831a3ec7 R09: 1ffff1100fd641bd
R10: dffffc0000000000 R11: ffffed100fd641be R12: 0000000000000400
R13: 1ffff9200067ff6c R14: 0000000000000009 R15: ffffc900033ffb80
FS:  00007f21feecf6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f21feecfd58 CR3: 000000007ecf0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_setattr+0x39b/0x570 fs/udf/file.c:235
 notify_change+0xb9d/0xe70 fs/attr.c:497
 do_truncate fs/open.c:65 [inline]
 do_ftruncate+0x46b/0x590 fs/open.c:181
 do_sys_ftruncate fs/open.c:199 [inline]
 __do_sys_ftruncate fs/open.c:207 [inline]
 __se_sys_ftruncate fs/open.c:205 [inline]
 __x64_sys_ftruncate+0x95/0xf0 fs/open.c:205
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f21fef39b19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f21feecf218 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 00007f21fefc26d8 RCX: 00007f21fef39b19
RDX: 00007f21fef39b19 RSI: 00000000000007fa RDI: 0000000000000004
RBP: 00007f21fefc26d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f21fefc26dc
R13: 00007f21fef8ecb0 R14: 00007f21fef8e0c0 R15: 00000000200018c0
 </TASK>

Crashes (28):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/23 07:29 upstream 8f6a15f095a6 4d098039 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in udf_setsize
2024/04/27 09:36 upstream 5eb4573ea63d 07b455f9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in udf_setsize
2024/01/26 21:19 upstream ecb1b8288dc7 cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in udf_setsize
2024/01/21 08:14 upstream 125514880ddd 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-selinux-root WARNING in udf_setsize
2024/03/10 08:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in udf_setsize
2023/11/14 21:50 upstream 9bacdd8996c7 cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root WARNING in udf_setsize
2023/11/05 20:03 upstream 1c41041124bd 500bfdc4 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in udf_setsize
2023/06/21 01:06 upstream 99ec1ed7c2ed 79782afc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in udf_setsize
2023/09/01 11:18 linux-next a47fc304d2b6 696ea0d2 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root WARNING in udf_setsize
2023/11/19 13:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in udf_setsize
2024/05/14 20:15 upstream a5131c3fdf26 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2024/02/16 03:26 upstream 4f5e5092fdbf fd39cf6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2024/01/01 00:17 upstream 2639772a11c8 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/12/15 19:59 upstream 3f7168591ebf 3222d10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/12/13 08:40 upstream eaadbbaaff74 ebcad15c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/12/10 07:16 upstream b10a3ccaf6e3 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/12/03 14:31 upstream 1b8af6552cb7 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in udf_setsize
2023/11/01 14:37 upstream 89ed67ef126c 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in udf_setsize
2023/11/01 14:28 upstream 89ed67ef126c 69904c9f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/10/08 15:38 upstream b9ddbb0cde2a 5e837c76 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/10/06 10:03 upstream f291209eca5e db17ad9f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in udf_setsize
2023/10/03 11:36 upstream ce36c8b14987 65faba36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/09/01 12:27 upstream 99d99825fc07 696ea0d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/10/19 01:31 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in udf_setsize
2023/06/28 15:08 upstream b19edac5992d 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/06/26 01:44 upstream 547cc9be86f4 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2023/06/08 18:08 upstream 5f63595ebd82 058b3a5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in udf_setsize
2024/03/31 04:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in udf_setsize
* Struck through repros no longer work on HEAD.