general protection fault in _wait_barrier

Status: upstream: reported C repro on 2026/08/27 18:52
Labels: prio:normal
[Documentation on labels]
Reported-by: syzbot+3fe892ea5fc292e1353f@syzkaller.appspotmail.com
First crash: 16d, last: 6d10h
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
697efba2 assessment-security DenialOfService: ✅ Exploitable: ✅ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ general protection fault in _wait_barrier 2026/08/26 10:29 2026/08/26 10:29 2026/08/26 10:53 ee98d2fd
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] md/raid1: prevent a race between write and stop request 3 (3) 2026/08/28 14:27
[syzbot] general protection fault in _wait_barrier 1 (3) 2026/08/28 10:13
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/08/28 09:25 46m eadavis@sina.com patch git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 818bebeb63dd OK job log log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000024: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000120-0x0000000000000127]
CPU: 0 UID: 0 PID: 6034 Comm: syz-executor425 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:_wait_barrier+0x95/0x6a0 drivers/md/raid1.c:1066
Code: 44 25 00 48 b8 f8 f3 f3 f3 f3 f3 f3 f3 4b 89 44 25 08 e8 5e f8 43 f9 4d 8d b7 20 01 00 00 4c 89 f0 48 c1 e8 03 48 89 44 24 38 <42> 80 3c 20 00 74 08 4c 89 f7 e8 5c 21 b4 f9 4c 89 74 24 30 4d 8b
RSP: 0018:ffffc90002e97100 EFLAGS: 00010206
RAX: 0000000000000024 RBX: 0000000000000000 RCX: ffff888076eb3e80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e97230 R08: ffff8880258d6037 R09: 1ffff11004b1ac06
R10: dffffc0000000000 R11: ffffed1004b1ac07 R12: dffffc0000000000
R13: 1ffff920005d2e2c R14: 0000000000000120 R15: 0000000000000000
FS:  00007fef408f66c0(0000) GS:ffff888124cc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f856b7a2286 CR3: 0000000076cc0000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 wait_barrier drivers/md/raid1.c:1154 [inline]
 raid1_write_request drivers/md/raid1.c:1506 [inline]
 raid1_make_request+0x6c8/0x3470 drivers/md/raid1.c:1696
 md_handle_request+0xb05/0xe60 drivers/md/md.c:417
 __submit_bio+0x27f/0x340 block/blk-core.c:681
 __submit_bio_noacct block/blk-core.c:724 [inline]
 submit_bio_noacct_nocheck+0x4e8/0xa40 block/blk-core.c:792
 bio_await block/bio.c:1581 [inline]
 submit_bio_wait+0x12a/0x250 block/bio.c:1599
 __blkdev_direct_IO_simple block/fops.c:99 [inline]
 blkdev_direct_IO+0x1104/0x17b0 block/fops.c:430
 blkdev_direct_write+0x7c/0x140 block/fops.c:700
 blkdev_write_iter+0x52d/0x700 block/fops.c:768
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_pwrite64 fs/read_write.c:794 [inline]
 __do_sys_pwrite64 fs/read_write.c:802 [inline]
 __se_sys_pwrite64 fs/read_write.c:799 [inline]
 __x64_sys_pwrite64+0x196/0x220 fs/read_write.c:799
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fef4094d37e
Code: 08 0f 85 e5 e2 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 90 41 57 41 56 4d 89 c6 41 55 4d 89 cd 41 54 55 53 48 83 ec 08
RSP: 002b:00007fef408f6128 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007fef408f66c0 RCX: 00007fef4094d37e
RDX: 0000000000001000 RSI: 00005555745dd000 RDI: 0000000000000006
RBP: 0000000000000021 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffd0
R13: 0000000000000000 R14: 00007ffcd858b9e0 R15: 00007ffcd858bac8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:_wait_barrier+0x95/0x6a0 drivers/md/raid1.c:1066
Code: 44 25 00 48 b8 f8 f3 f3 f3 f3 f3 f3 f3 4b 89 44 25 08 e8 5e f8 43 f9 4d 8d b7 20 01 00 00 4c 89 f0 48 c1 e8 03 48 89 44 24 38 <42> 80 3c 20 00 74 08 4c 89 f7 e8 5c 21 b4 f9 4c 89 74 24 30 4d 8b
RSP: 0018:ffffc90002e97100 EFLAGS: 00010206
RAX: 0000000000000024 RBX: 0000000000000000 RCX: ffff888076eb3e80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e97230 R08: ffff8880258d6037 R09: 1ffff11004b1ac06
R10: dffffc0000000000 R11: ffffed1004b1ac07 R12: dffffc0000000000
R13: 1ffff920005d2e2c R14: 0000000000000120 R15: 0000000000000000
FS:  00007fef408f66c0(0000) GS:ffff888124cc0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2e6487e6c8 CR3: 0000000076cc0000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	44 25 00 48 b8 f8    	rex.R and $0xf8b84800,%eax
   6:	f3 f3 f3 f3 f3 f3 f3 	repz repz repz repz repz repz xrelease mov %rax,0x8(%r13,%r12,1)
   d:	4b 89 44 25 08
  12:	e8 5e f8 43 f9       	call   0xf943f875
  17:	4d 8d b7 20 01 00 00 	lea    0x120(%r15),%r14
  1e:	4c 89 f0             	mov    %r14,%rax
  21:	48 c1 e8 03          	shr    $0x3,%rax
  25:	48 89 44 24 38       	mov    %rax,0x38(%rsp)
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 5c 21 b4 f9       	call   0xf9b42195
  39:	4c 89 74 24 30       	mov    %r14,0x30(%rsp)
  3e:	4d                   	rex.WRB
  3f:	8b                   	.byte 0x8b

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/05 10:47 git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 9d80aa4617b3 1e72964b .config console log report C ci-upstream-linux-next-kasan-gce-root general protection fault in _wait_barrier
2026/08/26 10:29 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 818bebeb63dd 1e72964b .config console log report C ci-qemu-upstream general protection fault in _wait_barrier
* Struck through repros no longer work on HEAD.