Skip to contentSkip to conversation

opp_get_notifier() needs to be under rcu_lock?

DISCUSSION MyungJoo Ham 1 participant 1 message Nov 21, 2012

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines

Hi,

It looks like find_device_opp() (called from opp_get_notifier()) needs to be under RCU read lock, but this doesn't seem to be happening in drivers/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��� �띠�◀?뻀�