CVE-2023-54025

wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled

In case WoWlan was never configured during the operation of the system, the hw->wiphy->wowlan_config will be NULL. rsi_config_wowlan() checks whether wowlan_config is non-NULL and if it is not, then WARNs about it. The warning is valid, as during normal operation the rsi_config_wowlan() should only ever be called with non-NULL wowlan_config. In shutdown this rsi_config_wowlan() should only ever be called if WoWlan was configured before by the user.

Add checks for non-NULL wowlan_config into the shutdown hook. While at it, check whether the wiphy is also non-NULL before accessing wowlan_config . Drop the single-use wowlan_config variable, just inline it into function call.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 16bbc3eb83728c03138191a5d23d84d38175fa26 to before b2aeb97fd470206e67f7b3b4a3e68212a13f747bAffected
  • 16bbc3eb83728c03138191a5d23d84d38175fa26 to before 4391fa180856ff84a2cef4a92694a689eebb855eAffected
  • 16bbc3eb83728c03138191a5d23d84d38175fa26 to before eb205a06908122f50b1dd1baa43f7c8036bfc7dcAffected
  • 16bbc3eb83728c03138191a5d23d84d38175fa26 to before 1b51236aa49a0564280bd45c94118cab6d9b0fbdAffected
  • 16bbc3eb83728c03138191a5d23d84d38175fa26 to before b601468539c1d97539097bfc87ad11f1704b7eb7Affected
  • 16bbc3eb83728c03138191a5d23d84d38175fa26 to before b241e260820b68c09586e8a0ae0fc23c0e3215bdAffected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.188 through 5.10.*Not affected
  • 5.15.121 through 5.15.*Not affected
  • 6.1.39 through 6.1.*Not affected
  • 6.3.13 through 6.3.*Not affected
  • 6.4.4 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.