{"id":"CVE-2023-54025","state":"PUBLISHED","title":"wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rsi: Do not configure WoWlan in shutdown hook if not enabled\n\nIn case WoWlan was never configured during the operation of the system,\nthe hw->wiphy->wowlan_config will be NULL. rsi_config_wowlan() checks\nwhether wowlan_config is non-NULL and if it is not, then WARNs about it.\nThe warning is valid, as during normal operation the rsi_config_wowlan()\nshould only ever be called with non-NULL wowlan_config. In shutdown this\nrsi_config_wowlan() should only ever be called if WoWlan was configured\nbefore by the user.\n\nAdd checks for non-NULL wowlan_config into the shutdown hook. While at it,\ncheck whether the wiphy is also non-NULL before accessing wowlan_config .\nDrop the single-use wowlan_config variable, just inline it into function\ncall.","publishedAt":"2025-12-24T10:55:54.440Z","updatedAt":"2026-05-11T19:53:58.606Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"b2aeb97fd470206e67f7b3b4a3e68212a13f747b","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"4391fa180856ff84a2cef4a92694a689eebb855e","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"eb205a06908122f50b1dd1baa43f7c8036bfc7dc","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"1b51236aa49a0564280bd45c94118cab6d9b0fbd","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"b601468539c1d97539097bfc87ad11f1704b7eb7","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"b241e260820b68c09586e8a0ae0fc23c0e3215bd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/rsi/rsi_91x_sdio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"5.10.188","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.121","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.3.13","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/rsi/rsi_91x_sdio.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/54xxx/CVE-2023-54025.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-54025","state":"PUBLISHED","datePublished":"2025-12-24T10:55:54.440Z","dateUpdated":"2026-05-11T19:53:58.606Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-12-24T10:53:46.179Z"},"containers":{"cna":{"title":"wifi: rsi: Do not configure WoWlan in shutdown hook if not enabled","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: rsi: Do not configure WoWlan in shutdown hook if not enabled\n\nIn case WoWlan was never configured during the operation of the system,\nthe hw->wiphy->wowlan_config will be NULL. rsi_config_wowlan() checks\nwhether wowlan_config is non-NULL and if it is not, then WARNs about it.\nThe warning is valid, as during normal operation the rsi_config_wowlan()\nshould only ever be called with non-NULL wowlan_config. In shutdown this\nrsi_config_wowlan() should only ever be called if WoWlan was configured\nbefore by the user.\n\nAdd checks for non-NULL wowlan_config into the shutdown hook. While at it,\ncheck whether the wiphy is also non-NULL before accessing wowlan_config .\nDrop the single-use wowlan_config variable, just inline it into function\ncall."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"b2aeb97fd470206e67f7b3b4a3e68212a13f747b","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"4391fa180856ff84a2cef4a92694a689eebb855e","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"eb205a06908122f50b1dd1baa43f7c8036bfc7dc","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"1b51236aa49a0564280bd45c94118cab6d9b0fbd","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"b601468539c1d97539097bfc87ad11f1704b7eb7","versionType":"git"},{"version":"16bbc3eb83728c03138191a5d23d84d38175fa26","status":"affected","lessThan":"b241e260820b68c09586e8a0ae0fc23c0e3215bd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/rsi/rsi_91x_sdio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.7","versionType":"semver"},{"version":"5.10.188","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.121","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.39","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.3.13","status":"unaffected","lessThanOrEqual":"6.3.*","versionType":"semver"},{"version":"6.4.4","status":"unaffected","lessThanOrEqual":"6.4.*","versionType":"semver"},{"version":"6.5","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/rsi/rsi_91x_sdio.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b2aeb97fd470206e67f7b3b4a3e68212a13f747b"},{"url":"https://git.kernel.org/stable/c/4391fa180856ff84a2cef4a92694a689eebb855e"},{"url":"https://git.kernel.org/stable/c/eb205a06908122f50b1dd1baa43f7c8036bfc7dc"},{"url":"https://git.kernel.org/stable/c/1b51236aa49a0564280bd45c94118cab6d9b0fbd"},{"url":"https://git.kernel.org/stable/c/b601468539c1d97539097bfc87ad11f1704b7eb7"},{"url":"https://git.kernel.org/stable/c/b241e260820b68c09586e8a0ae0fc23c0e3215bd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:53:58.606Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.10.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"5.15.121"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.1.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.3.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.4.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.7","versionEndExcluding":"6.5"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}