← CVE Intelligence

CVE-2022-50321

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before 4c55fdebc1c358de96bfab52ed309d58a3ba66ef; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before e5d01e85cf46628647cd696cb72ba4659b18967f; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before d869a189505224601e310c7769cb90b0e2f60b31; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before e08e6812efb6a8c676e733de0518594d1517e0d9; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before e8ef89e5b89ee041a94eecfb6c31fcc237f9168c; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before 7f159116d620615779adbf88a5d94713702216d8; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before 3a4d18318f473e97d628f410215b3fac32d07aed; affected 270a6c1f65fe68a28a5d39cd405592c550b496c7 before 212fde3fe76e962598ce1d47b97cc78afdfc71b3
Linux / Linuxaffected 4.13; unaffected 0 before 4.13; unaffected 4.14.308 through 4.14.*; unaffected 4.19.276 through 4.19.*; unaffected 5.4.235 through 5.4.*; unaffected 5.10.173 through 5.10.*; unaffected 5.15.99 through 5.15.*; unaffected 6.1.16 through 6.1.*; unaffected 6.2.3 through 6.2.*; unaffected 6.3 through *

CWE

No CWE identifiers supplied.

References