In the Linux kernel, the following vulnerability has been resolved:
ASoc: audio-graph-card2: Fix refcount leak bug in __graphgettype()
We should call ofnodeput() for the reference before its replacement as it returned by ofgetparent() which has increased the refcount. Besides, we should also call ofnodeput() before return.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50113.json",
"cna_assigner": "Linux"
}[
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "sound/soc/generic/audio-graph-card2.c",
"function": "__graph_get_type"
},
"id": "CVE-2022-50113-1387b052",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eda26893dabfc6da7a1e1ff5f8628ed9faab3ab9",
"digest": {
"function_hash": "8248573217721826400444978516080235702",
"length": 363.0
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "sound/soc/generic/audio-graph-card2.c",
"function": "__graph_get_type"
},
"id": "CVE-2022-50113-254f88e3",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3bb0c0b5f0f866fc3785380e0860dc37ceacf342",
"digest": {
"function_hash": "8248573217721826400444978516080235702",
"length": 363.0
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/generic/audio-graph-card2.c"
},
"id": "CVE-2022-50113-34d390c0",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a63a8c253bf57dfd9fa3ee2a7f1a3727505f947",
"digest": {
"line_hashes": [
"47999257044135120100548340022086413686",
"243785005447662572376205584398943148805",
"155172096102557265021906148494811312126",
"32399564300377310214386335985792433777",
"177785722501862726697901721176235677177",
"16643153884944751952091732719529138288",
"276350649760506591488893547661886189579",
"12433524586814412793226413556647355794",
"183459477347235682546376951119481622519",
"252612958851255600428155336778305513741",
"330135276815082047884830851527054773623",
"114744988184443574539821857464118611264",
"193731831070697870660624324769613802150",
"308789654600291378859997475576624540393"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/generic/audio-graph-card2.c"
},
"id": "CVE-2022-50113-41606f7a",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eda26893dabfc6da7a1e1ff5f8628ed9faab3ab9",
"digest": {
"line_hashes": [
"47999257044135120100548340022086413686",
"243785005447662572376205584398943148805",
"155172096102557265021906148494811312126",
"32399564300377310214386335985792433777",
"177785722501862726697901721176235677177",
"16643153884944751952091732719529138288",
"276350649760506591488893547661886189579",
"12433524586814412793226413556647355794",
"183459477347235682546376951119481622519",
"252612958851255600428155336778305513741",
"330135276815082047884830851527054773623",
"114744988184443574539821857464118611264",
"193731831070697870660624324769613802150",
"308789654600291378859997475576624540393"
],
"threshold": 0.9
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"target": {
"file": "sound/soc/generic/audio-graph-card2.c"
},
"id": "CVE-2022-50113-aa17cca7",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3bb0c0b5f0f866fc3785380e0860dc37ceacf342",
"digest": {
"line_hashes": [
"47999257044135120100548340022086413686",
"243785005447662572376205584398943148805",
"155172096102557265021906148494811312126",
"32399564300377310214386335985792433777",
"177785722501862726697901721176235677177",
"16643153884944751952091732719529138288",
"276350649760506591488893547661886189579",
"12433524586814412793226413556647355794",
"183459477347235682546376951119481622519",
"252612958851255600428155336778305513741",
"330135276815082047884830851527054773623",
"114744988184443574539821857464118611264",
"193731831070697870660624324769613802150",
"308789654600291378859997475576624540393"
],
"threshold": 0.9
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"target": {
"file": "sound/soc/generic/audio-graph-card2.c",
"function": "__graph_get_type"
},
"id": "CVE-2022-50113-f17f9ea2",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7a63a8c253bf57dfd9fa3ee2a7f1a3727505f947",
"digest": {
"function_hash": "8248573217721826400444978516080235702",
"length": 363.0
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50113.json"