[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174165505009.528513.9443974041520237075.b4-ty@oracle.com>
Date: Mon, 10 Mar 2025 21:19:02 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Shivasharan S <shivasharan.srikanteshwara@...adcom.com>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Sathya Prakash <sathya.prakash@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
Suganath Prabu Subramani <suganath-prabu.subramani@...adcom.com>,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
MPT-FusionLinux.pdl@...adcom.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] scsi: mpt3sas: Fix buffer overflow in mpt3sas_send_mctp_passthru_req()
On Fri, 28 Feb 2025 12:37:28 +0300, Dan Carpenter wrote:
> The "sz" argument in mpt3sas_check_cmd_timeout() is the number of u32,
> not the number of bytes. We dump that many u32 values to dmesg. Passing
> the number of bytes will lead to a read overflow. Divide by 4 to get the
> correct value.
>
>
Applied to 6.15/scsi-queue, thanks!
[1/1] scsi: mpt3sas: Fix buffer overflow in mpt3sas_send_mctp_passthru_req()
https://git.kernel.org/mkp/scsi/c/0711f1966a52
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists