In the Linux kernel, the following vulnerability has been resolved:
powerpc/secvar: fix refcount leak in format_show()
Refcount leak will happen when formatshow returns failure in multiple cases. Unified management of ofnode_put can fix this problem.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49113.json"
}[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02222bf4f0a27f6eba66d1f597cdb5daadd51829",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c",
"function": "format_show"
},
"signature_type": "Function",
"id": "CVE-2022-49113-1d61cc74",
"digest": {
"function_hash": "64862614757753514793614447758560667084",
"length": 367.0
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02222bf4f0a27f6eba66d1f597cdb5daadd51829",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c"
},
"signature_type": "Line",
"id": "CVE-2022-49113-44060909",
"digest": {
"line_hashes": [
"321185550940726159740793038957845843740",
"278014279873556411520528212319733596346",
"184795706786399787859889239762681121388",
"315892809711758295739895417436120141140",
"159271683721833246982735270408467279620",
"262457947062937808007691405726644004923",
"43939893409948199812547921419230233621",
"60872823662280163506167624175263801641",
"220879234941691211476400439592558543022"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d601fd24e6964967f115f036a840f4f28488f63f",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c",
"function": "format_show"
},
"signature_type": "Function",
"id": "CVE-2022-49113-56e10b47",
"digest": {
"function_hash": "64862614757753514793614447758560667084",
"length": 367.0
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a71e3ecd829a82013cf095c55068c61d991e885",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c",
"function": "format_show"
},
"signature_type": "Function",
"id": "CVE-2022-49113-941e789f",
"digest": {
"function_hash": "64862614757753514793614447758560667084",
"length": 367.0
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c105ffb6b9744158e37e9f81f0f38861951d1c1f",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c"
},
"signature_type": "Line",
"id": "CVE-2022-49113-b4e3b220",
"digest": {
"line_hashes": [
"321185550940726159740793038957845843740",
"278014279873556411520528212319733596346",
"184795706786399787859889239762681121388",
"315892809711758295739895417436120141140",
"159271683721833246982735270408467279620",
"262457947062937808007691405726644004923",
"43939893409948199812547921419230233621",
"60872823662280163506167624175263801641",
"220879234941691211476400439592558543022"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d601fd24e6964967f115f036a840f4f28488f63f",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c"
},
"signature_type": "Line",
"id": "CVE-2022-49113-d7fdb49c",
"digest": {
"line_hashes": [
"321185550940726159740793038957845843740",
"278014279873556411520528212319733596346",
"184795706786399787859889239762681121388",
"315892809711758295739895417436120141140",
"159271683721833246982735270408467279620",
"262457947062937808007691405726644004923",
"43939893409948199812547921419230233621",
"60872823662280163506167624175263801641",
"220879234941691211476400439592558543022"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2a71e3ecd829a82013cf095c55068c61d991e885",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c"
},
"signature_type": "Line",
"id": "CVE-2022-49113-dbce3445",
"digest": {
"line_hashes": [
"321185550940726159740793038957845843740",
"278014279873556411520528212319733596346",
"184795706786399787859889239762681121388",
"315892809711758295739895417436120141140",
"159271683721833246982735270408467279620",
"262457947062937808007691405726644004923",
"43939893409948199812547921419230233621",
"60872823662280163506167624175263801641",
"220879234941691211476400439592558543022"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d05e4265d33af60b39606c20c731e3e719bfe3d6",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c"
},
"signature_type": "Line",
"id": "CVE-2022-49113-e2dc2b4c",
"digest": {
"line_hashes": [
"321185550940726159740793038957845843740",
"278014279873556411520528212319733596346",
"184795706786399787859889239762681121388",
"315892809711758295739895417436120141140",
"159271683721833246982735270408467279620",
"262457947062937808007691405726644004923",
"43939893409948199812547921419230233621",
"60872823662280163506167624175263801641",
"220879234941691211476400439592558543022"
],
"threshold": 0.9
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d05e4265d33af60b39606c20c731e3e719bfe3d6",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c",
"function": "format_show"
},
"signature_type": "Function",
"id": "CVE-2022-49113-f4f299ef",
"digest": {
"function_hash": "64862614757753514793614447758560667084",
"length": 367.0
}
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c105ffb6b9744158e37e9f81f0f38861951d1c1f",
"deprecated": false,
"target": {
"file": "arch/powerpc/kernel/secvar-sysfs.c",
"function": "format_show"
},
"signature_type": "Function",
"id": "CVE-2022-49113-f71e32fb",
"digest": {
"function_hash": "64862614757753514793614447758560667084",
"length": 367.0
}
}
]