syzbot


WARNING in __udf_add_aext

Status: upstream: reported C repro on 2022/10/10 16:32
Reported-by: syzbot+0eaad3590d65102b9391@syzkaller.appspotmail.com
First crash: 49d, last: 8d07h

Cause 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_add_aext C 1 33d 284d 0/1 upstream: reported C repro on 2022/02/18 06:47
linux-4.19 WARNING in __udf_add_aext C error 10 39d 318d 0/1 upstream: reported C repro on 2022/01/14 21:09

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3620 at fs/udf/inode.c:2023 __udf_add_aext+0x676/0x7d0 fs/udf/inode.c:2023
Modules linked in:
CPU: 0 PID: 3620 Comm: syz-executor126 Not tainted 6.0.0-syzkaller-09589-g55be6084c8e0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:__udf_add_aext+0x676/0x7d0 fs/udf/inode.c:2023
Code: ef 0f 84 b3 fb ff ff e8 68 f7 a7 fe 0f 0b e9 a7 fb ff ff e8 5c f7 a7 fe 48 8b 44 24 20 48 05 b0 00 00 00 eb b7 e8 4a f7 a7 fe <0f> 0b e9 27 fb ff ff e8 3e f7 a7 fe 0f 0b e9 7d fb ff ff 41 bc fb
RSP: 0018:ffffc900040af358 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc900040af7e0 RCX: 0000000000000000
RDX: ffff88807e628000 RSI: ffffffff82d352f6 RDI: 0000000000000006
RBP: ffff88806fd12e30 R08: 0000000000000006 R09: 0000000000000000
R10: 00000000000001d0 R11: 0000000000000000 R12: 0000000000000000
R13: 00000000000001d0 R14: 0000000000000010 R15: 00000000000001e8
FS:  0000555556ace300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4e51369290 CR3: 0000000018209000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 udf_setup_indirect_aext+0x576/0x880 fs/udf/inode.c:1989
 udf_add_aext+0x208/0x2d0 fs/udf/inode.c:2076
 udf_insert_aext fs/udf/inode.c:2242 [inline]
 udf_update_extents fs/udf/inode.c:1190 [inline]
 inode_getblk+0x22db/0x4010 fs/udf/inode.c:894
 udf_get_block.part.0+0x1c7/0x4e0 fs/udf/inode.c:443
 udf_get_block+0x36/0x210 fs/udf/inode.c:425
 __block_write_begin_int+0x3ca/0x1520 fs/buffer.c:2006
 __block_write_begin fs/buffer.c:2056 [inline]
 block_write_begin+0xb5/0x4d0 fs/buffer.c:2117
 udf_write_begin+0x31/0xa0 fs/udf/inode.c:212
 generic_perform_write+0x246/0x560 mm/filemap.c:3745
 __generic_file_write_iter+0x2aa/0x4d0 mm/filemap.c:3873
 udf_file_write_iter+0x2cc/0x650 fs/udf/file.c:170
 call_write_iter include/linux/fs.h:2190 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x9e9/0xdd0 fs/read_write.c:584
 ksys_write+0x127/0x250 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4e512f2a49
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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd82844338 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000020000080 RCX: 00007f4e512f2a49
RDX: 000000000000fea7 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd82844360 R09: 00007ffd82844360
R10: 00007ffd82844200 R11: 0000000000000246 R12: 00007ffd8284435c
R13: 00007ffd82844390 R14: 00007ffd82844370 R15: 0000000000000001
 </TASK>

Crashes (134):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/10/20 15:51 upstream 55be6084c8e0 b31320fc .config log report syz C WARNING in __udf_add_aext
ci2-upstream-fs 2022/10/10 22:40 upstream 493ffd6605b2 5bcf0c31 .config log report syz C WARNING in __udf_add_aext
ci-upstream-linux-next-kasan-gce-root 2022/10/10 17:16 linux-next aaa11ce2ffc8 aea5da89 .config log report syz C WARNING in __udf_add_aext
ci-upstream-gce-arm64 2022/10/10 20:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 aea5da89 .config log report syz C WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/21 04:32 upstream eb7081409f94 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/21 03:24 upstream 77c51ba552a1 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/20 21:26 upstream 77c51ba552a1 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/20 15:03 upstream 77c51ba552a1 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/20 13:07 upstream fe24a97cf254 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/20 11:34 upstream fe24a97cf254 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/20 08:00 upstream fe24a97cf254 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/19 14:23 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/19 07:58 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/18 23:53 upstream ab290eaddc4c 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/18 11:34 upstream 84368d882b96 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/18 04:37 upstream 84368d882b96 5bb70014 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/18 01:16 upstream 81ac25651a62 4ba8ab94 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/17 18:43 upstream 81ac25651a62 4ba8ab94 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/17 16:24 upstream cc675d22e422 4ba8ab94 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/17 13:25 upstream cc675d22e422 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/17 08:55 upstream cc675d22e422 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/16 20:13 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/16 18:01 upstream 59d0d52c30d4 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/16 13:46 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/16 07:10 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/16 01:50 upstream 81e7cfa3a9eb 3a127a31 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 21:53 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 20:39 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in __udf_add_aext
ci-upstream-kasan-gce-smack-root 2022/11/14 16:41 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 15:37 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 14:00 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 10:22 upstream 094226ad94f4 943f4cb8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 09:07 upstream 094226ad94f4 7ba4d859 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/14 02:03 upstream af7a05689189 7ba4d859 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/13 23:01 upstream af7a05689189 7ba4d859 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/13 14:30 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/13 11:42 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/13 09:57 upstream fef7fd48922d f42ee5d8 .config log report info WARNING in __udf_add_aext
ci-upstream-kasan-gce-root 2022/11/13 04:17 upstream fef7fd48922d 3ead01ad .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/13 00:44 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/12 23:40 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/12 12:37 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/12 10:37 upstream 8f2975c2bb4c f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/12 04:30 upstream eb037f16f7e8 f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/11 22:32 upstream eb037f16f7e8 f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/11 15:44 upstream 4bbf3422df78 f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/11 04:28 upstream 4bbf3422df78 f42ee5d8 .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/11 00:10 upstream 1767a722a708 3ead01ad .config log report info WARNING in __udf_add_aext
ci2-upstream-fs 2022/11/10 14:48 upstream f67dd6ce0723 b2488a87 .config log report info WARNING in __udf_add_aext
ci-upstream-kasan-gce-selinux-root 2022/11/01 01:21 upstream b229b6ca5abb 2a71366b .config log report info WARNING in __udf_add_aext
ci-upstream-linux-next-kasan-gce-root 2022/11/18 17:11 linux-next 15f3bff12cf6 5bb70014 .config log report info WARNING in __udf_add_aext
ci-upstream-linux-next-kasan-gce-root 2022/10/10 16:06 linux-next aaa11ce2ffc8 aea5da89 .config log report info WARNING in __udf_add_aext
ci-upstream-gce-arm64 2022/10/31 07:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci bbed346d5a96 2a71366b .config log report info WARNING in __udf_add_aext
* Struck through repros no longer work on HEAD.