mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
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:
|
History
|
|
|---|---|---|
| .. | ||
| bus.c | ||
| common.h | ||
| driver.c | ||
| Kconfig | ||
| Makefile | ||
| smccc.c | ||