From: sashiko-bot@kernel.org
To: "Jesse Taube" <jtaubepe@redhat.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] qedf: Fix use-after-free in qedf_xmit error path
Date: Tue, 24 Nov 2026 15:10:14 +0000 [thread overview]
Message-ID: <sashiko-outbox-231392@kernel.org> (raw)
In-Reply-To: <20261124150103.166306-1-jtaubepe@redhat.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] scsi: qedf: missing Fixes: trailer for qedf_xmit()
use-after-free fix
--
commit 836b89bd048da8c05c1796d7b58ad9a04dabef00
Author: Jesse Taube <jtaubepe@redhat.com>
> qedf: Fix use-after-free in qedf_xmit error path
>
> In one of the error paths in qedf_xmit, we were freeing the skb and then
> accessing the Fibre Channel frame header destination ID field stored
> in the skb. Save d_id from the skb before freeing it to avoid a
> use-after-free.
>
> Signed-off-by: Jesse Taube <jtaubepe@redhat.com>
[Severity: Low]
This fixes a use-after-free that has been present since the driver was
introduced. Should this include:
Fixes: 61d8658b4a43 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261124150103.166306-1-jtaubepe@redhat.com?part=1
prev parent reply other threads:[~2026-11-24 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 15:01 [PATCH] qedf: Fix use-after-free in qedf_xmit error path Jesse Taube
2026-11-24 15:10 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-231392@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=jtaubepe@redhat.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.