diff options
| author | 2026-04-28 19:33:35 +0100 | |
|---|---|---|
| committer | 2026-05-05 16:42:49 +0100 | |
| commit | a6848a50404eefb6f0b131c21881a2d8d21b31a9 (patch) | |
| tree | cdd32bacb8047d15848565dd123368b8403a72cf /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | firmware: arm_ffa: Snapshot notifier callbacks under lock (diff) | |
firmware: arm_ffa: Fix sched-recv callback partition lookup
ffa_sched_recv_cb_update() used list_for_each_entry_safe() to search for
a matching partition and then tested the iterator against NULL. That is
not a valid end-of-list check for circular lists and can fall through
with an invalid pointer. Use a normal iterator and detect the not-found
case correctly before touching the partition state.
Fixes: be61da938576 ("firmware: arm_ffa: Allow multiple UUIDs per partition to register SRI callback")
Link: https://patch.msgid.link/20260428-ffa_fixes-v2-11-8595ae450034@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
