wifi: iwlwifi: mvm: avoid NULL pointer dereference (Linux Linux)

CVE-2024-49929
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: iwlwifi: mvm: avoid NULL pointer dereference iwl_mvm_tx_skb_sta() and iwl_mvm_tx_mpdu() verify that the mvmvsta pointer is not NULL. It retrieves this pointer using iwl_mvm_sta_from_mac80211, which is dereferencing the ieee80211_sta pointer. If sta is NULL, iwl_mvm_sta_from_mac80211 will dereference a NULL pointer. Fix this by checking the sta pointer before retrieving the mvmsta from it. If sta is not NULL, then mvmsta isn't either.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 5b577a90fb3d86447ee86f8e0c6ddbd5da2ef8c9 < cbc6fc9cfcde151ff5eadaefdc6155f99579384f ; affected 5b577a90fb3d86447ee86f8e0c6ddbd5da2ef8c9 < 6dcadb2ed3b76623ab96e3e7fbeda1a374d01c28 ; affected 5b577a90fb3d86447ee86f8e0c6ddbd5da2ef8c9 < cdbf51bfa4b0411820806777da36d93d49bc49a1 ; affected 5b577a90fb3d86447ee86f8e0c6ddbd5da2ef8c9 < c0b4f5d94934c290479180868a32c15ba36a6d9e ; affected 5b577a90fb3d86447ee86f8e0c6ddbd5da2ef8c9 < 557a6cd847645e667f3b362560bd7e7c09aac284
Linux · Linuxaffected 3.14 ; unaffected 0 < 3.14 ; unaffected 6.1.120 ≤ 6.1.* ; unaffected 6.6.55 ≤ 6.6.* ; unaffected 6.10.14 ≤ 6.10.* ; unaffected 6.11.3 ≤ 6.11.*

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