syzbot


WARNING in __udf_add_aext

Status: upstream: reported C repro on 2023/08/20 05:08
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+6a9661c8887dbe7bd474@syzkaller.appspotmail.com
First crash: 414d, last: 14d
Fix commit to backport (bisect log) :
tree: upstream
commit c2efd13a2ed4f29bf9ef14ac2fbb7474084655f8
Author: Jan Kara <jack@suse.cz>
Date: Wed Jan 25 16:56:06 2023 +0000

  udf: Limit file size to 4TB

[report pending]
  
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in __udf_add_aext (log)
Repro: C syz .config
  
Bug presence (2)
Date Name Commit Repro Result
2023/08/20 linux-5.15.y (ToT) f6f7927ac664 C [report] WARNING in __udf_add_aext
2023/08/20 upstream (ToT) b320441c04c9 C Didn't crash
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in __udf_add_aext udf C 3 584d 962d 0/1 upstream: reported C repro on 2022/02/18 06:47
upstream WARNING in __udf_add_aext (3) udf C error 442 1h52m 182d 0/28 upstream: reported C repro on 2024/04/08 08:26
linux-4.19 WARNING in __udf_add_aext udf C error 20 596d 997d 0/1 upstream: reported C repro on 2022/01/14 21:09
upstream WARNING in __udf_add_aext udf C error 170 490d 728d 22/28 fixed on 2023/06/08 14:41
upstream WARNING in __udf_add_aext (2) udf syz error done 6 301d 482d 25/28 fixed on 2024/01/30 15:47
linux-6.1 WARNING in __udf_add_aext origin:lts-only C done 72 17h21m 365d 0/3 upstream: reported C repro on 2023/10/08 20:16
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/01/03 14:29 4h30m fix candidate upstream OK (1) job log
2023/12/12 18:51 1h09m bisect fix linux-5.15.y OK (0) job log log
2023/11/11 17:27 50m bisect fix linux-5.15.y OK (0) job log log
2023/10/10 07:16 1h11m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 2048
UDF-fs: INFO Mounting volume 'LiuxUDF', timestamp 2022/11/22 14:59 (1000)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3565 at fs/udf/inode.c:2025 __udf_add_aext+0x54c/0x6f0
Modules linked in:
CPU: 0 PID: 3565 Comm: syz-executor516 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__udf_add_aext+0x54c/0x6f0 fs/udf/inode.c:2024
Code: 4c 89 e7 e8 e6 e8 ef fe 49 8b 3c 24 4c 89 fe e8 6a 51 0b ff 31 c0 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 e4 14 a6 fe <0f> 0b e9 ed fb ff ff e8 d8 14 a6 fe 0f 0b e9 5c fc ff ff e8 cc 14
RSP: 0018:ffffc900016df7d8 EFLAGS: 00010293
RAX: ffffffff82da4c7c RBX: 1ffff920002dbf75 RCX: ffff88807cce0000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000000001d0
RBP: 00000000000001d0 R08: ffffffff82da4862 R09: ffffffff82da4792
R10: 0000000000000002 R11: ffff88807cce0000 R12: ffffc900016dfba0
R13: 0000000000000000 R14: dffffc0000000000 R15: ffffc900016dfba8
FS:  0000555556458380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9f6d5680f8 CR3: 0000000077ce6000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 udf_setup_indirect_aext+0x6bc/0x980 fs/udf/inode.c:1990
 udf_add_aext fs/udf/inode.c:2077 [inline]
 udf_do_extend_file+0x6df/0x1140 fs/udf/inode.c:562
 udf_extend_file fs/udf/inode.c:676 [inline]
 udf_setsize+0xd3c/0x1430 fs/udf/inode.c:1246
 udf_setattr+0x36c/0x540 fs/udf/file.c:277
 notify_change+0xc6d/0xf50 fs/attr.c:505
 do_truncate+0x21c/0x300 fs/open.c:65
 do_sys_ftruncate+0x2eb/0x390 fs/open.c:193
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9f6d4efd99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 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:00007ffc8abdf5d8 EFLAGS: 00000246 ORIG_RAX: 000000000000004d
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f9f6d4efd99
RDX: 00007f9f6d4efd99 RSI: 0000008002007ffb RDI: 0000000000000004
RBP: 00007f9f6d5645f0 R08: 00005555564594c0 R09: 00005555564594c0
R10: 00005555564594c0 R11: 0000000000000246 R12: 00007ffc8abdf600
R13: 00007ffc8abdf828 R14: 431bde82d7b634db R15: 00007f9f6d53903b
 </TASK>

Crashes (83):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/28 10:04 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/04/14 04:06 linux-5.15.y fa3df276cd36 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2023/08/20 05:08 linux-5.15.y f6f7927ac664 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/09/23 20:09 linux-5.15.y 3a5928702e71 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/09/08 15:46 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/09/08 09:59 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/09/08 09:58 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/09/08 01:44 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/08/12 01:48 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/08/11 23:46 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/08/01 16:36 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/29 09:30 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/29 05:00 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/28 16:22 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/28 09:01 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/22 17:01 linux-5.15.y 7c6d66f0266f df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/22 17:00 linux-5.15.y 7c6d66f0266f df655b64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/13 16:52 linux-5.15.y f45bea23c39c eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/11 14:50 linux-5.15.y f45bea23c39c c699c2eb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/07 16:24 linux-5.15.y f45bea23c39c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/07 04:39 linux-5.15.y f45bea23c39c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/06 10:45 linux-5.15.y f45bea23c39c 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/05 00:50 linux-5.15.y 4878aadf2d15 3f2748a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/02 16:56 linux-5.15.y 4878aadf2d15 07f0a0a0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/07/01 06:59 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/06/25 08:02 linux-5.15.y 4878aadf2d15 215eef4a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/06/24 09:24 linux-5.15.y 4878aadf2d15 edc5149a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/06/20 07:10 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/06/05 18:49 linux-5.15.y c61bd26ae81a 5aa1a7c9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/06/04 05:09 linux-5.15.y c61bd26ae81a a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/27 23:00 linux-5.15.y c61bd26ae81a 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/27 23:00 linux-5.15.y c61bd26ae81a 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/27 01:04 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/24 17:09 linux-5.15.y 83655231580b 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/22 18:11 linux-5.15.y 83655231580b 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/22 18:10 linux-5.15.y 83655231580b 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/22 06:05 linux-5.15.y 83655231580b 1014eca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/19 21:28 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/19 02:23 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/19 02:22 linux-5.15.y 83655231580b c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/14 15:01 linux-5.15.y 284087d4f7d5 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/13 06:49 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/05/12 12:49 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/04/14 03:34 linux-5.15.y fa3df276cd36 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __udf_add_aext
2024/08/29 04:44 linux-5.15.y fa93fa65db6e ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __udf_add_aext
2024/08/26 04:59 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __udf_add_aext
2024/08/01 15:03 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __udf_add_aext
2024/06/11 12:42 linux-5.15.y c61bd26ae81a b7d9eb04 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __udf_add_aext
2024/05/13 06:42 linux-5.15.y 284087d4f7d5 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __udf_add_aext
2024/04/19 05:53 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __udf_add_aext
* Struck through repros no longer work on HEAD.