syzbot


kernel BUG in zero_user_segments

Status: upstream: reported C repro on 2024/08/16 06:44
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+78eeb671facb19832e95@syzkaller.appspotmail.com
First crash: 131d, last: 22d
Cause bisection: the cause commit could be any of (bisect log):
  02d8a3227f49 hostfs: Convert hostfs_write_end() to use a folio
  a060d835cf76 fuse: Convert fuse_write_begin() to use a folio
  c8dbe54a2e0b jffs2: Convert jffs2_write_end() to use a folio
  0ee818cc42fc jffs2: Convert jffs2_write_begin() to use a folio
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly ntfs3 report (Nov 2024) 0 (1) 2024/11/13 11:07
[syzbot] [ntfs3?] kernel BUG in zero_user_segments 0 (1) 2024/08/16 06:44
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/12/14 14:58 23m retest repro upstream OK log
2024/12/14 14:58 22m retest repro upstream OK log
2024/12/14 06:59 20m retest repro upstream OK log
2024/12/14 06:59 20m retest repro upstream OK log
2024/12/14 06:59 20m retest repro upstream OK log
2024/12/14 06:59 20m retest repro upstream OK log
2024/12/14 06:59 20m retest repro upstream OK log
2024/12/13 02:06 18m retest repro linux-next error
2024/12/12 22:06 19m retest repro upstream OK log
2024/09/14 10:30 15m retest repro linux-next report log

Sample crash report:
ntfs3: loop0: Failed to initialize $Extend/$ObjId.
------------[ cut here ]------------
kernel BUG at include/linux/highmem.h:275!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5229 Comm: syz-executor130 Not tainted 6.11.0-rc3-next-20240812-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:zero_user_segments+0x28b/0x290 include/linux/highmem.h:275
Code: 02 02 e9 47 fe ff ff e8 23 30 a8 fe 89 ea be 00 10 00 00 48 c7 c7 30 86 ce 8e e8 e0 7b 02 02 e9 d3 fe ff ff e8 06 30 a8 fe 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3
RSP: 0018:ffffc90003a574a0 EFLAGS: 00010293
RAX: ffffffff82eb5e4a RBX: ffffea0001d39440 RCX: ffff888029bd5a00
RDX: 0000000000000000 RSI: 0000000000001001 RDI: 0000000000001000
RBP: 0000000000001000 R08: ffffffff82eb5c85 R09: 1ffffd40003a7288
R10: dffffc0000000000 R11: fffff940003a7289 R12: 0000000000001001
R13: 0000000000000000 R14: 1ffffd40003a7288 R15: 0000000000001001
FS:  0000555572aa0380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007febeca54100 CR3: 0000000077864000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 folio_zero_range include/linux/highmem.h:647 [inline]
 ntfs_extend_initialized_size+0x50b/0x950 fs/ntfs3/file.c:215
 ntfs_extend+0x3fe/0x480 fs/ntfs3/file.c:403
 ntfs_file_write_iter+0x3d1/0x740 fs/ntfs3/file.c:1187
 iter_file_splice_write+0xbd7/0x14e0 fs/splice.c:743
 do_splice_from fs/splice.c:941 [inline]
 direct_splice_actor+0x11e/0x220 fs/splice.c:1164
 splice_direct_to_actor+0x58e/0xc90 fs/splice.c:1108
 do_splice_direct_actor fs/splice.c:1207 [inline]
 do_splice_direct+0x28c/0x3e0 fs/splice.c:1233
 vfs_copy_file_range+0xd37/0x1530 fs/read_write.c:1558
 __do_sys_copy_file_range fs/read_write.c:1612 [inline]
 __se_sys_copy_file_range+0x3f2/0x5d0 fs/read_write.c:1575
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7febec9bcdd9
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:00007ffef5b189d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000146
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007febec9bcdd9
RDX: 0000000000000004 RSI: 0000000000000000 RDI: 0000000000000006
RBP: 00007febeca505f0 R08: 0000000000000006 R09: 0000000000000000
R10: 00000000200000c0 R11: 0000000000000246 R12: 00007ffef5b18a10
R13: 00007ffef5b18c38 R14: 431bde82d7b634db R15: 00007febeca0603b
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:zero_user_segments+0x28b/0x290 include/linux/highmem.h:275
Code: 02 02 e9 47 fe ff ff e8 23 30 a8 fe 89 ea be 00 10 00 00 48 c7 c7 30 86 ce 8e e8 e0 7b 02 02 e9 d3 fe ff ff e8 06 30 a8 fe 90 <0f> 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3
RSP: 0018:ffffc90003a574a0 EFLAGS: 00010293
RAX: ffffffff82eb5e4a RBX: ffffea0001d39440 RCX: ffff888029bd5a00
RDX: 0000000000000000 RSI: 0000000000001001 RDI: 0000000000001000
RBP: 0000000000001000 R08: ffffffff82eb5c85 R09: 1ffffd40003a7288
R10: dffffc0000000000 R11: fffff940003a7289 R12: 0000000000001001
R13: 0000000000000000 R14: 1ffffd40003a7288 R15: 0000000000001001
FS:  0000555572aa0380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007febeca54100 CR3: 0000000077864000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (19179):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/12 16:51 linux-next 9e6869691724 6f4edef4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in zero_user_segments
2024/11/28 22:03 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in zero_user_segments
2024/11/28 20:52 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in zero_user_segments
2024/11/28 14:28 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 13:22 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 11:57 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 10:56 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 09:11 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 06:27 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 05:09 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 03:27 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 02:24 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 01:26 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 22:27 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 21:41 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 20:38 upstream 7d4050728c83 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 15:58 upstream 798bb342e041 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 13:06 upstream 798bb342e041 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 11:50 upstream 798bb342e041 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 11:00 upstream 798bb342e041 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 08:31 upstream 798bb342e041 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 08:08 upstream 798bb342e041 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/27 01:02 upstream 7eef7e306d3c 11dbc254 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in zero_user_segments
2024/11/18 03:02 upstream adc218676eef cfe3a04a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/10 09:20 upstream de2f378f2b77 6b856513 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/07 08:22 upstream 7758b206117d df3dc63b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root kernel BUG in zero_user_segments
2024/11/05 18:07 upstream 2e1b3cc9d7f7 da38b4c9 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/10/22 00:24 upstream d12937763990 f1e4447c .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/10/12 07:33 upstream 9e4c6c1ad9a1 084d8178 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/10/02 02:05 upstream e32cde8d2bd7 ea2b66a6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/09/16 21:18 upstream adfc3ded5c33 c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/28 19:44 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 19:29 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 18:28 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 17:25 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 17:18 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 16:16 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 16:09 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 14:49 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 12:18 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 10:13 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 08:17 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 07:04 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 04:08 upstream b86545e02e8c 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/28 00:24 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 23:30 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 19:54 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 18:53 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 18:07 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 17:04 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 17:00 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 15:18 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 14:14 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 14:12 upstream aaf20f870da0 5df23865 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/27 09:44 upstream 445d9f05fa14 52b38cc1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/09/25 04:46 upstream 68e5c7d4cefb 349a68c4 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/03 18:25 linux-next c88416ba074a f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in zero_user_segments
2024/08/12 06:40 linux-next 9e6869691724 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in zero_user_segments
* Struck through repros no longer work on HEAD.