CVE-2022-49717

Source
https://cve.org/CVERecord?id=CVE-2022-49717
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49717.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49717
Downstream
Published
2025-02-26T02:24:32.231Z
Modified
2026-03-11T06:44:11.460931Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
irqchip/apple-aic: Fix refcount leak in build_fiq_affinity
Details

In the Linux kernel, the following vulnerability has been resolved:

irqchip/apple-aic: Fix refcount leak in buildfiqaffinity

offindnodebyphandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnodeput() to avoid refcount leak.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49717.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a5e8801202b318622ea526aa5625e5f7eceb4d26
Fixed
2dc14cebe5dc053434b507bb24e6821cb795050f
Fixed
b1ac803f47cb1615468f35cf1ccb553c52087301

Affected versions

v5.*
v5.17
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.18.1
v5.18.2
v5.18.3
v5.18.4
v5.18.5
v5.19-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49717.json"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26942175856559957245930618320493520227",
                "282076429211591243667530459276256710668",
                "194486679971621111898747462930034106899",
                "39182841020673343994838601713976858698"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2dc14cebe5dc053434b507bb24e6821cb795050f",
        "signature_type": "Line",
        "id": "CVE-2022-49717-1d599c1e",
        "target": {
            "file": "drivers/irqchip/irq-apple-aic.c"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "20645918082213400876262742463058068328",
            "length": 764.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b1ac803f47cb1615468f35cf1ccb553c52087301",
        "signature_type": "Function",
        "id": "CVE-2022-49717-4188a1ff",
        "target": {
            "file": "drivers/irqchip/irq-apple-aic.c",
            "function": "build_fiq_affinity"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "26942175856559957245930618320493520227",
                "282076429211591243667530459276256710668",
                "194486679971621111898747462930034106899",
                "39182841020673343994838601713976858698"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b1ac803f47cb1615468f35cf1ccb553c52087301",
        "signature_type": "Line",
        "id": "CVE-2022-49717-8f18b092",
        "target": {
            "file": "drivers/irqchip/irq-apple-aic.c"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "20645918082213400876262742463058068328",
            "length": 764.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2dc14cebe5dc053434b507bb24e6821cb795050f",
        "signature_type": "Function",
        "id": "CVE-2022-49717-fc816112",
        "target": {
            "file": "drivers/irqchip/irq-apple-aic.c",
            "function": "build_fiq_affinity"
        }
    }
]