general protection fault in new_curseg

Status: upstream: reported on 2026/09/02 03:41
Subsystems: f2fs
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+ae5b8eb92ed40411ce16@syzkaller.appspotmail.com
First crash: 12d, last: 4h14m
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
5bde44b1 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ✅ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ general protection fault in new_curseg 2026/08/31 01:40 2026/08/31 01:40 2026/08/31 02:21 2f52988a
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [f2fs?] general protection fault in new_curseg 0 (1) 2026/09/02 03:41

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
CPU: 0 UID: 0 PID: 62 Comm: kworker/u8:5 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026
Workqueue: writeback wb_workfn (flush-7:7)
RIP: 0010:f2fs_dev_is_alloc_blocked fs/f2fs/segment.h:956 [inline]
RIP: 0010:get_new_segment fs/f2fs/segment.c:2964 [inline]
RIP: 0010:new_curseg+0x1134/0x3580 fs/f2fs/segment.c:3110
Code: e8 01 6c ce fd 48 8b 7c 24 30 48 8b 07 49 6b cf 70 4c 8d 34 08 49 83 c6 61 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 73 11 00 00 41 80 3e 00 0f 84 e6 00 00 00
RSP: 0018:ffffc9000203e608 EFLAGS: 00010216
RAX: 000000000000000c RBX: 0000000000008000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000008000 RDI: ffff8880784d1a88
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000407cb0 R12: ffff888035524000
R13: 0000000000000004 R14: 0000000000000061 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff888124cd2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f50c995523c CR3: 000000005b3b9000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 f2fs_allocate_data_block+0x229c/0x43c0 fs/f2fs/segment.c:3979
 do_write_page+0x13f/0x880 fs/f2fs/segment.c:4099
 f2fs_outplace_write_data+0x11a/0x220 fs/f2fs/segment.c:4175
 f2fs_do_write_data_page+0x1150/0x1540 fs/f2fs/data.c:3048
 f2fs_write_single_data_page+0x9cc/0x1840 fs/f2fs/data.c:3165
 f2fs_write_cache_pages fs/f2fs/data.c:3427 [inline]
 __f2fs_write_data_pages fs/f2fs/data.c:3603 [inline]
 f2fs_write_data_pages+0x1d2e/0x36f0 fs/f2fs/data.c:3641
 do_writepages+0x338/0x560 mm/page-writeback.c:2560
 __writeback_single_inode+0x136/0x1220 fs/fs-writeback.c:1788
 writeback_sb_inodes+0x9de/0x1b00 fs/fs-writeback.c:2099
 wb_writeback+0x41c/0xad0 fs/fs-writeback.c:2284
 wb_do_writeback fs/fs-writeback.c:2452 [inline]
 wb_workfn+0x431/0x10f0 fs/fs-writeback.c:2497
 process_one_work kernel/workqueue.c:3396 [inline]
 process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560
 kthread+0x38b/0x480 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:f2fs_dev_is_alloc_blocked fs/f2fs/segment.h:956 [inline]
RIP: 0010:get_new_segment fs/f2fs/segment.c:2964 [inline]
RIP: 0010:new_curseg+0x1134/0x3580 fs/f2fs/segment.c:3110
Code: e8 01 6c ce fd 48 8b 7c 24 30 48 8b 07 49 6b cf 70 4c 8d 34 08 49 83 c6 61 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 73 11 00 00 41 80 3e 00 0f 84 e6 00 00 00
RSP: 0018:ffffc9000203e608 EFLAGS: 00010216
RAX: 000000000000000c RBX: 0000000000008000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000008000 RDI: ffff8880784d1a88
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000407cb0 R12: ffff888035524000
R13: 0000000000000004 R14: 0000000000000061 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff888124cd2000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f50c995523c CR3: 000000005b3b9000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess):
   0:	e8 01 6c ce fd       	call   0xfdce6c06
   5:	48 8b 7c 24 30       	mov    0x30(%rsp),%rdi
   a:	48 8b 07             	mov    (%rdi),%rax
   d:	49 6b cf 70          	imul   $0x70,%r15,%rcx
  11:	4c 8d 34 08          	lea    (%rax,%rcx,1),%r14
  15:	49 83 c6 61          	add    $0x61,%r14
  19:	4c 89 f0             	mov    %r14,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	0f b6 04 08          	movzbl (%rax,%rcx,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 73 11 00 00    	jne    0x11a9
  36:	41 80 3e 00          	cmpb   $0x0,(%r14)
  3a:	0f 84 e6 00 00 00    	je     0x126

Crashes (172):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/10 01:49 upstream 50d05c7c76c9 4e8b1cc6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root general protection fault in new_curseg
2026/09/10 09:44 upstream 893e11787f78 4e8b1cc6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/10 08:40 upstream 893e11787f78 4e8b1cc6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/10 00:01 upstream 893e11787f78 4e8b1cc6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 21:20 upstream 893e11787f78 edec9137 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 19:59 upstream 893e11787f78 edec9137 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 18:47 upstream 893e11787f78 edec9137 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 16:13 upstream 893e11787f78 edec9137 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 12:02 upstream 893e11787f78 edec9137 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 09:58 upstream 5acbae5f7eb3 8387c273 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 07:11 upstream 5acbae5f7eb3 8387c273 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/09 04:08 upstream 5acbae5f7eb3 8387c273 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 15:15 upstream 28924df2a08f 351387c4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 13:50 upstream 28924df2a08f 351387c4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 07:34 upstream 28924df2a08f 680aa3e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 07:01 upstream 28924df2a08f 680aa3e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 05:57 upstream 28924df2a08f 680aa3e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 04:49 upstream 28924df2a08f 680aa3e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/08 02:03 upstream 28924df2a08f 680aa3e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/07 21:22 upstream df2908090cda 5e4626f5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/07 19:15 upstream df2908090cda 5e4626f5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/07 16:36 upstream df2908090cda 5e4626f5 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/07 02:25 upstream 1fc5a74b108f 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/06 21:09 upstream 1fc5a74b108f 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/06 13:19 upstream 9f0346dcbea3 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/06 11:48 upstream 9f0346dcbea3 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/06 10:14 upstream 9f0346dcbea3 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/06 08:21 upstream 9f0346dcbea3 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/06 04:55 upstream 9f0346dcbea3 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 20:19 upstream 4d7d9486c04d 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 18:37 upstream 4d7d9486c04d 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 17:30 upstream 4d7d9486c04d 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 16:21 upstream 4d7d9486c04d 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 10:00 upstream 654ae5d73c05 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 08:50 upstream 654ae5d73c05 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 06:37 upstream 654ae5d73c05 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 04:48 upstream 654ae5d73c05 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/05 01:55 upstream 654ae5d73c05 4f7b22a0 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 20:47 upstream bc35965f6940 44dda43b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 17:48 upstream bc35965f6940 44dda43b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 16:24 upstream bc35965f6940 44dda43b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 13:17 upstream bc35965f6940 44dda43b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 09:16 upstream 8ab1afb2eb24 801f0966 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 04:43 upstream 8ab1afb2eb24 801f0966 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/04 00:53 upstream 8ab1afb2eb24 801f0966 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/03 21:47 upstream 8ab1afb2eb24 a8a356ea .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/03 15:38 upstream 940de590b839 a8a356ea .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/03 08:00 upstream 940de590b839 6a988719 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/09/02 02:00 upstream 89a312991dc6 587f6b29 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/08/30 23:29 upstream a23cbb05744b 2f52988a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
2026/08/29 03:34 upstream cf72cbb39da8 2f52988a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root general protection fault in new_curseg
* Struck through repros no longer work on HEAD.