In the Linux kernel, the following vulnerability has been resolved:
wifi: brcmfmac: fix potential memory leak in brcmfnetdevstart_xmit()
The brcmfnetdevstartxmit() returns NETDEVTXOK without freeing skb in case of pskbexpandhead() fails, add devkfree_skb() to fix it. Compile tested only.
[
{
"id": "CVE-2022-50321-74760872",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266673272822388801838388202827867093144",
"11351392327892711796409198262358387106",
"16820978370769166391030074567769035397",
"117570941756750179619975045040380769302"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f159116d620615779adbf88a5d94713702216d8",
"target": {
"file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c"
}
},
{
"id": "CVE-2022-50321-8eda7161",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266673272822388801838388202827867093144",
"11351392327892711796409198262358387106",
"16820978370769166391030074567769035397",
"117570941756750179619975045040380769302"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@212fde3fe76e962598ce1d47b97cc78afdfc71b3",
"target": {
"file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c"
}
},
{
"id": "CVE-2022-50321-c3d6d499",
"signature_version": "v1",
"digest": {
"function_hash": "78966033484482963734195307238817247492",
"length": 1677.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@212fde3fe76e962598ce1d47b97cc78afdfc71b3",
"target": {
"file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c",
"function": "brcmf_netdev_start_xmit"
}
},
{
"id": "CVE-2022-50321-ffd61b37",
"signature_version": "v1",
"digest": {
"function_hash": "78966033484482963734195307238817247492",
"length": 1677.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f159116d620615779adbf88a5d94713702216d8",
"target": {
"file": "drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c",
"function": "brcmf_netdev_start_xmit"
}
}
]