summaryrefslogtreecommitdiff
path: root/rust/zerocopy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2026-07-01 21:12:36 -0700
committerPaolo Abeni <pabeni@redhat.com>2026-07-09 10:35:54 +0200
commit2e2a83b4998af4384e677d3b2ac08565274279bf (patch)
tree98f5e6830f439007b53bdce4ee00bf02b8da7837 /rust/zerocopy/git@git.tavy.me:linux-stable.git
parentf4ef35efbb49527293309f668ea73ec5de9b8e7a (diff)
net: mana: Validate the packet length reported by the NIC
Validate the packet length reported in the RX CQE before passing it to skb processing. The CQE is supplied by the NIC device and should not be blindly trusted. Cc: stable@vger.kernel.org Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Fixes: ca9c54d2d6a5 ("net: mana: Add a driver for Microsoft Azure Network Adapter (MANA)") Link: https://patch.msgid.link/20260702041237.617719-2-decui@microsoft.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions