In the Linux kernel, the following vulnerability has been resolved:
memory: of: Fix refcount leak bug in oflpddr3getddrtimings()
We should add the ofnodeput() when breaking out of foreachchildofnode() as it will automatically increase and decrease the refcount.
[
{
"deprecated": false,
"id": "CVE-2022-50429-2312fa8e",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d312c12c91f831fcc48623c921f2d4560edb159",
"signature_version": "v1",
"target": {
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-2b890e5b",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48af14fb0eaa63d9aa68f59fb0b205ec55a95636",
"signature_version": "v1",
"target": {
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-32557cce",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@daab421fc2dc7d6ae7eb20a3f565ae09652c68b9",
"signature_version": "v1",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "35984587755748745677068690870075531115",
"length": 810.0
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-6b96d9fa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@daab421fc2dc7d6ae7eb20a3f565ae09652c68b9",
"signature_version": "v1",
"target": {
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-82bd503a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b321bf7687968a090cf6b62bd8e67d692f59a16",
"signature_version": "v1",
"target": {
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-902571fa",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e053784c4c70df28324106d476778be7a4519b3",
"signature_version": "v1",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "35984587755748745677068690870075531115",
"length": 810.0
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-a08640be",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d312c12c91f831fcc48623c921f2d4560edb159",
"signature_version": "v1",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "35984587755748745677068690870075531115",
"length": 810.0
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-a3d9d190",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e053784c4c70df28324106d476778be7a4519b3",
"signature_version": "v1",
"target": {
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-c16eddc0",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b321bf7687968a090cf6b62bd8e67d692f59a16",
"signature_version": "v1",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "35984587755748745677068690870075531115",
"length": 810.0
}
},
{
"deprecated": false,
"id": "CVE-2022-50429-c5f0f2d1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48af14fb0eaa63d9aa68f59fb0b205ec55a95636",
"signature_version": "v1",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "35984587755748745677068690870075531115",
"length": 810.0
}
}
]