patch 'net/intel: fix overflow on store of single-queue settings' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:00:39 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/7b4b496762ed82e7c9c707fcc9825c2978b4097b
Thanks.
Kevin
---
>From 7b4b496762ed82e7c9c707fcc9825c2978b4097b 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/intel/cpfl/cpfl_ethdev.c | 4 ++--
drivers/net/intel/idpf/idpf_ethdev.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/intel/cpfl/cpfl_ethdev.c b/drivers/net/intel/cpfl/cpfl_ethdev.c
index 8c7a7fd16c..eb46a9f07a 100644
--- a/drivers/net/intel/cpfl/cpfl_ethdev.c
+++ b/drivers/net/intel/cpfl/cpfl_ethdev.c
@@ -1449,5 +1449,5 @@ static int
parse_bool(const char *key, const char *value, void *args)
{
- int *i = args;
+ bool *i = args;
char *end;
int num;
@@ -1463,5 +1463,5 @@ parse_bool(const char *key, const char *value, void *args)
}
- *i = num;
+ *i = (num == 1);
return 0;
}
diff --git a/drivers/net/intel/idpf/idpf_ethdev.c b/drivers/net/intel/idpf/idpf_ethdev.c
index 1199ef0e44..b31fa6c868 100644
--- a/drivers/net/intel/idpf/idpf_ethdev.c
+++ b/drivers/net/intel/idpf/idpf_ethdev.c
@@ -956,5 +956,5 @@ static int
parse_bool(const char *key, const char *value, void *args)
{
- int *i = args;
+ bool *i = args;
char *end;
int num;
@@ -970,5 +970,5 @@ parse_bool(const char *key, const char *value, void *args)
}
- *i = num;
+ *i = (num == 1);
return 0;
}
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:42.502038694 +0000
+++ 0113-net-intel-fix-overflow-on-store-of-single-queue-sett.patch 2026-12-03 12:52:39.109262951 +0000
@@ -1 +1 @@
-From 94ddc048ba84402f7509cfe9704896eba6666388 Mon Sep 17 00:00:00 2001
+From 7b4b496762ed82e7c9c707fcc9825c2978b4097b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 94ddc048ba84402f7509cfe9704896eba6666388 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 5a890f8131..32e0f81d99 100644
+index 8c7a7fd16c..eb46a9f07a 100644
@@ -27 +28 @@
-@@ -1562,5 +1562,5 @@ static int
+@@ -1449,5 +1449,5 @@ static int
@@ -34 +35 @@
-@@ -1576,5 +1576,5 @@ parse_bool(const char *key, const char *value, void *args)
+@@ -1463,5 +1463,5 @@ parse_bool(const char *key, const char *value, void *args)
@@ -42 +43 @@
-index 965de4ed9d..e9e9781fdd 100644
+index 1199ef0e44..b31fa6c868 100644
@@ -45 +46 @@
-@@ -1248,5 +1248,5 @@ static int
+@@ -956,5 +956,5 @@ static int
@@ -52 +53 @@
-@@ -1262,5 +1262,5 @@ parse_bool(const char *key, const char *value, void *args)
+@@ -970,5 +970,5 @@ parse_bool(const char *key, const char *value, void *args)
More information about the stable
mailing list