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