In the Linux kernel, the following vulnerability has been resolved:
regulator: scmi: Fix refcount leak in scmiregulatorprobe
offindnodebyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnodeput() to avoid refcount leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49466.json"
}[
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49466-42487570",
"target": {
"file": "drivers/regulator/scmi-regulator.c",
"function": "scmi_regulator_probe"
},
"digest": {
"length": 1501.0,
"function_hash": "31866881188311642785734979014380882036"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@299a002161c7bfb72e99ba45e5b660aecc344ea0"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49466-77e1cf69",
"target": {
"file": "drivers/regulator/scmi-regulator.c",
"function": "scmi_regulator_probe"
},
"digest": {
"length": 1501.0,
"function_hash": "31866881188311642785734979014380882036"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ebbfa73d69909b7c737f599fd4ebd42318fc881"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49466-c6212329",
"target": {
"file": "drivers/regulator/scmi-regulator.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"205189246087959257150954063320864968714",
"181711375809080411002465608845220975692",
"115687781260240641922871086405073670869"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9ebbfa73d69909b7c737f599fd4ebd42318fc881"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49466-c78d7275",
"target": {
"file": "drivers/regulator/scmi-regulator.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"205189246087959257150954063320864968714",
"181711375809080411002465608845220975692",
"115687781260240641922871086405073670869"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@299a002161c7bfb72e99ba45e5b660aecc344ea0"
},
{
"signature_type": "Line",
"deprecated": false,
"id": "CVE-2022-49466-ee8a20cc",
"target": {
"file": "drivers/regulator/scmi-regulator.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"205189246087959257150954063320864968714",
"181711375809080411002465608845220975692",
"115687781260240641922871086405073670869"
]
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a59c763ef9b68c711dc2fd2ef4a6648da5480ee"
},
{
"signature_type": "Function",
"deprecated": false,
"id": "CVE-2022-49466-f22ff0b2",
"target": {
"file": "drivers/regulator/scmi-regulator.c",
"function": "scmi_regulator_probe"
},
"digest": {
"length": 1501.0,
"function_hash": "31866881188311642785734979014380882036"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a59c763ef9b68c711dc2fd2ef4a6648da5480ee"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49466.json"