wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit() (Linux Linux)

CVE-2022-50321
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit() The brcmf_netdev_start_xmit() returns NETDEV_TX_OK without freeing skb in case of pskb_expand_head() fails, add dev_kfree_skb() to fix it. Compile tested only.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
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)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 270a6c1f65fe68a28a5d39cd405592c550b496c7 < 4c55fdebc1c358de96bfab52ed309d58a3ba66ef ; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 < e5d01e85cf46628647cd696cb72ba4659b18967f ; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 < d869a189505224601e310c7769cb90b0e2f60b31 ; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 < e08e6812efb6a8c676e733de0518594d1517e0d9 ; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 < e8ef89e5b89ee041a94eecfb6c31fcc237f9168c ; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 < 7f159116d620615779adbf88a5d94713702216d8
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 4.14.308 ≤ 4.14.* ; unaffected 4.19.276 ≤ 4.19.* ; unaffected 5.4.235 ≤ 5.4.* ; unaffected 5.10.173 ≤ 5.10.*

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