CVE-2022-49714

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49714
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49714.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49714
Downstream
Related
Published
2025-02-26T02:24:30Z
Modified
2025-10-21T10:58:36.212205Z
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/realtek-rtl: Fix refcount leak in map_interrupts
Details

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

irqchip/realtek-rtl: Fix refcount leak in map_interrupts

offindnodebyphandle() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. This function doesn't call ofnodeput() in error path. Call ofnodeput() directly after ofpropertyread_u32() to cover both normal path and error path.

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
9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143
Fixed
e85b1b797de0e7a271b906291ce28245822820b8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143
Fixed
f6d6223df0666fbc054e3a8c6ac14eb0af37c286
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143
Fixed
eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce

Affected versions

v5.*

v5.11
v5.11-rc5
v5.11-rc6
v5.11-rc7
v5.12
v5.12-rc1
v5.12-rc1-dontuse
v5.12-rc2
v5.12-rc3
v5.12-rc4
v5.12-rc5
v5.12-rc6
v5.12-rc7
v5.12-rc8
v5.13
v5.13-rc1
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.15.1
v5.15.10
v5.15.11
v5.15.12
v5.15.13
v5.15.14
v5.15.15
v5.15.16
v5.15.17
v5.15.18
v5.15.19
v5.15.2
v5.15.20
v5.15.21
v5.15.22
v5.15.23
v5.15.24
v5.15.25
v5.15.26
v5.15.27
v5.15.28
v5.15.29
v5.15.3
v5.15.30
v5.15.31
v5.15.32
v5.15.33
v5.15.34
v5.15.35
v5.15.36
v5.15.37
v5.15.38
v5.15.39
v5.15.4
v5.15.40
v5.15.41
v5.15.42
v5.15.43
v5.15.44
v5.15.45
v5.15.46
v5.15.47
v5.15.48
v5.15.5
v5.15.6
v5.15.7
v5.15.8
v5.15.9
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
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

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e85b1b797de0e7a271b906291ce28245822820b8",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "map_interrupts",
            "file": "drivers/irqchip/irq-realtek-rtl.c"
        },
        "id": "CVE-2022-49714-01b8919f",
        "signature_type": "Function",
        "digest": {
            "length": 1150.0,
            "function_hash": "234743716808975685259209063869395586173"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/irqchip/irq-realtek-rtl.c"
        },
        "id": "CVE-2022-49714-1b07ad8a",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "303273964052786095960596145144342167962",
                "299108738768463880581668216230964093788",
                "157719566300311162616140120304712506722",
                "45661820007913366436942884686067715480",
                "255021028811540772493779172909215020718",
                "36820622426479145378926306289763874669",
                "39720206268620431982183215475781990180"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6d6223df0666fbc054e3a8c6ac14eb0af37c286",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/irqchip/irq-realtek-rtl.c"
        },
        "id": "CVE-2022-49714-7d533f04",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "303273964052786095960596145144342167962",
                "299108738768463880581668216230964093788",
                "157719566300311162616140120304712506722",
                "45661820007913366436942884686067715480",
                "255021028811540772493779172909215020718",
                "36820622426479145378926306289763874669",
                "39720206268620431982183215475781990180"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e85b1b797de0e7a271b906291ce28245822820b8",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/irqchip/irq-realtek-rtl.c"
        },
        "id": "CVE-2022-49714-db2133a2",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "303273964052786095960596145144342167962",
                "299108738768463880581668216230964093788",
                "157719566300311162616140120304712506722",
                "45661820007913366436942884686067715480",
                "255021028811540772493779172909215020718",
                "36820622426479145378926306289763874669",
                "39720206268620431982183215475781990180"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6d6223df0666fbc054e3a8c6ac14eb0af37c286",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "map_interrupts",
            "file": "drivers/irqchip/irq-realtek-rtl.c"
        },
        "id": "CVE-2022-49714-f0b05af0",
        "signature_type": "Function",
        "digest": {
            "length": 1150.0,
            "function_hash": "234743716808975685259209063869395586173"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "map_interrupts",
            "file": "drivers/irqchip/irq-realtek-rtl.c"
        },
        "id": "CVE-2022-49714-fd5294ec",
        "signature_type": "Function",
        "digest": {
            "length": 1150.0,
            "function_hash": "234743716808975685259209063869395586173"
        }
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.12.0
Fixed
5.15.49
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.6