[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d65f52f-6dd8-4a4c-a797-6d999902ec74@acm.org>
Date: Thu, 20 Feb 2025 10:21:51 -0800
From: Bart Van Assche <bvanassche@....org>
To: Arthur Simchaev <arthur.simchaev@...disk.com>, martin.petersen@...cle.com
Cc: avri.altman@...disk.com, Avi.Shchislowski@...disk.com,
beanhuo@...ron.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH v3] ufs: core: bsg: Fix memory crash in case arpmb command
failed
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@....org>
Powered by blists - more mailing lists