opp_get_notifier() needs to be under rcu_lock?
Quoted 10 lines
Hi,
It looks like
find_device_opp()(called fromopp_get_notifier()) needs to be under RCU read lock, but this doesn't seem to be happening indrivers/devfreq/devfreq.c. Doesn't this run the risk of referencing a freed variable?Thanks,
-Kees
Yes, that's an issue requiring updates.
Thank you for pointing out.
Cheers,
MyungJoo
Quoted 5 lines
Signature · 3 lines
-- Kees Cook Chrome OS Security
�淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깸G쳺��{ay����,j�f"톒쉹��묎�z_溫(�쉸듶줷"얎�m����G쳺�◀?솳鈺�&x�~뤳턨O뺞촾퇉v�^�m����띠�◀?뻀�