In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: bgmac: Fix refcount leak in bcmamdiomii_register
ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.
[
{
"id": "CVE-2022-49342-4f7f5c54",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"90640143044592673968211461212769105500",
"192643035676102116697510150159681457449",
"64708356979372304432297995896827220790",
"154391829249430776257788901194411757520"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4",
"target": {
"file": "drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c"
}
},
{
"id": "CVE-2022-49342-6f1d2695",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"90640143044592673968211461212769105500",
"192643035676102116697510150159681457449",
"64708356979372304432297995896827220790",
"154391829249430776257788901194411757520"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb1fe7d9a167205413f1de8db9f7d0f82c78286",
"target": {
"file": "drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c"
}
},
{
"id": "CVE-2022-49342-92243cdf",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 778.0,
"function_hash": "335307873388342711021164837873521273465"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8d91399775c55162073bb2aca061ec42e3d4bc1",
"target": {
"function": "bcma_mdio_mii_register",
"file": "drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c"
}
},
{
"id": "CVE-2022-49342-ab644482",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 778.0,
"function_hash": "335307873388342711021164837873521273465"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fb1fe7d9a167205413f1de8db9f7d0f82c78286",
"target": {
"function": "bcma_mdio_mii_register",
"file": "drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c"
}
},
{
"id": "CVE-2022-49342-c4aa63c9",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 778.0,
"function_hash": "335307873388342711021164837873521273465"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4",
"target": {
"function": "bcma_mdio_mii_register",
"file": "drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c"
}
},
{
"id": "CVE-2022-49342-eec81e6f",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"90640143044592673968211461212769105500",
"192643035676102116697510150159681457449",
"64708356979372304432297995896827220790",
"154391829249430776257788901194411757520"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8d91399775c55162073bb2aca061ec42e3d4bc1",
"target": {
"file": "drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c"
}
}
]