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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50429.json"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50429-2312fa8e",
"target": {
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d312c12c91f831fcc48623c921f2d4560edb159"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50429-2b890e5b",
"target": {
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48af14fb0eaa63d9aa68f59fb0b205ec55a95636"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50429-82bd503a",
"target": {
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b321bf7687968a090cf6b62bd8e67d692f59a16"
},
{
"digest": {
"length": 810.0,
"function_hash": "35984587755748745677068690870075531115"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50429-902571fa",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e053784c4c70df28324106d476778be7a4519b3"
},
{
"digest": {
"length": 810.0,
"function_hash": "35984587755748745677068690870075531115"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50429-a08640be",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d312c12c91f831fcc48623c921f2d4560edb159"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"144226548533995601908615732913596102272",
"259970047179689976526029359651857839865",
"178528660272118322485000889773136385071",
"269555504928809619466341992754696777319"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50429-a3d9d190",
"target": {
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7e053784c4c70df28324106d476778be7a4519b3"
},
{
"digest": {
"length": 810.0,
"function_hash": "35984587755748745677068690870075531115"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50429-c16eddc0",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3b321bf7687968a090cf6b62bd8e67d692f59a16"
},
{
"digest": {
"length": 810.0,
"function_hash": "35984587755748745677068690870075531115"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50429-c5f0f2d1",
"target": {
"function": "of_lpddr3_get_ddr_timings",
"file": "drivers/memory/of_memory.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@48af14fb0eaa63d9aa68f59fb0b205ec55a95636"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50429.json"