general protection fault in md_handle_request

Status: moderation: reported on 2026/08/25 00:03
Subsystems: raid
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+39eb84b5b32e7743e6c9@syzkaller.appspotmail.com
First crash: 8d17h, last: 8d17h
✨ AI Jobs (3)
ID Workflow Result Correct Bug Created Started Finished Revision
c149739f repro-c Reproduced: ✅ general protection fault in md_handle_request 2026/08/27 19:17 2026/08/27 19:42 2026/08/27 20:48 bd6de8ec
f54a6241 repro-c Reproduced: ✅ general protection fault in md_handle_request 2026/08/25 12:32 2026/08/25 12:32 2026/08/25 12:49 4eb7b671
fab348d6 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ✅ VMHostTrigger: ❌ general protection fault in md_handle_request 2026/08/22 00:14 2026/08/22 00:14 2026/08/22 01:08 1e72964b
Last patch testing requests (2)
Created Duration User Patch Repo Result
2026/08/26 09:22 12m nogikh@google.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 818bebeb63dd6bf5f4e07e145f6cdbace520a34c report job log log
2026/08/25 12:52 21m nogikh@google.com upstream error job log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 0 UID: 0 PID: 18351 Comm: syz.7.2889 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:md_handle_request+0xae2/0xe60 drivers/md/md.c:417
Code: 24 90 00 00 00 48 8b 84 24 a8 00 00 00 42 80 3c 20 00 74 08 48 89 df e8 dc 43 a4 f9 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 bf 43 a4 f9 4c 8b 1b 48 8b bc 24
RSP: 0018:ffffc90004237580 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: 0000000000080000
RDX: ffffc9002361c000 RSI: 0000000000000603 RDI: 0000000000000604
RBP: ffffc90004237738 R08: 5e00000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8ed5ca60 R12: dffffc0000000000
R13: 1ffff92000846f68 R14: ffff88801df540c8 R15: ffff88801df54238
FS:  00007fe90d9836c0(0000) GS:ffff888124cda000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f18f65eb7c0 CR3: 000000008e500000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __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:1580 [inline]
 submit_bio_wait+0x12a/0x250 block/bio.c:1598
 __blkdev_direct_IO_simple block/fops.c:98 [inline]
 blkdev_direct_IO+0x1104/0x17b0 block/fops.c:429
 blkdev_direct_write+0x7c/0x140 block/fops.c:699
 blkdev_write_iter+0x52d/0x700 block/fops.c:767
 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:0x7fe90cb9e0d9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe90d983028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007fe90ce26360 RCX: 00007fe90cb9e0d9
RDX: 0000000000001000 RSI: 0000200000001000 RDI: 0000000000000003
RBP: 00007fe90cc35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe90ce263f8 R14: 00007fe90ce26360 R15: 00007ffca569d1f8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:md_handle_request+0xae2/0xe60 drivers/md/md.c:417
Code: 24 90 00 00 00 48 8b 84 24 a8 00 00 00 42 80 3c 20 00 74 08 48 89 df e8 dc 43 a4 f9 48 8b 1b 48 83 c3 18 48 89 d8 48 c1 e8 03 <42> 80 3c 20 00 74 08 48 89 df e8 bf 43 a4 f9 4c 8b 1b 48 8b bc 24
RSP: 0018:ffffc90004237580 EFLAGS: 00010206
RAX: 0000000000000003 RBX: 0000000000000018 RCX: 0000000000080000
RDX: ffffc9002361c000 RSI: 0000000000000603 RDI: 0000000000000604
RBP: ffffc90004237738 R08: 5e00000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8ed5ca60 R12: dffffc0000000000
R13: 1ffff92000846f68 R14: ffff88801df540c8 R15: ffff88801df54238
FS:  00007fe90d9836c0(0000) GS:ffff888124cda000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3011303000 CR3: 000000008e500000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
   0:	24 90                	and    $0x90,%al
   2:	00 00                	add    %al,(%rax)
   4:	00 48 8b             	add    %cl,-0x75(%rax)
   7:	84 24 a8             	test   %ah,(%rax,%rbp,4)
   a:	00 00                	add    %al,(%rax)
   c:	00 42 80             	add    %al,-0x80(%rdx)
   f:	3c 20                	cmp    $0x20,%al
  11:	00 74 08 48          	add    %dh,0x48(%rax,%rcx,1)
  15:	89 df                	mov    %ebx,%edi
  17:	e8 dc 43 a4 f9       	call   0xf9a443f8
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 18          	add    $0x18,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 bf 43 a4 f9       	call   0xf9a443f8
  39:	4c 8b 1b             	mov    (%rbx),%r11
  3c:	48                   	rex.W
  3d:	8b                   	.byte 0x8b
  3e:	bc                   	.byte 0xbc
  3f:	24                   	.byte 0x24

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/20 23:45 linux-next 7079a12d7506 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root general protection fault in md_handle_request
* Struck through repros no longer work on HEAD.