patch 'net/ixgbe/base: fix PF link state request size' has been queued to stable release 24.11.4
Kevin Traynor
ktraynor at redhat.com
Fri Nov 21 12:20:53 CET 2025
Hi,
FYI, your patch has been queued to stable release 24.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/26/25. 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/47b00e6f6ad34672a136383757d48c09320a73a3
Thanks.
Kevin
---
>From 47b00e6f6ad34672a136383757d48c09320a73a3 Mon Sep 17 00:00:00 2001
From: Andrzej Wilczynski <andrzejx.wilczynski at intel.com>
Date: Mon, 10 Nov 2025 13:55:39 +0000
Subject: [PATCH] net/ixgbe/base: fix PF link state request size
[ upstream commit 82ff0aa59735fefa6e9e9daf77ea87da5b68fabd ]
Currently, when requesting PF link state over VF mailbox, the buffer sized
3 dwords is allocated. However, the `ixgbevf_write_msg_read_ack` function
is actually called with buffer size of 6 dwords. This leaves an admittedly
remote possibility of buffer overrun. Fix by adjusting requested size to 3.
Bugzilla ID: 1801
Fixes: adbd71030575 ("net/ixgbe/base: fix link status for E610")
Signed-off-by: Andrzej Wilczynski <andrzejx.wilczynski at intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/ixgbe/base/ixgbe_vf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_vf.c b/drivers/net/ixgbe/base/ixgbe_vf.c
index 46a62bb851..eb16fb1942 100644
--- a/drivers/net/ixgbe/base/ixgbe_vf.c
+++ b/drivers/net/ixgbe/base/ixgbe_vf.c
@@ -483,5 +483,5 @@ int ixgbevf_get_pf_link_state(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
msgbuf[0] = IXGBE_VF_GET_PF_LINK_STATE;
- err = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 6);
+ err = ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, 3);
if (err || (msgbuf[0] & IXGBE_VT_MSGTYPE_FAILURE)) {
err = IXGBE_ERR_MBX;
--
2.51.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-11-21 11:05:11.731398215 +0000
+++ 0069-net-ixgbe-base-fix-PF-link-state-request-size.patch 2025-11-21 11:05:09.546201523 +0000
@@ -1 +1 @@
-From 82ff0aa59735fefa6e9e9daf77ea87da5b68fabd Mon Sep 17 00:00:00 2001
+From 47b00e6f6ad34672a136383757d48c09320a73a3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 82ff0aa59735fefa6e9e9daf77ea87da5b68fabd ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
- drivers/net/intel/ixgbe/base/ixgbe_vf.c | 2 +-
+ drivers/net/ixgbe/base/ixgbe_vf.c | 2 +-
@@ -22 +23 @@
-diff --git a/drivers/net/intel/ixgbe/base/ixgbe_vf.c b/drivers/net/intel/ixgbe/base/ixgbe_vf.c
+diff --git a/drivers/net/ixgbe/base/ixgbe_vf.c b/drivers/net/ixgbe/base/ixgbe_vf.c
@@ -24,2 +25,2 @@
---- a/drivers/net/intel/ixgbe/base/ixgbe_vf.c
-+++ b/drivers/net/intel/ixgbe/base/ixgbe_vf.c
+--- a/drivers/net/ixgbe/base/ixgbe_vf.c
++++ b/drivers/net/ixgbe/base/ixgbe_vf.c
More information about the stable
mailing list