syzbot


WARNING in udf_truncate_extents

Status: upstream: reported C repro on 2020/10/12 13:20
Reported-by: syzbot+43fc5ba6dcb33e3261ca@syzkaller.appspotmail.com
First crash: 849d, last: 1d13h

Cause bisection: introduced by (bisect log) :
commit 2004bfdef945fe55196db6b9cdf321fbc75bb0de
Author: Bart Van Assche <bvanassche@acm.org>
Date: Tue Mar 10 04:26:21 2020 +0000

  null_blk: Fix the null_add_dev() error path

Crash: WARNING in udf_truncate_extents (log)
Repro: syz .config

Fix bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in udf_truncate_extents C error 4 133d 343d 0/1 upstream: reported C repro on 2022/03/01 11:21
linux-4.19 WARNING in udf_truncate_extents udf C error 237 1d17h 503d 0/1 upstream: reported C repro on 2021/09/23 06:31

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5450 at fs/udf/truncate.c:208 udf_truncate_extents+0xfd7/0x11c0
Modules linked in:
CPU: 0 PID: 5450 Comm: syz-executor164 Not tainted 6.2.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:udf_truncate_extents+0xfd7/0x11c0 fs/udf/truncate.c:208
Code: 01 00 00 89 d8 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 8a 97 88 fe bb fb ff ff ff 4c 8b 6c 24 58 eb 89 e8 79 97 88 fe <0f> 0b eb 80 89 d9 80 e1 07 38 c1 0f 8c 68 f1 ff ff 48 89 df e8 10
RSP: 0018:ffffc9000403f720 EFLAGS: 00010293
RAX: ffffffff830343f7 RBX: 0000000000000000 RCX: ffff88802155d7c0
RDX: 0000000000000000 RSI: 000000000000001f RDI: 0000000000000000
RBP: ffffc9000403f920 R08: ffffffff83033844 R09: ffffffff8300e683
R10: 0000000000000002 R11: ffff88802155d7c0 R12: 000000000000001f
R13: 1ffff92000807efc R14: 000000000000001f R15: ffff888072d907c0
FS:  00007fa30fec2700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa3182f8e10 CR3: 0000000079feb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_write_failed+0x197/0x1d0 fs/udf/inode.c:179
 udf_write_begin+0x5c/0x60 fs/udf/inode.c:209
 generic_perform_write+0x2e4/0x5e0 mm/filemap.c:3772
 __generic_file_write_iter+0x29b/0x400 mm/filemap.c:3868
 udf_file_write_iter+0x325/0x5f0 fs/udf/file.c:170
 do_iter_write+0x6c2/0xc20 fs/read_write.c:861
 vfs_writev fs/read_write.c:934 [inline]
 do_pwritev+0x200/0x350 fs/read_write.c:1031
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fa3182b7739
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 15 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa30fec22e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148
RAX: ffffffffffffffda RBX: 00007fa31833d7f0 RCX: 00007fa3182b7739
RDX: 0000000000000001 RSI: 0000000020000680 RDI: 0000000000000007
RBP: 00007fa318309b10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0031656c69662f2e
R13: 0030656c69662f2e R14: 65732f636f72702f R15: 00007fa31833d7f8
 </TASK>

Crashes (221):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2022/12/29 13:23 upstream 1b929c02afd3 44712fbc .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/12/13 09:53 upstream 3a28c2c89f4b 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/10/20 15:17 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/10/20 15:05 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/10/20 14:10 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/10/20 14:00 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/12 08:54 upstream 493ffd6605b2 02b6492e .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 22:28 upstream 493ffd6605b2 5bcf0c31 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 21:57 upstream 493ffd6605b2 5bcf0c31 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 21:36 upstream 493ffd6605b2 5bcf0c31 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 21:15 upstream 493ffd6605b2 5bcf0c31 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 20:15 upstream 493ffd6605b2 5bcf0c31 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/10/10 16:07 upstream 4899a36f91a9 aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2022/10/10 16:07 upstream 4899a36f91a9 aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/11/20 01:00 linux-next 15f3bff12cf6 5bb70014 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/11/20 00:38 linux-next 15f3bff12cf6 5bb70014 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/11/19 23:24 linux-next 15f3bff12cf6 5bb70014 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/11/19 23:01 linux-next 15f3bff12cf6 5bb70014 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/10/10 16:14 linux-next aaa11ce2ffc8 aea5da89 .config strace log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-gce-arm64 2022/10/10 20:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-gce-arm64 2022/10/10 20:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-gce-arm64 2022/10/10 19:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-gce-arm64 2022/10/10 18:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-gce-arm64 2022/10/10 16:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/11/15 22:16 upstream e01d50cbd6ee 97de9cfc .config strace log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/10/20 12:12 upstream 55be6084c8e0 b31320fc .config console log report syz [disk image] [vmlinux] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 11:54 upstream 4899a36f91a9 aea5da89 .config console log report syz [disk image] [vmlinux] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/10/10 02:16 upstream a6afa4199d3d aea5da89 .config console log report syz [disk image] [vmlinux] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci-qemu-upstream 2022/06/25 20:06 upstream 8c23f235a6a8 a371c43c .config console log report syz WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/11/19 21:01 linux-next 15f3bff12cf6 5bb70014 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/11/19 13:47 linux-next 15f3bff12cf6 5bb70014 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2020/10/11 21:25 upstream da690031a5d6 4a77ae0b .config console log report syz
ci-upstream-kasan-gce-smack-root 2023/02/06 18:46 upstream d2d11f342b17 0a9c11b6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2023/01/30 15:48 upstream 6d796c50f84c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2023/01/25 03:29 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2023/01/24 00:41 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/20 03:04 upstream 081edded9b38 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/07 10:47 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/07 08:04 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2023/01/06 18:30 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/06 06:52 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/05 10:15 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2023/01/05 08:57 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/02 23:52 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/02 19:45 upstream 88603b6dc419 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2023/01/02 07:23 upstream 150aae354b81 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/02 05:30 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/02 04:04 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2023/01/02 02:50 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-selinux-root 2023/01/01 00:38 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/31 22:16 upstream c8451c141e07 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/31 04:37 upstream bff687b3dad6 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/30 17:46 upstream 2258c2dc850b 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/29 20:51 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/28 23:11 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/28 17:07 upstream 1b929c02afd3 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2022/12/25 13:25 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2022/12/17 00:15 upstream 77856d911a8c 05494336 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/12/16 11:50 upstream 851f657a8642 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/12/11 21:01 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/12/09 00:45 upstream ce19275f0103 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/12/07 20:20 upstream 8ed710da2873 d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-selinux-root 2022/12/05 00:26 upstream c2bf05db6c78 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-smack-root 2022/12/02 05:32 upstream ef4d3ea40565 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-selinux-root 2022/11/18 08:10 upstream 81ac25651a62 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/11/18 05:17 upstream 84368d882b96 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/11/14 03:51 upstream af7a05689189 7ba4d859 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/11/13 12:59 upstream fef7fd48922d f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/11/13 03:22 upstream 8f2975c2bb4c 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/11/12 12:48 upstream 8f2975c2bb4c f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci2-upstream-fs 2022/11/12 03:09 upstream eb037f16f7e8 f42ee5d8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-kasan-gce-root 2022/11/11 05:40 upstream 1767a722a708 3ead01ad .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-qemu-upstream 2022/10/10 16:09 upstream 493ffd6605b2 5bcf0c31 .config console log report info WARNING in udf_truncate_extents
ci-qemu-upstream-386 2023/01/23 00:38 upstream 2475bf0250de 7374c4e5 .config console log report info WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2023/02/01 20:47 linux-next 66eee64b2354 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2023/01/30 23:44 linux-next e2f86c02fdc9 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2023/01/29 14:30 linux-next e2f86c02fdc9 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2023/01/27 16:45 linux-next e2f86c02fdc9 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/12/19 16:35 linux-next d650871875b2 c52b2efb .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-linux-next-kasan-gce-root 2022/12/05 10:06 linux-next 9e46a7996732 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in udf_truncate_extents
ci-upstream-gce-arm64 2022/11/02 22:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 08977f5d .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
* Struck through repros no longer work on HEAD.