general protection fault in raid5_quiesce

Status: upstream: reported on 2026/09/23 05:05
Reported-by: syzbot+5b3a9d5dd8b896e6c0b0@syzkaller.appspotmail.com
First crash: 9d12h, last: 9d12h
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in raid5_quiesce raid prio:low 2 1 4d06h 6h25m 0/29 moderation: reported on 2026/10/02 10:59

Sample crash report:
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2a8382b038 R14: 00007f2a8382afa0 R15: 00007ffd82400238
 </TASK>
md/raid:md0: failed to run raid set.
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 5053 Comm: syz.2.279 Tainted: G    B             syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline]
RIP: 0010:do_raw_spin_lock+0x70/0x2f0 kernel/locking/spinlock_debug.c:114
Code: c7 44 24 30 b0 3f 5e 81 4c 8d 64 24 20 49 c1 ec 03 48 b8 f1 f1 f1 f1 f8 f3 f3 f3 49 89 04 14 4c 8d 77 04 4c 89 f0 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 ee 01 00 00 41 8b 06 3d ad 4e ad de 0f 85
RSP: 0018:ffffc9000336f800 EFLAGS: 00010003
RAX: 0000000000000001 RBX: 0000000000000008 RCX: 9d13af3f9384ba00
RDX: dffffc0000000000 RSI: ffffffff8a7a48a0 RDI: 0000000000000008
RBP: ffffc9000336f8b0 R08: ffffffff8d8b1eef R09: 1ffffffff1b163dd
R10: dffffc0000000000 R11: fffffbfff1b163de R12: 1ffff9200066df04
R13: 1ffff9200066df40 R14: 000000000000000c R15: dffffc0000000000
FS:  00007f2a817fb6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f147e0b9380 CR3: 000000001ffc1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:129 [inline]
 _raw_spin_lock_irq+0xb7/0xf0 kernel/locking/spinlock.c:170
 spin_lock_irq include/linux/spinlock.h:389 [inline]
 lock_all_device_hash_locks_irq drivers/md/raid5.c:96 [inline]
 raid5_quiesce+0xbd/0x790 drivers/md/raid5.c:-1
 mddev_resume+0x155/0x350 drivers/md/md.c:525
 level_store+0x1601/0x1a00 drivers/md/md.c:4174
 md_attr_store+0xdd/0x130 drivers/md/md.c:5643
 kernfs_fop_write_iter+0x3a8/0x500 fs/kernfs/file.c:296
 call_write_iter include/linux/fs.h:2179 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x748/0xd70 fs/read_write.c:594
 ksys_write+0x153/0x260 fs/read_write.c:647
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f2a835a3159
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:00007f2a817fb028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2a8382afa0 RCX: 00007f2a835a3159
RDX: 0000000000000005 RSI: 0000200000000300 RDI: 0000000000000005
RBP: 00007f2a8363a06b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2a8382b038 R14: 00007f2a8382afa0 R15: 00007ffd82400238
 </TASK>
Modules linked in:

---[ end trace 8867453e957814a5 ]---
RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:85 [inline]
RIP: 0010:do_raw_spin_lock+0x70/0x2f0 kernel/locking/spinlock_debug.c:114
Code: c7 44 24 30 b0 3f 5e 81 4c 8d 64 24 20 49 c1 ec 03 48 b8 f1 f1 f1 f1 f8 f3 f3 f3 49 89 04 14 4c 8d 77 04 4c 89 f0 48 c1 e8 03 <0f> b6 04 10 84 c0 0f 85 ee 01 00 00 41 8b 06 3d ad 4e ad de 0f 85
RSP: 0018:ffffc9000336f800 EFLAGS: 00010003

RAX: 0000000000000001 RBX: 0000000000000008 RCX: 9d13af3f9384ba00
RDX: dffffc0000000000 RSI: ffffffff8a7a48a0 RDI: 0000000000000008
RBP: ffffc9000336f8b0 R08: ffffffff8d8b1eef R09: 1ffffffff1b163dd
R10: dffffc0000000000 R11: fffffbfff1b163de R12: 1ffff9200066df04
R13: 1ffff9200066df40 R14: 000000000000000c R15: dffffc0000000000
FS:  00007f2a817fb6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f147e0b9380 CR3: 000000001ffc1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c7 44 24 30 b0 3f 5e 	movl   $0x815e3fb0,0x30(%rsp)
   7:	81
   8:	4c 8d 64 24 20       	lea    0x20(%rsp),%r12
   d:	49 c1 ec 03          	shr    $0x3,%r12
  11:	48 b8 f1 f1 f1 f1 f8 	movabs $0xf3f3f3f8f1f1f1f1,%rax
  18:	f3 f3 f3
  1b:	49 89 04 14          	mov    %rax,(%r12,%rdx,1)
  1f:	4c 8d 77 04          	lea    0x4(%rdi),%r14
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	0f b6 04 10          	movzbl (%rax,%rdx,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	0f 85 ee 01 00 00    	jne    0x224
  36:	41 8b 06             	mov    (%r14),%eax
  39:	3d ad 4e ad de       	cmp    $0xdead4ead,%eax
  3e:	0f                   	.byte 0xf
  3f:	85                   	.byte 0x85

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/23 05:04 linux-5.15.y 0248c33e835e 5207b90e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan general protection fault in raid5_quiesce
* Struck through repros no longer work on HEAD.