diff options
author | Dmitry Baryshkov <[email protected]> | 2024-06-22 01:03:40 +0300 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2024-06-23 22:41:39 -0500 |
commit | 107924c14e3ddd85119ca43c26a4ee1056fa9b84 (patch) | |
tree | 6036c83369aa317ff8eb46549d22b7bdc4ecbc42 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
soc: qcom: pdr: protect locator_addr with the main mutex
If the service locator server is restarted fast enough, the PDR can
rewrite locator_addr fields concurrently. Protect them by placing
modification of those fields under the main pdr->lock.
Fixes: fbe639b44a82 ("soc: qcom: Introduce Protection Domain Restart helpers")
Tested-by: Neil Armstrong <[email protected]> # on SM8550-QRD
Tested-by: Steev Klimaszewski <[email protected]>
Tested-by: Alexey Minnekhanov <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions