In the Linux kernel, the following vulnerability has been resolved:
rtc: gamecube: Fix refcount leak in gamecubertcreadoffsetfrom_sram
The offindcompatiblenode() function returns a node pointer with refcount incremented, We should use ofnodeput() on it when done Add the missing ofnode_put() to release the refcount.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49150.json"
}[
{
"digest": {
"function_hash": "280028752932300099577254897110979996383",
"length": 857.0
},
"id": "CVE-2022-49150-1283efa6",
"signature_version": "v1",
"target": {
"file": "drivers/rtc/rtc-gamecube.c",
"function": "gamecube_rtc_read_offset_from_sram"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@de66e4f28dfd11f954966c447b4430529ed040a2",
"deprecated": false,
"signature_type": "Function"
},
{
"digest": {
"line_hashes": [
"101913207306274218509032509537237083437",
"121139726391096308851230805566206711360",
"69745644291912845650780848205538905733",
"257369744580540769467095088434371558789"
],
"threshold": 0.9
},
"id": "CVE-2022-49150-2ee827f8",
"signature_version": "v1",
"target": {
"file": "drivers/rtc/rtc-gamecube.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@de66e4f28dfd11f954966c447b4430529ed040a2",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"line_hashes": [
"101913207306274218509032509537237083437",
"121139726391096308851230805566206711360",
"69745644291912845650780848205538905733",
"257369744580540769467095088434371558789"
],
"threshold": 0.9
},
"id": "CVE-2022-49150-5fb6b6b8",
"signature_version": "v1",
"target": {
"file": "drivers/rtc/rtc-gamecube.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b2dc39ca024990abe36ad5d145c4fe0c06afd34",
"deprecated": false,
"signature_type": "Line"
},
{
"digest": {
"function_hash": "280028752932300099577254897110979996383",
"length": 857.0
},
"id": "CVE-2022-49150-7743a3e8",
"signature_version": "v1",
"target": {
"file": "drivers/rtc/rtc-gamecube.c",
"function": "gamecube_rtc_read_offset_from_sram"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b2dc39ca024990abe36ad5d145c4fe0c06afd34",
"deprecated": false,
"signature_type": "Function"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49150.json"