CVE-2022-49616

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49616
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49616.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49616
Downstream
Related
Published
2025-02-26T02:23:36Z
Modified
2025-10-21T10:42:06.835597Z
Summary
ASoC: rt7*-sdw: harden jack_detect_handler
Details

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

ASoC: rt7*-sdw: harden jackdetecthandler

Realtek headset codec drivers typically check if the card is instantiated before proceeding with the jack detection.

The rt700, rt711 and rt711-sdca are however missing a check on the card pointer, which can lead to NULL dereferences encountered in driver bind/unbind tests.

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
320b8b0d13b81f3697acff5b6ddb47f88a09c118
Fixed
07a606e1389a63b61cb8cd591026f30529117573
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
320b8b0d13b81f3697acff5b6ddb47f88a09c118
Fixed
1d75b73ec6d6b705cca528b36d8315e43e8d7fa5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
320b8b0d13b81f3697acff5b6ddb47f88a09c118
Fixed
0484271ab0ce50649329fa9dc23c50853c5b26a4

Affected versions

v5.*

v5.10
v5.10-rc1
v5.10-rc2
v5.10-rc3
v5.10-rc4
v5.10-rc5
v5.10-rc6
v5.10-rc7
v5.11
v5.11-rc1
v5.11-rc2
v5.11-rc3
v5.11-rc4
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.49
v5.15.5
v5.15.50
v5.15.51
v5.15.52
v5.15.53
v5.15.54
v5.15.55
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.10
v5.18.11
v5.18.12
v5.18.2
v5.18.3
v5.18.4
v5.18.5
v5.18.6
v5.18.7
v5.18.8
v5.18.9
v5.19-rc1
v5.5
v5.5-rc2
v5.5-rc3
v5.5-rc4
v5.5-rc5
v5.5-rc6
v5.5-rc7
v5.6
v5.6-rc1
v5.6-rc2
v5.6-rc3
v5.6-rc4
v5.6-rc5
v5.6-rc6
v5.6-rc7
v5.7
v5.7-rc1
v5.7-rc2
v5.7-rc3
v5.7-rc4
v5.7-rc5
v5.7-rc6
v5.7-rc7
v5.8
v5.8-rc1
v5.8-rc2
v5.8-rc3
v5.8-rc4
v5.8-rc5
v5.8-rc6
v5.8-rc7
v5.9
v5.9-rc1
v5.9-rc2
v5.9-rc3
v5.9-rc4
v5.9-rc5
v5.9-rc6
v5.9-rc7
v5.9-rc8

Database specific

vanir_signatures

[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
        "signature_version": "v1",
        "digest": {
            "function_hash": "83995116275799052998290521772468795912",
            "length": 1575.0
        },
        "target": {
            "function": "rt711_jack_detect_handler",
            "file": "sound/soc/codecs/rt711.c"
        },
        "id": "CVE-2022-49616-0de784b3",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
        "signature_version": "v1",
        "digest": {
            "function_hash": "98747137763391678641414363995928118822",
            "length": 1381.0
        },
        "target": {
            "function": "rt700_jack_detect_handler",
            "file": "sound/soc/codecs/rt700.c"
        },
        "id": "CVE-2022-49616-379c6561",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
        "signature_version": "v1",
        "digest": {
            "function_hash": "83995116275799052998290521772468795912",
            "length": 1575.0
        },
        "target": {
            "function": "rt711_jack_detect_handler",
            "file": "sound/soc/codecs/rt711.c"
        },
        "id": "CVE-2022-49616-39670933",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "49004266159708010667228372675573316207",
                "153853973034915887963329866457182135529",
                "238117810286002042173533541193523211369",
                "225784590244471339363615935390295460240"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt711.c"
        },
        "id": "CVE-2022-49616-434e0dcd",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
        "signature_version": "v1",
        "digest": {
            "function_hash": "69772533218703229417044313022553300641",
            "length": 1240.0
        },
        "target": {
            "function": "rt711_sdca_jack_detect_handler",
            "file": "sound/soc/codecs/rt711-sdca.c"
        },
        "id": "CVE-2022-49616-51d2ccad",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "49004266159708010667228372675573316207",
                "153853973034915887963329866457182135529",
                "27363902533998157686707936693035648255",
                "70348130311923169363843647593036764703"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt711.c"
        },
        "id": "CVE-2022-49616-60159f9b",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "200743301114884899857509902456071212741",
                "153853973034915887963329866457182135529",
                "3963057828244098929901296444512007631",
                "85622009872710085049704989707789643548"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt711-sdca.c"
        },
        "id": "CVE-2022-49616-a380001f",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "200743301114884899857509902456071212741",
                "153853973034915887963329866457182135529",
                "3963057828244098929901296444512007631",
                "85622009872710085049704989707789643548"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt711-sdca.c"
        },
        "id": "CVE-2022-49616-add00290",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
        "signature_version": "v1",
        "digest": {
            "function_hash": "69772533218703229417044313022553300641",
            "length": 1240.0
        },
        "target": {
            "function": "rt711_sdca_jack_detect_handler",
            "file": "sound/soc/codecs/rt711-sdca.c"
        },
        "id": "CVE-2022-49616-b2351dbc",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "200743301114884899857509902456071212741",
                "153853973034915887963329866457182135529",
                "3963057828244098929901296444512007631",
                "85622009872710085049704989707789643548"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt711-sdca.c"
        },
        "id": "CVE-2022-49616-b61d4135",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
        "signature_version": "v1",
        "digest": {
            "function_hash": "98747137763391678641414363995928118822",
            "length": 1381.0
        },
        "target": {
            "function": "rt700_jack_detect_handler",
            "file": "sound/soc/codecs/rt700.c"
        },
        "id": "CVE-2022-49616-b9992e34",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
        "signature_version": "v1",
        "digest": {
            "function_hash": "197880020109388445692077939138082237058",
            "length": 1381.0
        },
        "target": {
            "function": "rt711_jack_detect_handler",
            "file": "sound/soc/codecs/rt711.c"
        },
        "id": "CVE-2022-49616-cbeba8c1",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "49004266159708010667228372675573316207",
                "153853973034915887963329866457182135529",
                "27363902533998157686707936693035648255",
                "70348130311923169363843647593036764703"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt711.c"
        },
        "id": "CVE-2022-49616-d36a0abf",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
        "signature_version": "v1",
        "digest": {
            "function_hash": "98747137763391678641414363995928118822",
            "length": 1381.0
        },
        "target": {
            "function": "rt700_jack_detect_handler",
            "file": "sound/soc/codecs/rt700.c"
        },
        "id": "CVE-2022-49616-de7122fd",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "32840179547046821599782433949196481958",
                "123545224414618992377639743559363394877",
                "182278824716968644868166920567142195033",
                "124024563675477444366236722764795621665"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt700.c"
        },
        "id": "CVE-2022-49616-ecbf3b43",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1d75b73ec6d6b705cca528b36d8315e43e8d7fa5",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "32840179547046821599782433949196481958",
                "123545224414618992377639743559363394877",
                "182278824716968644868166920567142195033",
                "124024563675477444366236722764795621665"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt700.c"
        },
        "id": "CVE-2022-49616-f2e1bb43",
        "deprecated": false,
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@07a606e1389a63b61cb8cd591026f30529117573",
        "signature_version": "v1",
        "digest": {
            "function_hash": "69772533218703229417044313022553300641",
            "length": 1240.0
        },
        "target": {
            "function": "rt711_sdca_jack_detect_handler",
            "file": "sound/soc/codecs/rt711-sdca.c"
        },
        "id": "CVE-2022-49616-f670bd25",
        "deprecated": false,
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0484271ab0ce50649329fa9dc23c50853c5b26a4",
        "signature_version": "v1",
        "digest": {
            "line_hashes": [
                "32840179547046821599782433949196481958",
                "123545224414618992377639743559363394877",
                "182278824716968644868166920567142195033",
                "124024563675477444366236722764795621665"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "sound/soc/codecs/rt700.c"
        },
        "id": "CVE-2022-49616-fd82cace",
        "deprecated": false,
        "signature_type": "Line"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.15.56
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.13