Forwarded: [PATCH] Testing ppl_conf for a null pointer
From: syzbot
Date: Thu Sep 24 2026 - 11:03:09 EST
For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx, syzkaller-bugs@xxxxxxxxxxxxxxxx.
***
Subject: [PATCH] Testing ppl_conf for a null pointer
Author: nsvatoslav515@xxxxxxxxx
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 50d05c7c76c9
Signed-off-by: Svyatoslav Nikolenko <nsvatoslav515@xxxxxxxxx>
---
drivers/md/raid5-ppl.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/md/raid5-ppl.c b/drivers/md/raid5-ppl.c
index 7f8a9d3fd578..e54ed4e44b0f 100644
--- a/drivers/md/raid5-ppl.c
+++ b/drivers/md/raid5-ppl.c
@@ -535,6 +535,9 @@ void ppl_write_stripe_run(struct r5conf *conf)
struct ppl_log *log;
int i;
+ if (!ppl_conf)
+ return;
+
for (i = 0; i < ppl_conf->count; i++) {
log = &ppl_conf->child_logs[i];
--
2.47.3