From: Bart Van Assche <bvanassche@acm.org>
To: Arthur Simchaev <arthur.simchaev@sandisk.com>,
martin.petersen@oracle.com
Cc: avri.altman@sandisk.com, Avi.Shchislowski@sandisk.com,
beanhuo@micron.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH v3] ufs: core: bsg: Fix memory crash in case arpmb command failed
Date: Thu, 20 Feb 2025 10:21:51 -0800 [thread overview]
Message-ID: <3d65f52f-6dd8-4a4c-a797-6d999902ec74@acm.org> (raw)
In-Reply-To: <20250220142039.250992-1-arthur.simchaev@sandisk.com>
On 2/20/25 6:20 AM, Arthur Simchaev wrote:
> In case the device doesn't support arpmb, the kernel get memory crash
> due to copy user data in bsg_transport_sg_io_fn level. So in case
> ufs_bsg_exec_advanced_rpmb_req returned error, do not set the job's
> reply_len.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
next prev parent reply other threads:[~2025-02-20 18:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 14:20 [PATCH v3] ufs: core: bsg: Fix memory crash in case arpmb command failed Arthur Simchaev
2025-02-20 18:21 ` Bart Van Assche [this message]
2025-02-21 3:27 ` Martin K. Petersen
-- strict thread matches above, loose matches on Subject: below --
2025-02-20 14:18 Arthur Simchaev
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=3d65f52f-6dd8-4a4c-a797-6d999902ec74@acm.org \
--to=bvanassche@acm.org \
--cc=Avi.Shchislowski@sandisk.com \
--cc=arthur.simchaev@sandisk.com \
--cc=avri.altman@sandisk.com \
--cc=beanhuo@micron.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=stable@vger.kernel.org \
/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