From: Arnd Bergmann Date: Mon, 9 Jan 2023 22:15:08 +0000 (+0100) Subject: Merge tag 'scmi-fixes-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep... X-Git-Tag: v6.2-rc5~20^2~14 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a316877372f4f3062b132437cbc16f2fab8cc4c5;p=tomoyo%2Ftomoyo-test1.git Merge tag 'scmi-fixes-6.2' of git://git./linux/kernel/git/sudeep.holla/linux into arm/fixes Arm SCMI fixes for v6.2 Few fixes addressing: 1. Possible compromise with the shorter message size from a misbheaving SCMI platform firmware. The shmem accesses are now hardened to handle the same in fetch_notification and fetch_response. 2. Possible unsafe locking scenario which is solved by calling virtio_break_device() before getting hold of vioch->lock. 3. Possible stale error status reported from a previous message being used again as it is not cleared. * tag 'scmi-fixes-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux: firmware: arm_scmi: Fix virtio channels cleanup on shutdown firmware: arm_scmi: Harden shared memory access in fetch_notification firmware: arm_scmi: Harden shared memory access in fetch_response firmware: arm_scmi: Clear stale xfer->hdr.status Link: https://lore.kernel.org/r/20230106093909.652657-1-sudeep.holla@arm.com Signed-off-by: Arnd Bergmann --- a316877372f4f3062b132437cbc16f2fab8cc4c5