From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: "James E . J . Bottomley" <jejb@linux.ibm.com>,
Varun Prakash <varun@chelsio.com>,
linux-scsi@vger.kernel.org, Colin King <colin.king@canonical.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH][next] scsi: cxgb4i: fix dereference of pointer tdata before it is null checked
Date: Tue, 14 Jul 2020 00:58:39 -0400 [thread overview]
Message-ID: <159470266467.11195.3151931908467404359.b4-ty@oracle.com> (raw)
In-Reply-To: <20200709135217.1408105-1-colin.king@canonical.com>
On Thu, 9 Jul 2020 14:52:17 +0100, Colin King wrote:
> Currently pointer tdata is being dereferenced on the initialization of
> pointer skb before tdata is null checked. This could lead to a potential
> null pointer dereference. Fix this by dereferencing tdata after tdata
> has been null pointer sanity checked.
Applied to 5.9/scsi-queue, thanks!
[1/1] scsi: cxgb4i: Fix dereference of pointer tdata before it is null checked
https://git.kernel.org/mkp/scsi/c/b92a4a9f7be8
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2020-07-14 4:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 13:52 [PATCH][next] scsi: cxgb4i: fix dereference of pointer tdata before it is null checked Colin King
2020-07-13 16:05 ` Varun Prakash
2020-07-14 4:58 ` Martin K. Petersen [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=159470266467.11195.3151931908467404359.b4-ty@oracle.com \
--to=martin.petersen@oracle.com \
--cc=colin.king@canonical.com \
--cc=jejb@linux.ibm.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=varun@chelsio.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).