Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: cpufreq/longhaul: handle NULL policy in longhaul_exit longhaul_exit() was calling cpufreq_cpu_get(0) without checking for a NULL policy pointer. On some systems, this could lead to a NULL dereference and a kernel warning or panic. This patch adds a check using unlikely() and returns early if the policy is NULL. Bugzilla: #219962
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before b02352dd2e6cca98777714cc2a27553191df70db; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before 956b56d17a89775e4957bbddefa45cd3c6c71000; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before 55cf586b9556863e3c2a45460aba71bcb2be5bcd; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before fd93e1d71b3b14443092919be12b1abf08de35eb; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before 8d6791c480f22d6e9a566eaa77336d3d37c5c591; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before 64adabb6d9d51b7e7c02fe733346a2c4dd738488; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before 809cf2a7794ca4c14c304b349f4c3ae220701ce4; affected b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 before 592532a77b736b5153e0c2e4c74aa50af0a352ab |
| Linux / Linux | affected 3.10; unaffected 0 before 3.10; unaffected 5.4.302 through 5.4.*; unaffected 5.10.247 through 5.10.*; unaffected 5.15.197 through 5.15.*; unaffected 6.1.159 through 6.1.*; unaffected 6.6.117 through 6.6.*; unaffected 6.12.58 through 6.12.*; unaffected 6.17.8 through 6.17.*; unaffected 6.18 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b02352dd2e6cca98777714cc2a27553191df70db
- https://git.kernel.org/stable/c/956b56d17a89775e4957bbddefa45cd3c6c71000
- https://git.kernel.org/stable/c/55cf586b9556863e3c2a45460aba71bcb2be5bcd
- https://git.kernel.org/stable/c/fd93e1d71b3b14443092919be12b1abf08de35eb
- https://git.kernel.org/stable/c/8d6791c480f22d6e9a566eaa77336d3d37c5c591
- https://git.kernel.org/stable/c/64adabb6d9d51b7e7c02fe733346a2c4dd738488
- https://git.kernel.org/stable/c/809cf2a7794ca4c14c304b349f4c3ae220701ce4
- https://git.kernel.org/stable/c/592532a77b736b5153e0c2e4c74aa50af0a352ab