syzbot


WARNING in udf_truncate_extents

Status: upstream: reported C repro on 2021/09/23 06:31
Subsystems: udf
[Documentation on labels]
Reported-by: syzbot+5ae452fe5ed187a8d5f6@syzkaller.appspotmail.com
First crash: 974d, last: 449d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in udf_truncate_extents origin:lts-only C unreliable 172 171d 432d 0/3 upstream: reported C repro on 2023/03/19 00:16
linux-4.14 WARNING in udf_truncate_extents C error 4 604d 815d 0/1 upstream: reported C repro on 2022/03/01 11:21
linux-5.15 WARNING in udf_truncate_extents origin:lts-only C unreliable 78 154d 432d 0/3 upstream: reported C repro on 2023/03/18 20:24
upstream WARNING in udf_truncate_extents udf C done error 3490 3h30m 1320d 0/26 upstream: reported C repro on 2020/10/12 13:20

Sample crash report:
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
------------[ cut here ]------------
UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000)
WARNING: CPU: 1 PID: 10115 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: 10115 Comm: syz-executor144 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
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:ffff88809c2470c0 EFLAGS: 00010286
RAX: 0000000000000024 RBX: ffff88808ad93120 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1013848e0a
RBP: ffff88809c2471a8 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809c247168
R13: 0000000000000200 R14: 00000000000000ff R15: ffff8880a8aa8640
 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
 dump_emit+0x183/0x300 fs/coredump.c:801
 elf_core_dump+0x33c0/0x4c10 fs/binfmt_elf.c:2392
 do_coredump+0x1d4e/0x2d60 fs/coredump.c:765
 get_signal+0xed9/0x1f70 kernel/signal.c:2583
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode+0x277/0x2d0 arch/x86/entry/common.c:198
 retint_user+0x8/0x18
RIP: 0033:0xcc4f
Code: Bad RIP value.
RSP: 002b:0000000020000168 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 00007f7a274f46c9
RDX: 0000000020000000 RSI: 0000000020000160 RDI: 0000000080081200
RBP: 0000000000000000 R08: 0000000020002480 R09: 00007fffe12307e0
R10: 0000000020000180 R11: 0000000000000206 R12: 00007fffe1230788
R13: 00007fffe12307e0 R14: 00007fffe12307a0 R15: 000000000000000f
Kernel Offset: disabled
Rebooting in 86400 seconds..

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