aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorDavid Collins <[email protected]>2022-09-29 17:50:17 -0700
committerGreg Kroah-Hartman <[email protected]>2022-09-30 14:33:23 +0200
commitc8669773c74e26ceb2412215a2db40399e3fe119 (patch)
treea3f52f7d001fa530e0814aaa706b0f9baa65f04f /lib/mpi/mpi-sub-ui.c
parent1f1693118c2476cb1666ad357edcf3cf48bf9b16 (diff)
spmi: pmic-arb: block access for invalid PMIC arbiter v5 SPMI writes
The system crashes due to an access permission violation when writing to a PMIC peripheral which is not owned by the current ee. Add a check for PMIC arbiter version 5 for such invalid write requests and return an error instead of crashing the system. Signed-off-by: David Collins <[email protected]> Signed-off-by: Fenglin Wu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions