CVE-2022-49818

Source
https://cve.org/CVERecord?id=CVE-2022-49818
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49818.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49818
Downstream
Related
Published
2025-05-01T14:09:40.957Z
Modified
2026-03-11T07:59:58.078683Z
Summary
mISDN: fix misuse of put_device() in mISDN_register_device()
Details

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

mISDN: fix misuse of putdevice() in mISDNregister_device()

We should not release reference by putdevice() before calling deviceinitialize().

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49818.json"
}
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
d1d1aede313eb2b9a84afd60ff6cfb7c33631e0e
Fixed
44658d65f6b3118f595a1229d7eed74845a5e2ac
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
080aabfb29b2ee9cbb8894a1d039651943d3773e
Fixed
81db4f182744acd004f17d7cc52dde9ea53467e6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a636fc5a7cabd05699b5692ad838c2c7a3abec7b
Fixed
d40b35a7922f4df3767ad6fb8ef3dc86e31d7ba3
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2ff6b669523d3b3d253a044fa9636a67d0694995
Fixed
83672c1b83d107b0d4fe0accf1bf64d8988398e6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e77d213843e67b4373285712699b692f9c743f61
Fixed
709aa1f73d3e9e9ea16e2c4e44f2874c5d2c382c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
029d5b7688a2f3a86f2a3be5a6ba9cc968c80e41
Fixed
596230471da3415e92ae6b9d2a4e26f4a81cac5a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0d4e91efcaee081e919b3c50e875ecbb84290e41
Fixed
87b336aa158201dc30a318431e63e8c5b26c4156
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e7d1d4d9ac0dfa40be4c2c8abd0731659869b297
Fixed
2d25107e111a85c56f601a5470f1780ec054e6ac

Affected versions

v4.*
v4.14.299
v4.19.265
v4.19.266
v4.9.333
v5.*
v5.10.154
v5.10.155
v5.15.78
v5.15.79
v5.4.224
v6.*
v6.0.8
v6.0.9
v6.1-rc3
v6.1-rc4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49818.json"
vanir_signatures
[
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@709aa1f73d3e9e9ea16e2c4e44f2874c5d2c382c",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-04bbb6a0",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d25107e111a85c56f601a5470f1780ec054e6ac",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-0a80246a",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81db4f182744acd004f17d7cc52dde9ea53467e6",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-0e3d30b8",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d40b35a7922f4df3767ad6fb8ef3dc86e31d7ba3",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-12919a41",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@44658d65f6b3118f595a1229d7eed74845a5e2ac",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-1a0f15ca",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@596230471da3415e92ae6b9d2a4e26f4a81cac5a",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-1b3f63ae",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@596230471da3415e92ae6b9d2a4e26f4a81cac5a",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-3d2d5fbc",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87b336aa158201dc30a318431e63e8c5b26c4156",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-485736ff",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87b336aa158201dc30a318431e63e8c5b26c4156",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-4925087d",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d40b35a7922f4df3767ad6fb8ef3dc86e31d7ba3",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-619b54bd",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@44658d65f6b3118f595a1229d7eed74845a5e2ac",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-83945d83",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@81db4f182744acd004f17d7cc52dde9ea53467e6",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-b8c01f7a",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2d25107e111a85c56f601a5470f1780ec054e6ac",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-c8d31521",
        "signature_type": "Function"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@709aa1f73d3e9e9ea16e2c4e44f2874c5d2c382c",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-c8eb7d9f",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83672c1b83d107b0d4fe0accf1bf64d8988398e6",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "187323739669219807060840516577667384488",
                "214717420505717834496479904065001277285",
                "254796737086686750409776915627471818248",
                "103872206992169856060847346447597938488"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-49818-f10a62e7",
        "signature_type": "Line"
    },
    {
        "signature_version": "v1",
        "target": {
            "file": "drivers/isdn/mISDN/core.c",
            "function": "mISDN_register_device"
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@83672c1b83d107b0d4fe0accf1bf64d8988398e6",
        "deprecated": false,
        "digest": {
            "function_hash": "107254844287582070991849801914756453297",
            "length": 806.0
        },
        "id": "CVE-2022-49818-fa7671cf",
        "signature_type": "Function"
    }
]