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: 101d, last: now
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 (1)
Created Duration User Patch Repo Result
2024/09/14 10:30 15m retest repro linux-next report log

Sample crash report:
------------[ cut here ]------------
kernel BUG at include/linux/highmem.h:275!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 5828 Comm: syz-executor771 Not tainted 6.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:zero_user_segments+0x28b/0x290 include/linux/highmem.h:275
Code: ff 01 e9 47 fe ff ff e8 13 16 a7 fe 89 ea be 00 10 00 00 48 c7 c7 70 44 cf 8e e8 a0 e0 ff 01 e9 d3 fe ff ff e8 f6 15 a7 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:ffffc9000384f9a0 EFLAGS: 00010293
RAX: ffffffff82edd3ba RBX: ffffea0000489500 RCX: ffff88807bda0000
RDX: 0000000000000000 RSI: 0000000000001008 RDI: 0000000000001000
RBP: 0000000000001000 R08: ffffffff82edd1f5 R09: 1ffffd40000912a0
R10: dffffc0000000000 R11: fffff940000912a1 R12: 0000000000001008
R13: 0000000000000000 R14: 1ffffd40000912a0 R15: 0000000000001008
FS:  000055558c30b380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8560666100 CR3: 0000000034cf2000 CR4: 00000000003526f0
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:225
 ntfs_extend+0x578/0xad0 fs/ntfs3/file.c:413
 ntfs_file_write_iter+0x403/0x7a0 fs/ntfs3/file.c:1254
 new_sync_write fs/read_write.c:590 [inline]
 vfs_write+0xaeb/0xd30 fs/read_write.c:683
 ksys_pwrite64 fs/read_write.c:798 [inline]
 __do_sys_pwrite64 fs/read_write.c:808 [inline]
 __se_sys_pwrite64 fs/read_write.c:805 [inline]
 __x64_sys_pwrite64+0x1aa/0x230 fs/read_write.c:805
 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:0x7f85605cedd9
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:00007ffd402768f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f85605cedd9
RDX: 0000000000000001 RSI: 0000000020003a80 RDI: 0000000000000004
RBP: 00007f85606625f0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008000c61 R11: 0000000000000246 R12: 00007ffd40276930
R13: 00007ffd40276b58 R14: 431bde82d7b634db R15: 00007f856061803b
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:zero_user_segments+0x28b/0x290 include/linux/highmem.h:275
Code: ff 01 e9 47 fe ff ff e8 13 16 a7 fe 89 ea be 00 10 00 00 48 c7 c7 70 44 cf 8e e8 a0 e0 ff 01 e9 d3 fe ff ff e8 f6 15 a7 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:ffffc9000384f9a0 EFLAGS: 00010293
RAX: ffffffff82edd3ba RBX: ffffea0000489500 RCX: ffff88807bda0000
RDX: 0000000000000000 RSI: 0000000000001008 RDI: 0000000000001000
RBP: 0000000000001000 R08: ffffffff82edd1f5 R09: 1ffffd40000912a0
R10: dffffc0000000000 R11: fffff940000912a1 R12: 0000000000001008
R13: 0000000000000000 R14: 1ffffd40000912a0 R15: 0000000000001008
FS:  000055558c30b380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd6b595fd8 CR3: 0000000034cf2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (16828):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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/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/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/21 06:24 upstream 8f7c8b88bda4 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/21 05:23 upstream 8f7c8b88bda4 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/21 01:54 upstream 8f7c8b88bda4 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/21 00:44 upstream 8f7c8b88bda4 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 20:42 upstream 8f7c8b88bda4 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 19:07 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 14:48 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 13:36 upstream bf9aa14fc523 4fca1650 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 09:19 upstream bf9aa14fc523 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 07:38 upstream bf9aa14fc523 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 05:39 upstream a5c93bfec0be 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in zero_user_segments
2024/11/20 03:36 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 02:25 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 01:13 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/20 00:09 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/19 23:52 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/19 21:25 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/19 19:26 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/19 19:01 upstream 158f238aa69d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in zero_user_segments
2024/11/19 18:00 upstream 158f238aa69d 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/19 15:54 upstream 158f238aa69d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in zero_user_segments
2024/11/19 15:36 upstream 158f238aa69d 571351cb .config console log report info [disk image] [vmlinux] [kernel image] 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/21 04:21 upstream 8f7c8b88bda4 4b25d554 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/21 03:19 upstream 8f7c8b88bda4 4b25d554 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/21 02:10 upstream 8f7c8b88bda4 4b25d554 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 23:06 upstream 8f7c8b88bda4 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 22:06 upstream 8f7c8b88bda4 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 21:50 upstream 8f7c8b88bda4 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 18:11 upstream bf9aa14fc523 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 17:10 upstream bf9aa14fc523 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 16:42 upstream bf9aa14fc523 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 15:37 upstream bf9aa14fc523 4fca1650 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 11:28 upstream bf9aa14fc523 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 11:27 upstream bf9aa14fc523 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 10:26 upstream bf9aa14fc523 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 08:54 upstream bf9aa14fc523 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 07:04 upstream bf9aa14fc523 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 04:36 upstream 158f238aa69d 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 03:30 upstream 158f238aa69d 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/20 01:36 upstream 158f238aa69d 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/19 22:40 upstream 158f238aa69d 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/19 22:35 upstream 158f238aa69d 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/19 20:32 upstream 158f238aa69d 7d02db5a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in zero_user_segments
2024/11/19 14:31 upstream 158f238aa69d 571351cb .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] 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.