In the Linux kernel, the following vulnerability has been resolved:
net: dsa: lantiqgswip: Fix refcount leak in gswipgphyfwlist
Every iteration of foreachavailablechildofnode() decrements the reference count of the previous node. when breaking early from a foreachavailablechildofnode() loop, we need to explicitly call ofnodeput() on the gphyfwnp. Add missing ofnodeput() to avoid refcount leak.
[
{
"signature_type": "Function",
"digest": {
"function_hash": "238662383605613947545904537332389107866",
"length": 1442.0
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c",
"function": "gswip_gphy_fw_list"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54d6802c4d83fa8de7696cfec06f475d5fd92d27",
"id": "CVE-2022-49346-0eb4fa69",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"56367453242903393085613131177728233128",
"271368632122974887865232582052097001365",
"259918253201426596324476032771674882079",
"221080123016631196444782256572322938222",
"324624370394119098685166309010906783902"
]
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0737e018a05e2aa352828c52bdeed3b02cff2930",
"id": "CVE-2022-49346-11c2109e",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"56367453242903393085613131177728233128",
"271368632122974887865232582052097001365",
"259918253201426596324476032771674882079",
"221080123016631196444782256572322938222",
"324624370394119098685166309010906783902"
]
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2ae49a113a5344232f1ebb93bcf18bbd11e9c39",
"id": "CVE-2022-49346-27c9ff8e",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"56367453242903393085613131177728233128",
"271368632122974887865232582052097001365",
"259918253201426596324476032771674882079",
"221080123016631196444782256572322938222",
"324624370394119098685166309010906783902"
]
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e007ac6fa7c9c94ad84da075c5c504afad690a0",
"id": "CVE-2022-49346-402140e8",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"56367453242903393085613131177728233128",
"271368632122974887865232582052097001365",
"259918253201426596324476032771674882079",
"221080123016631196444782256572322938222",
"324624370394119098685166309010906783902"
]
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9",
"id": "CVE-2022-49346-4112f86d",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"56367453242903393085613131177728233128",
"271368632122974887865232582052097001365",
"259918253201426596324476032771674882079",
"221080123016631196444782256572322938222",
"324624370394119098685166309010906783902"
]
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32cd78c5610f02a929f63cac985e73692d05f33e",
"id": "CVE-2022-49346-6770e300",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "238662383605613947545904537332389107866",
"length": 1442.0
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c",
"function": "gswip_gphy_fw_list"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c8df6fad43d9d5d77f281f794b2a93cd02fd1a9",
"id": "CVE-2022-49346-888c2bf7",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "238662383605613947545904537332389107866",
"length": 1442.0
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c",
"function": "gswip_gphy_fw_list"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e007ac6fa7c9c94ad84da075c5c504afad690a0",
"id": "CVE-2022-49346-88a561e2",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"56367453242903393085613131177728233128",
"271368632122974887865232582052097001365",
"259918253201426596324476032771674882079",
"221080123016631196444782256572322938222",
"324624370394119098685166309010906783902"
]
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@54d6802c4d83fa8de7696cfec06f475d5fd92d27",
"id": "CVE-2022-49346-b0b7e8bb",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "238662383605613947545904537332389107866",
"length": 1442.0
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c",
"function": "gswip_gphy_fw_list"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0737e018a05e2aa352828c52bdeed3b02cff2930",
"id": "CVE-2022-49346-bd8ce6aa",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "238662383605613947545904537332389107866",
"length": 1442.0
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c",
"function": "gswip_gphy_fw_list"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c2ae49a113a5344232f1ebb93bcf18bbd11e9c39",
"id": "CVE-2022-49346-c67640c0",
"deprecated": false,
"signature_version": "v1"
},
{
"signature_type": "Function",
"digest": {
"function_hash": "238662383605613947545904537332389107866",
"length": 1442.0
},
"target": {
"file": "drivers/net/dsa/lantiq_gswip.c",
"function": "gswip_gphy_fw_list"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32cd78c5610f02a929f63cac985e73692d05f33e",
"id": "CVE-2022-49346-edc4511a",
"deprecated": false,
"signature_version": "v1"
}
]