diff options
author | 2023-01-09 23:15:08 +0100 | |
---|---|---|
committer | 2023-01-09 23:15:08 +0100 | |
commit | a316877372f4f3062b132437cbc16f2fab8cc4c5 (patch) | |
tree | 7bfff49d36c4d184a1dd744581434be1e28a9142 /lib/parser.c | |
parent | Merge tag 'memory-controller-drv-fixes-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/fixes (diff) | |
parent | firmware: arm_scmi: Fix virtio channels cleanup on shutdown (diff) | |
download | linux-rng-a316877372f4f3062b132437cbc16f2fab8cc4c5.tar.xz linux-rng-a316877372f4f3062b132437cbc16f2fab8cc4c5.zip |
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 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions