diff options
| author | Sudeep Holla <sudeep.holla@kernel.org> | 2026-05-17 22:02:42 +0300 |
|---|---|---|
| committer | Sudeep Holla <sudeep.holla@kernel.org> | 2026-05-20 12:00:10 +0300 |
| commit | 32bc5496b48174dbca1f187f710955ee4d9527a1 (patch) | |
| tree | 7ee25bd5e6aed597f120c2c89f649a549de3c24f /include | |
| parent | 56e7e64cdd0e7209a58c8ec66028d63387402919 (diff) | |
| download | linux-32bc5496b48174dbca1f187f710955ee4d9527a1.tar.xz | |
firmware: arm_scmi: Validate SENSOR_UPDATE payload size
SENSOR_UPDATE carries one or more sensor readings after the fixed
notification header. The parser derives the expected reading count
from the sensor description, but it did not verify that the received
payload contains those entries before parsing them.
Reject truncated update notifications before reading the variable
array.
Link: https://patch.msgid.link/20260517-scmi_fixes-v1-3-d86daec4defd@kernel.org
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
