diff options
author | Cristian Marussi <cristian.marussi@arm.com> | 2022-12-22 19:38:21 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2023-01-03 17:50:30 +0100 |
commit | 9bae076cd4e3e3c3dc185cae829d80b2dddec86e (patch) | |
tree | 633bd55153a6ce693c11d69d7dcb93b9518103cf /drivers/firmware/dmi-sysfs.c | |
parent | firmware: arm_scmi: Harden shared memory access in fetch_response (diff) | |
download | linux-9bae076cd4e3e3c3dc185cae829d80b2dddec86e.tar.xz linux-9bae076cd4e3e3c3dc185cae829d80b2dddec86e.zip |
firmware: arm_scmi: Harden shared memory access in fetch_notification
A misbheaving SCMI platform firmware could reply with out-of-spec
notifications, shorter than the mimimum size comprising a header.
Fixes: d5141f37c42e ("firmware: arm_scmi: Add notifications support in transport layer")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20221222183823.518856-4-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/dmi-sysfs.c')
0 files changed, 0 insertions, 0 deletions