Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-68177

cpufreq/longhaul: handle NULL policy in longhaul_exit

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < b02352dd2e6cca98777714cc2a27553191df70dbaffected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < 956b56d17a89775e4957bbddefa45cd3c6c71000affected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < 55cf586b9556863e3c2a45460aba71bcb2be5bcdaffected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < fd93e1d71b3b14443092919be12b1abf08de35ebaffected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < 8d6791c480f22d6e9a566eaa77336d3d37c5c591affected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < 64adabb6d9d51b7e7c02fe733346a2c4dd738488affected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < 809cf2a7794ca4c14c304b349f4c3ae220701ce4affected
  • b43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2 to < 592532a77b736b5153e0c2e4c74aa50af0a352abaffected

Linux Linux

Default version status: affected

  • 3.10affected
  • 0 to < 3.10unaffected
  • 5.4.302 to ≤ 5.4.*unaffected
  • 5.10.247 to ≤ 5.10.*unaffected
  • 5.15.197 to ≤ 5.15.*unaffected
  • 6.1.159 to ≤ 6.1.*unaffected
  • 6.6.117 to ≤ 6.6.*unaffected
  • 6.12.58 to ≤ 6.12.*unaffected
  • 6.17.8 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References