In the Linux kernel, the following vulnerability has been resolved:
powerpc/xive: Fix refcount leak in xivespaprinit
offindcompatiblenode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when done. Add missing ofnode_put() to avoid refcount leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2022/49xxx/CVE-2022-49437.json"
}[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@65f11ccdd746e0e7f0b469cc989ba43d4f30ecfe",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49437-263d7dfe",
"target": {
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"line_hashes": [
"207500025406282262508150223876557779078",
"41639188583026408399411502890150023554",
"292311976339526201240362455297004153042",
"326125618128612381759290965337557176217",
"67879257100985667579467459362390662919",
"167635146479819397160709501190215625923",
"144495385714444540819326953764974489892",
"164772571485035609475247016209854894453",
"81445863864851322956155988806827168295",
"150302260049529732194877123114469225400",
"106344346158568856224361422534019299811",
"250643369639015782498549300751908499016",
"94039623628233154324596624452736113569",
"317563632367033481952351098316215862576",
"315504060332281489891404551887389821561",
"189197421720709260411521309604464342074"
],
"threshold": 0.9
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e806485d851986a2445267608f27cb4ba2ed774",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49437-391aa518",
"target": {
"function": "xive_spapr_init",
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"function_hash": "9501204354666992589450069809813339630",
"length": 1533.0
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc62dde2a5f4ba14016fd9caec76f08d388f4b9c",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49437-4a7b90f0",
"target": {
"function": "xive_spapr_init",
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"function_hash": "9501204354666992589450069809813339630",
"length": 1533.0
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@65f11ccdd746e0e7f0b469cc989ba43d4f30ecfe",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49437-70829bde",
"target": {
"function": "xive_spapr_init",
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"function_hash": "9501204354666992589450069809813339630",
"length": 1533.0
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d1fb9618bdd5a5fbf9a9eb75133da301d33721c",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49437-b6c412f9",
"target": {
"function": "xive_spapr_init",
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"function_hash": "9501204354666992589450069809813339630",
"length": 1533.0
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cc62dde2a5f4ba14016fd9caec76f08d388f4b9c",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49437-be30f2bd",
"target": {
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"line_hashes": [
"207500025406282262508150223876557779078",
"41639188583026408399411502890150023554",
"292311976339526201240362455297004153042",
"326125618128612381759290965337557176217",
"67879257100985667579467459362390662919",
"167635146479819397160709501190215625923",
"144495385714444540819326953764974489892",
"164772571485035609475247016209854894453",
"81445863864851322956155988806827168295",
"150302260049529732194877123114469225400",
"106344346158568856224361422534019299811",
"250643369639015782498549300751908499016",
"94039623628233154324596624452736113569",
"317563632367033481952351098316215862576",
"315504060332281489891404551887389821561",
"189197421720709260411521309604464342074"
],
"threshold": 0.9
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d1fb9618bdd5a5fbf9a9eb75133da301d33721c",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49437-c3d43c20",
"target": {
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"line_hashes": [
"207500025406282262508150223876557779078",
"41639188583026408399411502890150023554",
"292311976339526201240362455297004153042",
"326125618128612381759290965337557176217",
"67879257100985667579467459362390662919",
"167635146479819397160709501190215625923",
"144495385714444540819326953764974489892",
"164772571485035609475247016209854894453",
"81445863864851322956155988806827168295",
"150302260049529732194877123114469225400",
"106344346158568856224361422534019299811",
"250643369639015782498549300751908499016",
"94039623628233154324596624452736113569",
"317563632367033481952351098316215862576",
"315504060332281489891404551887389821561",
"189197421720709260411521309604464342074"
],
"threshold": 0.9
},
"signature_version": "v1"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e806485d851986a2445267608f27cb4ba2ed774",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49437-d07fdab8",
"target": {
"file": "arch/powerpc/sysdev/xive/spapr.c"
},
"digest": {
"line_hashes": [
"207500025406282262508150223876557779078",
"41639188583026408399411502890150023554",
"292311976339526201240362455297004153042",
"326125618128612381759290965337557176217",
"67879257100985667579467459362390662919",
"167635146479819397160709501190215625923",
"144495385714444540819326953764974489892",
"164772571485035609475247016209854894453",
"81445863864851322956155988806827168295",
"150302260049529732194877123114469225400",
"106344346158568856224361422534019299811",
"250643369639015782498549300751908499016",
"94039623628233154324596624452736113569",
"317563632367033481952351098316215862576",
"315504060332281489891404551887389821561",
"189197421720709260411521309604464342074"
],
"threshold": 0.9
},
"signature_version": "v1"
}
]