In the Linux kernel, the following vulnerability has been resolved:
OPP: Fix potential null ptr dereference in devpmoppgetrequired_pstate()
"opp" pointer is dereferenced before the ISERRORNULL() check. Fix it by removing the dereference to cache opptable and dereference it directly where opp_table is used.
This fixes the following smatch warning:
drivers/opp/core.c:232 devpmoppgetrequiredpstate() warn: variable dereferenced before ISERR check 'opp' (see line 230)