In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic-v3: Fix error handling in gicpopulateppi_partitions
ofgetchildbyname() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. When kcalloc fails, it missing ofnodeput() and results in refcount leak. Fix this by goto outputnode label.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49716.json"
}[
{
"digest": {
"length": 1686.0,
"function_hash": "87899257098882428680362794456425828546"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49716-1aa69c12",
"target": {
"function": "gic_populate_ppi_partitions",
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec8401a429ffee34ccf38cebf3443f8d5ae6cb0d"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"116324079099994093845235439260412104323",
"118809756705487264592952471260473574589",
"32030242434613651829068599426569485165",
"28716260206742767329941345110180659245"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49716-1f8deef5",
"target": {
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58e67c81e229351027d28c610638378606e33a08"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"116324079099994093845235439260412104323",
"118809756705487264592952471260473574589",
"32030242434613651829068599426569485165",
"28716260206742767329941345110180659245"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49716-243988c6",
"target": {
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c9dd9d23f26dabcfb14148b9acdfba540418b19"
},
{
"digest": {
"length": 1686.0,
"function_hash": "87899257098882428680362794456425828546"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49716-3db081bb",
"target": {
"function": "gic_populate_ppi_partitions",
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58e67c81e229351027d28c610638378606e33a08"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"116324079099994093845235439260412104323",
"118809756705487264592952471260473574589",
"32030242434613651829068599426569485165",
"28716260206742767329941345110180659245"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49716-3f524482",
"target": {
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b325d993995a321f6ab4e6c51f0504ec092bf5b"
},
{
"digest": {
"length": 1686.0,
"function_hash": "87899257098882428680362794456425828546"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49716-a3ae3b97",
"target": {
"function": "gic_populate_ppi_partitions",
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b325d993995a321f6ab4e6c51f0504ec092bf5b"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"116324079099994093845235439260412104323",
"118809756705487264592952471260473574589",
"32030242434613651829068599426569485165",
"28716260206742767329941345110180659245"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49716-a45982b7",
"target": {
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ec8401a429ffee34ccf38cebf3443f8d5ae6cb0d"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"116324079099994093845235439260412104323",
"118809756705487264592952471260473574589",
"32030242434613651829068599426569485165",
"28716260206742767329941345110180659245"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-49716-b6f2ab96",
"target": {
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c83c34c57798fc41faefcf078be78683db2f4beb"
},
{
"digest": {
"length": 1686.0,
"function_hash": "87899257098882428680362794456425828546"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49716-ce09ff33",
"target": {
"function": "gic_populate_ppi_partitions",
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c83c34c57798fc41faefcf078be78683db2f4beb"
},
{
"digest": {
"length": 1686.0,
"function_hash": "87899257098882428680362794456425828546"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-49716-f7c6db14",
"target": {
"function": "gic_populate_ppi_partitions",
"file": "drivers/irqchip/irq-gic-v3.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7c9dd9d23f26dabcfb14148b9acdfba540418b19"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49716.json"