patch 'net/intel: fix overflow on store of single-queue settings' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:49:46 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/78894543cd72045901e8991902aae964897057ce

Thanks.

Luca Boccassi

---
>From 78894543cd72045901e8991902aae964897057ce Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Mon, 14 Sep 2026 17:22:33 +0100
Subject: [PATCH] net/intel: fix overflow on store of single-queue settings

[ upstream commit 94ddc048ba84402f7509cfe9704896eba6666388 ]

The Rx and Tx single queue settings in idpf and cpfl drivers are both
boolean values, but the parse_bool function writes to them as int. This
causes an extra 3 bytes to be written beyond the variable itself.  Fix
by changing store type to bool.

Bugzilla ID: 2042
Fixes: 549343c25db8 ("net/idpf: support device initialization")
Fixes: 2d823ecd671c ("net/cpfl: support device initialization")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Praveen Shetty <praveen.shetty at intel.com>
---
 drivers/net/cpfl/cpfl_ethdev.c | 4 ++--
 drivers/net/idpf/idpf_ethdev.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
index cb19ff93ee3..8de603ed2d3 100644
--- a/drivers/net/cpfl/cpfl_ethdev.c
+++ b/drivers/net/cpfl/cpfl_ethdev.c
@@ -1449,7 +1449,7 @@ parse_vport(const char *key, const char *value, void *args)
 static int
 parse_bool(const char *key, const char *value, void *args)
 {
-	int *i = args;
+	bool *i = args;
 	char *end;
 	int num;
 
@@ -1463,7 +1463,7 @@ parse_bool(const char *key, const char *value, void *args)
 		return -EINVAL;
 	}
 
-	*i = num;
+	*i = (num == 1);
 	return 0;
 }
 
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index d0034b7ab81..e0a02e128c5 100644
--- a/drivers/net/idpf/idpf_ethdev.c
+++ b/drivers/net/idpf/idpf_ethdev.c
@@ -951,7 +951,7 @@ parse_vport(const char *key, const char *value, void *args)
 static int
 parse_bool(const char *key, const char *value, void *args)
 {
-	int *i = args;
+	bool *i = args;
 	char *end;
 	int num;
 
@@ -965,7 +965,7 @@ parse_bool(const char *key, const char *value, void *args)
 		return -EINVAL;
 	}
 
-	*i = num;
+	*i = (num == 1);
 	return 0;
 }
 
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:43:57.279604510 +0000
+++ 0092-net-intel-fix-overflow-on-store-of-single-queue-sett.patch	2026-10-27 11:43:53.614062544 +0000
@@ -1 +1 @@
-From 94ddc048ba84402f7509cfe9704896eba6666388 Mon Sep 17 00:00:00 2001
+From 78894543cd72045901e8991902aae964897057ce Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 94ddc048ba84402f7509cfe9704896eba6666388 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -19,2 +20,2 @@
- drivers/net/intel/cpfl/cpfl_ethdev.c | 4 ++--
- drivers/net/intel/idpf/idpf_ethdev.c | 4 ++--
+ drivers/net/cpfl/cpfl_ethdev.c | 4 ++--
+ drivers/net/idpf/idpf_ethdev.c | 4 ++--
@@ -23,5 +24,5 @@
-diff --git a/drivers/net/intel/cpfl/cpfl_ethdev.c b/drivers/net/intel/cpfl/cpfl_ethdev.c
-index 5a890f8131..32e0f81d99 100644
---- a/drivers/net/intel/cpfl/cpfl_ethdev.c
-+++ b/drivers/net/intel/cpfl/cpfl_ethdev.c
-@@ -1561,7 +1561,7 @@ parse_vport(const char *key, const char *value, void *args)
+diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c
+index cb19ff93ee3..8de603ed2d3 100644
+--- a/drivers/net/cpfl/cpfl_ethdev.c
++++ b/drivers/net/cpfl/cpfl_ethdev.c
+@@ -1449,7 +1449,7 @@ parse_vport(const char *key, const char *value, void *args)
@@ -36 +37 @@
-@@ -1575,7 +1575,7 @@ parse_bool(const char *key, const char *value, void *args)
+@@ -1463,7 +1463,7 @@ parse_bool(const char *key, const char *value, void *args)
@@ -45,5 +46,5 @@
-diff --git a/drivers/net/intel/idpf/idpf_ethdev.c b/drivers/net/intel/idpf/idpf_ethdev.c
-index 965de4ed9d..e9e9781fdd 100644
---- a/drivers/net/intel/idpf/idpf_ethdev.c
-+++ b/drivers/net/intel/idpf/idpf_ethdev.c
-@@ -1247,7 +1247,7 @@ parse_vport(const char *key, const char *value, void *args)
+diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
+index d0034b7ab81..e0a02e128c5 100644
+--- a/drivers/net/idpf/idpf_ethdev.c
++++ b/drivers/net/idpf/idpf_ethdev.c
+@@ -951,7 +951,7 @@ parse_vport(const char *key, const char *value, void *args)
@@ -58 +59 @@
-@@ -1261,7 +1261,7 @@ parse_bool(const char *key, const char *value, void *args)
+@@ -965,7 +965,7 @@ parse_bool(const char *key, const char *value, void *args)


More information about the stable mailing list