In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: ocmem: Fix refcount leak in ofgetocmem
ofparsephandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak. ofnodeput() will check NULL pointer.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-0a6d7cc9",
"target": {
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221083500909022799075271002704798635134",
"86628599238532306323705858677714863068",
"102865436545951741458991879733793051666",
"18173965825485758647485324280130121978",
"139093566815257698483545477466835806557",
"11632181253953619061424129507628485533",
"119307776877978239458399516596014815092",
"322300840492974393608929264312654356175",
"91654248807246738348356082648978661956",
"152388283482760782536555606843358597840",
"30711966070870549628874347168064528160"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92a563fcf14b3093226fb36f12e9b5cf630c5a5d",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-605182ff",
"target": {
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221083500909022799075271002704798635134",
"86628599238532306323705858677714863068",
"102865436545951741458991879733793051666",
"18173965825485758647485324280130121978",
"139093566815257698483545477466835806557",
"11632181253953619061424129507628485533",
"119307776877978239458399516596014815092",
"322300840492974393608929264312654356175",
"91654248807246738348356082648978661956",
"152388283482760782536555606843358597840",
"30711966070870549628874347168064528160"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed40a48d0a9166edb22e2b8efafea822e93dd79a",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-693bec83",
"target": {
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221083500909022799075271002704798635134",
"86628599238532306323705858677714863068",
"102865436545951741458991879733793051666",
"18173965825485758647485324280130121978",
"139093566815257698483545477466835806557",
"11632181253953619061424129507628485533",
"119307776877978239458399516596014815092",
"322300840492974393608929264312654356175",
"91654248807246738348356082648978661956",
"152388283482760782536555606843358597840",
"30711966070870549628874347168064528160"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@92a563fcf14b3093226fb36f12e9b5cf630c5a5d",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-793a6180",
"target": {
"function": "of_get_ocmem",
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"length": 570.0,
"function_hash": "213144018788114688597495302075331994244"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07aea6819d569d1e172227486655e4fb5bd4cdb9",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-ab75ebb2",
"target": {
"function": "of_get_ocmem",
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"length": 570.0,
"function_hash": "213144018788114688597495302075331994244"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07aea6819d569d1e172227486655e4fb5bd4cdb9",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-c1df8ac7",
"target": {
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221083500909022799075271002704798635134",
"86628599238532306323705858677714863068",
"102865436545951741458991879733793051666",
"18173965825485758647485324280130121978",
"139093566815257698483545477466835806557",
"11632181253953619061424129507628485533",
"119307776877978239458399516596014815092",
"322300840492974393608929264312654356175",
"91654248807246738348356082648978661956",
"152388283482760782536555606843358597840",
"30711966070870549628874347168064528160"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ed40a48d0a9166edb22e2b8efafea822e93dd79a",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-c2f3855e",
"target": {
"function": "of_get_ocmem",
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"length": 570.0,
"function_hash": "213144018788114688597495302075331994244"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1e4243c0dddeafb4ace6d9906d3f5129b81a9fe",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-d6adc4e4",
"target": {
"function": "of_get_ocmem",
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"length": 570.0,
"function_hash": "213144018788114688597495302075331994244"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84a928b44cb303d5756e3bff2734921de8dce4f6",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-e957b9ed",
"target": {
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"221083500909022799075271002704798635134",
"86628599238532306323705858677714863068",
"102865436545951741458991879733793051666",
"18173965825485758647485324280130121978",
"139093566815257698483545477466835806557",
"11632181253953619061424129507628485533",
"119307776877978239458399516596014815092",
"322300840492974393608929264312654356175",
"91654248807246738348356082648978661956",
"152388283482760782536555606843358597840",
"30711966070870549628874347168064528160"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84a928b44cb303d5756e3bff2734921de8dce4f6",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-50196-ee43ac92",
"target": {
"function": "of_get_ocmem",
"file": "drivers/soc/qcom/ocmem.c"
},
"digest": {
"length": 570.0,
"function_hash": "213144018788114688597495302075331994244"
},
"signature_type": "Function"
}
]