syzbot


WARNING in udf_truncate_extents

Status: upstream: reported C repro on 2021/09/23 06:31
Reported-by: syzbot+5ae452fe5ed187a8d5f6@syzkaller.appspotmail.com
First crash: 497d, last: 3d12h

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 127d 338d 0/1 upstream: reported C repro on 2022/03/01 11:21
upstream WARNING in udf_truncate_extents udf C done error 220 1d01h 843d 0/24 upstream: reported C repro on 2020/10/12 13:20

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 9834 at fs/udf/truncate.c:226 udf_truncate_extents.cold+0x11/0x18 fs/udf/truncate.c:226
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 9834 Comm: syz-executor388 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:udf_truncate_extents.cold+0x11/0x18 fs/udf/truncate.c:226
Code: 89 df 48 c7 c6 40 a9 9a 88 e8 ac f9 ff ff 41 bc ea ff ff ff e9 96 57 78 fa e8 b0 a9 69 f9 48 c7 c7 60 b4 9a 88 e8 0f db fa ff <0f> 0b e9 81 78 78 fa e8 98 a9 69 f9 48 c7 c6 40 ba 9a 88 48 c7 c7
RSP: 0018:ffff8880a10a7400 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff888089cb9670 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1014214e72
RBP: ffff8880a10a74e8 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880a10a74a8
R13: 0000000000000200 R14: 00000000000000ff R15: ffff88809f940200
 udf_write_failed.isra.0+0x17b/0x1d0 fs/udf/inode.c:172
 udf_write_begin+0x89/0xa0 fs/udf/inode.c:208
 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170
 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295
 udf_file_write_iter+0x2d4/0x4e0 fs/udf/file.c:169
 call_write_iter include/linux/fs.h:1821 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x51b/0x770 fs/read_write.c:487
 __kernel_write+0x109/0x370 fs/read_write.c:506
 write_pipe_buf+0x153/0x1f0 fs/splice.c:798
 splice_from_pipe_feed fs/splice.c:503 [inline]
 __splice_from_pipe+0x389/0x800 fs/splice.c:627
 splice_from_pipe fs/splice.c:662 [inline]
 default_file_splice_write+0xd8/0x180 fs/splice.c:810
 do_splice_from fs/splice.c:852 [inline]
 direct_splice_actor+0x115/0x160 fs/splice.c:1025
 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980
 do_splice_direct+0x1a7/0x270 fs/splice.c:1068
 do_sendfile+0x550/0xc30 fs/read_write.c:1447
 __do_sys_sendfile64 fs/read_write.c:1508 [inline]
 __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f4737f2ef39
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007f4737eda2f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f4737fb54c0 RCX: 00007f4737f2ef39
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003
RBP: 00007f4737f81bf8 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000001dd08 R11: 0000000000000246 R12: 0c7e49dacbccbe94
R13: f6e295032a05fb9d R14: 0030656c69662f2e R15: 00007f4737fb54c8
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (236):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-linux-4-19 2022/11/13 09:43 linux-4.19.y 3f8a27f9e27b f42ee5d8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/01 05:03 linux-4.19.y 3f8a27f9e27b a1d8560a .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/13 09:24 linux-4.19.y 3f8a27f9e27b 3f6b40a1 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/11 22:27 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/11 22:06 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/11 21:47 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/11 21:34 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/11 20:31 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/11 13:27 linux-4.19.y 3f8a27f9e27b 5bcf0c31 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/10 22:37 linux-4.19.y 3f8a27f9e27b 5bcf0c31 .config console log report syz C [disk image] [vmlinux] [mounted in repro] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/09/04 08:53 linux-4.19.y 3f8a27f9e27b 28811d0a .config console log report syz C [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/03/01 13:37 linux-4.19.y 3f8a27f9e27b 45a13a73 .config console log report syz C WARNING in udf_truncate_extents
ci2-linux-4-19 2021/10/04 21:05 linux-4.19.y c2276d585654 ce697b49 .config console log report syz C WARNING in udf_truncate_extents
ci2-linux-4-19 2021/10/04 13:36 linux-4.19.y c2276d585654 ce697b49 .config console log report syz C WARNING in udf_truncate_extents
ci2-linux-4-19 2021/10/04 02:16 linux-4.19.y c2276d585654 db0f5787 .config console log report syz C WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/07 17:24 linux-4.19.y 3f8a27f9e27b a779b11a .config console log report syz [disk image] [vmlinux] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/10/17 09:58 linux-4.19.y 3f8a27f9e27b 67cb024c .config console log report syz [disk image] [vmlinux] [mounted in repro #1] [mounted in repro #2] WARNING in udf_truncate_extents
ci2-linux-4-19 2021/09/24 20:14 linux-4.19.y 2950c9c5e0df 8cac236e .config console log report syz WARNING in udf_truncate_extents
ci2-linux-4-19 2021/09/23 06:31 linux-4.19.y 2950c9c5e0df 8cac236e .config console log report syz WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/30 09:42 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/29 19:51 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/29 06:31 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/27 19:08 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/24 07:46 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/23 20:50 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/23 02:24 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/03 02:09 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2023/01/02 22:17 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/25 20:04 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/25 07:41 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/22 03:50 linux-4.19.y 3f8a27f9e27b 4067838e .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/16 02:43 linux-4.19.y 3f8a27f9e27b 6f9c033e .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/15 07:50 linux-4.19.y 3f8a27f9e27b b18f0a64 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/14 22:42 linux-4.19.y 3f8a27f9e27b b18f0a64 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/12 06:15 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/08 05:58 linux-4.19.y 3f8a27f9e27b d88f3abb .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/04 04:58 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/03 10:44 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/12/02 03:52 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/21 08:31 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/21 01:47 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/20 15:22 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/20 14:20 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/20 12:15 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/20 06:06 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/20 05:00 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/19 20:54 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/19 17:48 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/18 23:00 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/18 16:10 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/18 10:35 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/18 05:30 linux-4.19.y 3f8a27f9e27b 5bb70014 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/17 05:35 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/16 23:00 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/16 21:02 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/16 15:33 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/16 11:02 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/16 06:17 linux-4.19.y 3f8a27f9e27b 3a127a31 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/15 13:30 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/15 12:08 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/15 06:37 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/15 03:18 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/15 01:34 linux-4.19.y 3f8a27f9e27b 97de9cfc .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/14 18:59 linux-4.19.y 3f8a27f9e27b 943f4cb8 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/14 16:10 linux-4.19.y 3f8a27f9e27b 943f4cb8 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
ci2-linux-4-19 2022/11/13 20:37 linux-4.19.y 3f8a27f9e27b 7ba4d859 .config console log report info [disk image] [vmlinux] WARNING in udf_truncate_extents
* Struck through repros no longer work on HEAD.