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

CVE-2023-54025
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Deferred

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.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 16bbc3eb83728c03138191a5d23d84d38175fa26 < b2aeb97fd470206e67f7b3b4a3e68212a13f747b ; affected 16bbc3eb83728c03138191a5d23d84d38175fa26 < 4391fa180856ff84a2cef4a92694a689eebb855e ; affected 16bbc3eb83728c03138191a5d23d84d38175fa26 < eb205a06908122f50b1dd1baa43f7c8036bfc7dc ; affected 16bbc3eb83728c03138191a5d23d84d38175fa26 < 1b51236aa49a0564280bd45c94118cab6d9b0fbd ; affected 16bbc3eb83728c03138191a5d23d84d38175fa26 < b601468539c1d97539097bfc87ad11f1704b7eb7 ; affected 16bbc3eb83728c03138191a5d23d84d38175fa26 < b241e260820b68c09586e8a0ae0fc23c0e3215bd
Linux · Linuxaffected 5.7 ; unaffected 0 < 5.7 ; unaffected 5.10.188 ≤ 5.10.* ; unaffected 5.15.121 ≤ 5.15.* ; unaffected 6.1.39 ≤ 6.1.* ; unaffected 6.3.13 ≤ 6.3.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD