In the Linux kernel, the following vulnerability has been resolved:
net: ethernet: ti: am65-cpsw-nuss: Fix some refcount leaks
ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. am65cpswinitcpts() and am65cpswnussprobe() don't release the refcount in error case. Add missing ofnodeput() to avoid refcount leak.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78aca10a16f001c9f49f1cc4dadfee8d444bb173",
"id": "CVE-2022-49386-025992f1",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"158484086459026797831915057095756414161",
"240044606224298979449247322182956124058",
"309755492099368059657436850094445181451",
"266692686127355268517090864112724334691",
"7201370585447334000957817592794045302",
"26140702621312958494932998507998758257",
"218019809400098704885932032078172056473",
"108190858935381929231842241545369038924",
"162262983438705219474748016521770175120",
"25494767203192207094556006698550608677"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f7ba2cc57f404d2d9f26fb85bd3833d35a477829",
"id": "CVE-2022-49386-1c08fa2b",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_nuss_probe",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 3080.0,
"function_hash": "18580022299518065302233353496975478772"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f7ba2cc57f404d2d9f26fb85bd3833d35a477829",
"id": "CVE-2022-49386-4888f03c",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_init_cpts",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 628.0,
"function_hash": "193785449473758252014550317178541057913"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f7ba2cc57f404d2d9f26fb85bd3833d35a477829",
"id": "CVE-2022-49386-4cafe7f7",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"158484086459026797831915057095756414161",
"240044606224298979449247322182956124058",
"309755492099368059657436850094445181451",
"266692686127355268517090864112724334691",
"7201370585447334000957817592794045302",
"26140702621312958494932998507998758257",
"218019809400098704885932032078172056473",
"44137635184066838445979728709111035352",
"272555961219164490627185641372851244457",
"28328649926846980278177232172195702592"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5dd89d2fc438457811cbbec07999ce0d80051ff5",
"id": "CVE-2022-49386-572932bb",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"158484086459026797831915057095756414161",
"240044606224298979449247322182956124058",
"309755492099368059657436850094445181451",
"266692686127355268517090864112724334691",
"7201370585447334000957817592794045302",
"26140702621312958494932998507998758257",
"218019809400098704885932032078172056473",
"108190858935381929231842241545369038924",
"162262983438705219474748016521770175120",
"25494767203192207094556006698550608677"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5dd89d2fc438457811cbbec07999ce0d80051ff5",
"id": "CVE-2022-49386-7074c3a5",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_init_cpts",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 647.0,
"function_hash": "304887468483716453362746735874473621926"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e44f21c384503562713b7d3b673c40bed20af3d",
"id": "CVE-2022-49386-74dfb0c2",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_init_cpts",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 647.0,
"function_hash": "304887468483716453362746735874473621926"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4b7ef3b159805ba6be061d0cd2403d84b9b0063",
"id": "CVE-2022-49386-981aea64",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_nuss_probe",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 3019.0,
"function_hash": "255425392523762315500422377443694069418"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5dd89d2fc438457811cbbec07999ce0d80051ff5",
"id": "CVE-2022-49386-a10bbda2",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_nuss_probe",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 3046.0,
"function_hash": "333787390578537401713419908333193104059"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78aca10a16f001c9f49f1cc4dadfee8d444bb173",
"id": "CVE-2022-49386-b1ef3cbb",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_nuss_probe",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 3019.0,
"function_hash": "255425392523762315500422377443694069418"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e44f21c384503562713b7d3b673c40bed20af3d",
"id": "CVE-2022-49386-d3cbf867",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_nuss_probe",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 3065.0,
"function_hash": "254088010416811007109752209320451962920"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4b7ef3b159805ba6be061d0cd2403d84b9b0063",
"id": "CVE-2022-49386-db5c2ee7",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"158484086459026797831915057095756414161",
"240044606224298979449247322182956124058",
"309755492099368059657436850094445181451",
"266692686127355268517090864112724334691",
"7201370585447334000957817592794045302",
"26140702621312958494932998507998758257",
"218019809400098704885932032078172056473",
"108190858935381929231842241545369038924",
"162262983438705219474748016521770175120",
"25494767203192207094556006698550608677"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78aca10a16f001c9f49f1cc4dadfee8d444bb173",
"id": "CVE-2022-49386-eba60b3f",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_init_cpts",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 647.0,
"function_hash": "304887468483716453362746735874473621926"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4b7ef3b159805ba6be061d0cd2403d84b9b0063",
"id": "CVE-2022-49386-ef4b6956",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "am65_cpsw_init_cpts",
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Function",
"digest": {
"length": 647.0,
"function_hash": "304887468483716453362746735874473621926"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2e44f21c384503562713b7d3b673c40bed20af3d",
"id": "CVE-2022-49386-f501b65e",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"158484086459026797831915057095756414161",
"240044606224298979449247322182956124058",
"309755492099368059657436850094445181451",
"266692686127355268517090864112724334691",
"7201370585447334000957817592794045302",
"26140702621312958494932998507998758257",
"218019809400098704885932032078172056473",
"108190858935381929231842241545369038924",
"162262983438705219474748016521770175120",
"25494767203192207094556006698550608677"
]
}
}
]