# CVE-2023-54025: wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-12-24T10:55:54.440Z
- Modified: 2026-06-17T06:46:33.623Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 16bbc3eb83728c03138191a5d23d84d38175fa26 before b2aeb97fd470206e67f7b3b4a3e68212a13f747b; from 16bbc3eb83728c03138191a5d23d84d38175fa26 before 4391fa180856ff84a2cef4a92694a689eebb855e; from 16bbc3eb83728c03138191a5d23d84d38175fa26 before eb205a06908122f50b1dd1baa43f7c8036bfc7dc; from 16bbc3eb83728c03138191a5d23d84d38175fa26 before 1b51236aa49a0564280bd45c94118cab6d9b0fbd; from 16bbc3eb83728c03138191a5d23d84d38175fa26 before b601468539c1d97539097bfc87ad11f1704b7eb7; from 16bbc3eb83728c03138191a5d23d84d38175fa26 before b241e260820b68c09586e8a0ae0fc23c0e3215bd; 5.7 (not affected: before 5.7; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; from 6.1.39 up to 6.1.*; from 6.3.13 up to 6.3.*; from 6.4.4 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/b2aeb97fd470206e67f7b3b4a3e68212a13f747b>
- <https://git.kernel.org/stable/c/4391fa180856ff84a2cef4a92694a689eebb855e>
- <https://git.kernel.org/stable/c/eb205a06908122f50b1dd1baa43f7c8036bfc7dc>
- <https://git.kernel.org/stable/c/1b51236aa49a0564280bd45c94118cab6d9b0fbd>
- <https://git.kernel.org/stable/c/b601468539c1d97539097bfc87ad11f1704b7eb7>
- <https://git.kernel.org/stable/c/b241e260820b68c09586e8a0ae0fc23c0e3215bd>

## Sources

- CVE List: [CVE-2023-54025](https://www.cve.org/CVERecord?id=CVE-2023-54025), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54025](https://nvd.nist.gov/vuln/detail/CVE-2023-54025), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54025 · Whole record: https://cve.day/CVE-2023-54025.json · Rebuilt by cve.day 2026-11-25T22:58:35.146Z
