Skip to content
Commit 194d97ca authored by Wei-Chia Su's avatar Wei-Chia Su Committed by Wei-Chia Su
Browse files

module/scmi_system_power: Handle unsupported SCMI message



In the SCMI handler table, unsupported messages are indicated by leaving the
corresponding function pointer unassigned. However, there is no validation
check on entry which leads to potential null pointer dereference while handling
message. This change explicitly initializes the handler table and validates
entry in runtime to determine whether a given message is supported.

This change addresses the security vulnerability (CVE-2024-11864).

Signed-off-by: default avatarWei-Chia Su <Wei-Chia.Su@arm.com>
parent b5bcacb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment