diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-01-09 23:15:08 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2023-01-09 23:15:08 +0100 |
commit | a316877372f4f3062b132437cbc16f2fab8cc4c5 (patch) | |
tree | 7bfff49d36c4d184a1dd744581434be1e28a9142 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | dc43354cb7689642f53a044e76509fa7e9a028d4 (diff) | |
parent | e325285de2cd82fbdcc4df8898e4c6a597674816 (diff) |
Merge tag 'scmi-fixes-6.2' of git://git.kernel.org/pub/scm/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 <arnd@arndb.de>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions