lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174010841900.1417860.9136632960046999013.b4-ty@oracle.com>
Date: Thu, 20 Feb 2025 22:27:24 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Arthur Simchaev <arthur.simchaev@...disk.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
        avri.altman@...disk.com, Avi.Shchislowski@...disk.com,
        beanhuo@...ron.com, linux-scsi@...r.kernel.org,
        linux-kernel@...r.kernel.org, bvanassche@....org,
        stable@...r.kernel.org
Subject: Re: [PATCH v3] ufs: core: bsg: Fix memory crash in case arpmb command failed

On Thu, 20 Feb 2025 16:20:39 +0200, 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.
> 
> Memory crash backtrace:
> 3,1290,531166405,-;ufshcd 0000:00:12.5: ARPMB OP failed: error code -22
> 
> [...]

Applied to 6.14/scsi-fixes, thanks!

[1/1] ufs: core: bsg: Fix memory crash in case arpmb command failed
      https://git.kernel.org/mkp/scsi/c/f27a95845b01

-- 
Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ