In the Linux kernel, the following vulnerability has been resolved:
PCI: mediatek-gen3: Fix refcount leak in mtkpcieinitirqdomains()
ofgetchildbyname() returns a node pointer with refcount incremented, so we should use ofnodeput() on it when we don't need it anymore.
Add missing ofnodeput() to avoid refcount leak.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf038503d5fe90189743124233fe7aeb0984e961",
"target": {
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-2a79d4c2",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"54149845384958216979549508688733903973",
"193939950470650487298749336296771670673",
"234545812151738271548179553085800101167",
"157787605070314389884564067223992786144",
"128909548916271668075422185307128354029",
"7224170196870332313063511259351703214",
"319015649948019471511028903251945886334",
"138437589571982495815327903340117828639",
"109786737711348177271910081476857712422",
"273078490441992990481942861236212692061",
"93021198850987923326795292706060167138",
"145370627510902767370932425797042510897"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e593e22786edd9eca058cf054d6a2e12c138da67",
"target": {
"function": "mtk_pcie_init_irq_domains",
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-51d94de2",
"signature_type": "Function",
"digest": {
"length": 1152.0,
"function_hash": "113473549441571937605721292599366674211"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0675fe20da7fa69b1ba80c23470c1433a2356c03",
"target": {
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-5a4c2e61",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"151246984082047457888323505915435305407",
"166476889188911124298255172715655770426",
"109605786284003757064471152717749324180",
"65236127845122300933992898485408417153",
"128909548916271668075422185307128354029",
"7224170196870332313063511259351703214",
"293534776014502956709421178174771866865",
"108419872680600995835983279507453439230",
"82569315357037219418020525069334768058",
"101716697877769266174699627762013118291"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7",
"target": {
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-605b9115",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"54149845384958216979549508688733903973",
"193939950470650487298749336296771670673",
"234545812151738271548179553085800101167",
"157787605070314389884564067223992786144",
"128909548916271668075422185307128354029",
"7224170196870332313063511259351703214",
"319015649948019471511028903251945886334",
"138437589571982495815327903340117828639",
"109786737711348177271910081476857712422",
"273078490441992990481942861236212692061",
"93021198850987923326795292706060167138",
"145370627510902767370932425797042510897"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2aa166c39d5a8221e6e22ab1a583656d4c8dc7f7",
"target": {
"function": "mtk_pcie_init_irq_domains",
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-747c3257",
"signature_type": "Function",
"digest": {
"length": 1152.0,
"function_hash": "113473549441571937605721292599366674211"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e593e22786edd9eca058cf054d6a2e12c138da67",
"target": {
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-b5b9975d",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"54149845384958216979549508688733903973",
"193939950470650487298749336296771670673",
"234545812151738271548179553085800101167",
"157787605070314389884564067223992786144",
"128909548916271668075422185307128354029",
"7224170196870332313063511259351703214",
"319015649948019471511028903251945886334",
"138437589571982495815327903340117828639",
"109786737711348177271910081476857712422",
"273078490441992990481942861236212692061",
"93021198850987923326795292706060167138",
"145370627510902767370932425797042510897"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bf038503d5fe90189743124233fe7aeb0984e961",
"target": {
"function": "mtk_pcie_init_irq_domains",
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-bceeaf20",
"signature_type": "Function",
"digest": {
"length": 1152.0,
"function_hash": "113473549441571937605721292599366674211"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0675fe20da7fa69b1ba80c23470c1433a2356c03",
"target": {
"function": "mtk_pcie_init_irq_domains",
"file": "drivers/pci/controller/pcie-mediatek-gen3.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-50154-c1b946b2",
"signature_type": "Function",
"digest": {
"length": 1152.0,
"function_hash": "113473549441571937605721292599366674211"
}
}
]