CVE-2022-50145

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50145
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50145.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50145
Downstream
Related
Published
2025-06-18T11:03:06Z
Modified
2025-10-21T12:32:48.096241Z
Summary
dmaengine: sf-pdma: Add multithread support for a DMA channel
Details

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

dmaengine: sf-pdma: Add multithread support for a DMA channel

When we get a DMA channel and try to use it in multiple threads it will cause oops and hanging the system.

% echo 64 > /sys/module/dmatest/parameters/threadsperchan % echo 10000 > /sys/module/dmatest/parameters/iterations % echo 1 > /sys/module/dmatest/parameters/run [ 89.480664] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a0 [ 89.488725] Oops [#1] [ 89.494708] CPU: 2 PID: 1008 Comm: dma0chan0-copy0 Not tainted 5.17.0-rc5 [ 89.509385] epc : vchanfinddesc+0x32/0x46 [ 89.513553] ra : sfpdmatx_status+0xca/0xd6

This happens because of data race. Each thread rewrite channels's descriptor as soon as deviceprepdma_memcpy() is called. It leads to the situation when the driver thinks that it uses right descriptor that actually is freed or substituted for other one.

With current fixes a descriptor changes its value only when it has been used. A new descriptor is acquired from vc->desc_issued queue that is already filled with descriptors that are ready to be sent. Threads have no direct access to DMA channel descriptor. Now it is just possible to queue a descriptor for further processing.

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
6973886ad58e6b4988813331abb76ae0b364a9c2
Fixed
b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6973886ad58e6b4988813331abb76ae0b364a9c2
Fixed
5ab2782c944e324008ef5d658f2494a9f0e3c5ac
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6973886ad58e6b4988813331abb76ae0b364a9c2
Fixed
4c7350b1dd8a192af844de32fc99b9e34c876fda
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6973886ad58e6b4988813331abb76ae0b364a9c2
Fixed
a93b3f1e11971a91b6441b6d47488f4492cc113f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6973886ad58e6b4988813331abb76ae0b364a9c2
Fixed
b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc

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.10.1
v5.10.10
v5.10.100
v5.10.101
v5.10.102
v5.10.103
v5.10.104
v5.10.105
v5.10.106
v5.10.107
v5.10.108
v5.10.109
v5.10.11
v5.10.110
v5.10.111
v5.10.112
v5.10.113
v5.10.114
v5.10.115
v5.10.116
v5.10.117
v5.10.118
v5.10.119
v5.10.12
v5.10.120
v5.10.121
v5.10.122
v5.10.123
v5.10.124
v5.10.125
v5.10.126
v5.10.127
v5.10.128
v5.10.129
v5.10.13
v5.10.130
v5.10.131
v5.10.132
v5.10.133
v5.10.134
v5.10.135
v5.10.136
v5.10.14
v5.10.15
v5.10.16
v5.10.17
v5.10.18
v5.10.19
v5.10.2
v5.10.20
v5.10.21
v5.10.22
v5.10.23
v5.10.24
v5.10.25
v5.10.26
v5.10.27
v5.10.28
v5.10.29
v5.10.3
v5.10.30
v5.10.31
v5.10.32
v5.10.33
v5.10.34
v5.10.35
v5.10.36
v5.10.37
v5.10.38
v5.10.39
v5.10.4
v5.10.40
v5.10.41
v5.10.42
v5.10.43
v5.10.44
v5.10.45
v5.10.46
v5.10.47
v5.10.48
v5.10.49
v5.10.5
v5.10.50
v5.10.51
v5.10.52
v5.10.53
v5.10.54
v5.10.55
v5.10.56
v5.10.57
v5.10.58
v5.10.59
v5.10.6
v5.10.60
v5.10.61
v5.10.62
v5.10.63
v5.10.64
v5.10.65
v5.10.66
v5.10.67
v5.10.68
v5.10.69
v5.10.7
v5.10.70
v5.10.71
v5.10.72
v5.10.73
v5.10.74
v5.10.75
v5.10.76
v5.10.77
v5.10.78
v5.10.79
v5.10.8
v5.10.80
v5.10.81
v5.10.82
v5.10.83
v5.10.84
v5.10.85
v5.10.86
v5.10.87
v5.10.88
v5.10.89
v5.10.9
v5.10.90
v5.10.91
v5.10.92
v5.10.93
v5.10.94
v5.10.95
v5.10.96
v5.10.97
v5.10.98
v5.10.99
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.56
v5.15.57
v5.15.58
v5.15.59
v5.15.6
v5.15.60
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.13
v5.18.14
v5.18.15
v5.18.16
v5.18.17
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
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v5.19.1
v5.4
v5.4-rc2
v5.4-rc3
v5.4-rc4
v5.4-rc5
v5.4-rc6
v5.4-rc7
v5.4-rc8
v5.5
v5.5-rc1
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@b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-071018a1",
        "target": {
            "function": "sf_pdma_desc_residue",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 575.0,
            "function_hash": "157266763201551909405496001362673277248"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c7350b1dd8a192af844de32fc99b9e34c876fda",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-09225a33",
        "target": {
            "function": "sf_pdma_prep_dma_memcpy",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 681.0,
            "function_hash": "308095031464964091407869530177836118804"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-0aee78f7",
        "target": {
            "function": "sf_pdma_alloc_desc",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 379.0,
            "function_hash": "224730111474512974009921371277370408135"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a93b3f1e11971a91b6441b6d47488f4492cc113f",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-0fe52552",
        "target": {
            "function": "sf_pdma_prep_dma_memcpy",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 681.0,
            "function_hash": "308095031464964091407869530177836118804"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c7350b1dd8a192af844de32fc99b9e34c876fda",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-1070df6b",
        "target": {
            "function": "sf_pdma_alloc_desc",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 379.0,
            "function_hash": "224730111474512974009921371277370408135"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c7350b1dd8a192af844de32fc99b9e34c876fda",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-1bbe3bc6",
        "target": {
            "function": "sf_pdma_issue_pending",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 254.0,
            "function_hash": "123650206531936322548992831255904282560"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab2782c944e324008ef5d658f2494a9f0e3c5ac",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-1edd04ae",
        "target": {
            "function": "sf_pdma_alloc_desc",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 379.0,
            "function_hash": "224730111474512974009921371277370408135"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a93b3f1e11971a91b6441b6d47488f4492cc113f",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-23dff5d3",
        "target": {
            "function": "sf_pdma_alloc_desc",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 379.0,
            "function_hash": "224730111474512974009921371277370408135"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-43bb58e5",
        "target": {
            "function": "sf_pdma_issue_pending",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 254.0,
            "function_hash": "123650206531936322548992831255904282560"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-4485f5df",
        "target": {
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "291961346317629786579481827788688510284",
                "259162868484029396872281925351891822924",
                "134368410307358463390371428521069322654",
                "130682968905938741425663110520650418627",
                "36940214733811331506187709535917050662",
                "338248795254505079126866942448589479803",
                "133241102696449361531934216098173251194",
                "264585681329087023019052031063526667461",
                "117699908751013805475383353504198880699",
                "9215922364240650589187841304801190128",
                "150471568864775350771009676651656079155",
                "10231430554432292353074617226425133663",
                "38995910762475930043535831514667903204",
                "77294566258400885524382037001240440389",
                "98946839002793939005663050652658259469",
                "41624271666222266311583493131516072632",
                "106760926677677456342702938689567613071",
                "260531335572723160761358997432106100599",
                "190141120379220575314737026160300122801",
                "331732495220645818323284342151849320903",
                "113983488732670049802711067244602027778",
                "214989070768245599793371148163870180100",
                "101905738913272632074560232588628823047",
                "101869303501050161083736556485950723851",
                "48039163646327896446695672228094810930",
                "242786665716297373878099785436165860148",
                "138138021875606873016116080087498727093",
                "59986646100531878534449825456680697923",
                "169663897095206341350950200360377010565",
                "249102404626893933940998529720585129233",
                "99775436996281610744007039574298743307",
                "309820522554561127875057942296934494008"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-4baea3d3",
        "target": {
            "function": "sf_pdma_desc_residue",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 575.0,
            "function_hash": "157266763201551909405496001362673277248"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a93b3f1e11971a91b6441b6d47488f4492cc113f",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-58187100",
        "target": {
            "function": "sf_pdma_issue_pending",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 254.0,
            "function_hash": "123650206531936322548992831255904282560"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab2782c944e324008ef5d658f2494a9f0e3c5ac",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-5ac33bef",
        "target": {
            "function": "sf_pdma_prep_dma_memcpy",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 681.0,
            "function_hash": "308095031464964091407869530177836118804"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-5b2c164f",
        "target": {
            "function": "sf_pdma_prep_dma_memcpy",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 681.0,
            "function_hash": "308095031464964091407869530177836118804"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a93b3f1e11971a91b6441b6d47488f4492cc113f",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-5c995949",
        "target": {
            "function": "sf_pdma_desc_residue",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 575.0,
            "function_hash": "157266763201551909405496001362673277248"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-5eef7237",
        "target": {
            "function": "sf_pdma_issue_pending",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 254.0,
            "function_hash": "123650206531936322548992831255904282560"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a93b3f1e11971a91b6441b6d47488f4492cc113f",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-664a8d25",
        "target": {
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "291961346317629786579481827788688510284",
                "259162868484029396872281925351891822924",
                "134368410307358463390371428521069322654",
                "130682968905938741425663110520650418627",
                "36940214733811331506187709535917050662",
                "338248795254505079126866942448589479803",
                "133241102696449361531934216098173251194",
                "264585681329087023019052031063526667461",
                "117699908751013805475383353504198880699",
                "9215922364240650589187841304801190128",
                "150471568864775350771009676651656079155",
                "10231430554432292353074617226425133663",
                "38995910762475930043535831514667903204",
                "77294566258400885524382037001240440389",
                "98946839002793939005663050652658259469",
                "41624271666222266311583493131516072632",
                "106760926677677456342702938689567613071",
                "260531335572723160761358997432106100599",
                "190141120379220575314737026160300122801",
                "331732495220645818323284342151849320903",
                "113983488732670049802711067244602027778",
                "214989070768245599793371148163870180100",
                "101905738913272632074560232588628823047",
                "101869303501050161083736556485950723851",
                "48039163646327896446695672228094810930",
                "242786665716297373878099785436165860148",
                "138138021875606873016116080087498727093",
                "59986646100531878534449825456680697923",
                "169663897095206341350950200360377010565",
                "249102404626893933940998529720585129233",
                "99775436996281610744007039574298743307",
                "309820522554561127875057942296934494008"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab2782c944e324008ef5d658f2494a9f0e3c5ac",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-791591bb",
        "target": {
            "function": "sf_pdma_issue_pending",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 254.0,
            "function_hash": "123650206531936322548992831255904282560"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab2782c944e324008ef5d658f2494a9f0e3c5ac",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-835e02e7",
        "target": {
            "function": "sf_pdma_desc_residue",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 575.0,
            "function_hash": "157266763201551909405496001362673277248"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c7350b1dd8a192af844de32fc99b9e34c876fda",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-9b693389",
        "target": {
            "function": "sf_pdma_donebh_tasklet",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 472.0,
            "function_hash": "33831463777034141389822582311904111650"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a93b3f1e11971a91b6441b6d47488f4492cc113f",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-b1c12588",
        "target": {
            "function": "sf_pdma_donebh_tasklet",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 472.0,
            "function_hash": "33831463777034141389822582311904111650"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-b9f7530c",
        "target": {
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "291961346317629786579481827788688510284",
                "259162868484029396872281925351891822924",
                "134368410307358463390371428521069322654",
                "130682968905938741425663110520650418627",
                "36940214733811331506187709535917050662",
                "338248795254505079126866942448589479803",
                "133241102696449361531934216098173251194",
                "264585681329087023019052031063526667461",
                "117699908751013805475383353504198880699",
                "9215922364240650589187841304801190128",
                "150471568864775350771009676651656079155",
                "10231430554432292353074617226425133663",
                "38995910762475930043535831514667903204",
                "77294566258400885524382037001240440389",
                "98946839002793939005663050652658259469",
                "41624271666222266311583493131516072632",
                "106760926677677456342702938689567613071",
                "260531335572723160761358997432106100599",
                "190141120379220575314737026160300122801",
                "331732495220645818323284342151849320903",
                "113983488732670049802711067244602027778",
                "214989070768245599793371148163870180100",
                "101905738913272632074560232588628823047",
                "101869303501050161083736556485950723851",
                "48039163646327896446695672228094810930",
                "242786665716297373878099785436165860148",
                "138138021875606873016116080087498727093",
                "59986646100531878534449825456680697923",
                "169663897095206341350950200360377010565",
                "249102404626893933940998529720585129233",
                "99775436996281610744007039574298743307",
                "309820522554561127875057942296934494008"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab2782c944e324008ef5d658f2494a9f0e3c5ac",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-c267fb2d",
        "target": {
            "function": "sf_pdma_donebh_tasklet",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 472.0,
            "function_hash": "33831463777034141389822582311904111650"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c7350b1dd8a192af844de32fc99b9e34c876fda",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-cd9e7c97",
        "target": {
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "291961346317629786579481827788688510284",
                "259162868484029396872281925351891822924",
                "134368410307358463390371428521069322654",
                "130682968905938741425663110520650418627",
                "36940214733811331506187709535917050662",
                "338248795254505079126866942448589479803",
                "133241102696449361531934216098173251194",
                "264585681329087023019052031063526667461",
                "117699908751013805475383353504198880699",
                "9215922364240650589187841304801190128",
                "150471568864775350771009676651656079155",
                "10231430554432292353074617226425133663",
                "38995910762475930043535831514667903204",
                "77294566258400885524382037001240440389",
                "98946839002793939005663050652658259469",
                "41624271666222266311583493131516072632",
                "106760926677677456342702938689567613071",
                "260531335572723160761358997432106100599",
                "190141120379220575314737026160300122801",
                "331732495220645818323284342151849320903",
                "113983488732670049802711067244602027778",
                "214989070768245599793371148163870180100",
                "101905738913272632074560232588628823047",
                "101869303501050161083736556485950723851",
                "48039163646327896446695672228094810930",
                "242786665716297373878099785436165860148",
                "138138021875606873016116080087498727093",
                "59986646100531878534449825456680697923",
                "169663897095206341350950200360377010565",
                "249102404626893933940998529720585129233",
                "99775436996281610744007039574298743307",
                "309820522554561127875057942296934494008"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c7350b1dd8a192af844de32fc99b9e34c876fda",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-d21585e8",
        "target": {
            "function": "sf_pdma_desc_residue",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 575.0,
            "function_hash": "157266763201551909405496001362673277248"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b2cc5c465c2cb8ab697c3fd6583c614e3f6cfbcc",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-d2335957",
        "target": {
            "function": "sf_pdma_donebh_tasklet",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 472.0,
            "function_hash": "33831463777034141389822582311904111650"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-d5c75a48",
        "target": {
            "function": "sf_pdma_alloc_desc",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 379.0,
            "function_hash": "224730111474512974009921371277370408135"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-da4bb322",
        "target": {
            "function": "sf_pdma_donebh_tasklet",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 472.0,
            "function_hash": "33831463777034141389822582311904111650"
        },
        "signature_type": "Function"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5ab2782c944e324008ef5d658f2494a9f0e3c5ac",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-e28b93c8",
        "target": {
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "291961346317629786579481827788688510284",
                "259162868484029396872281925351891822924",
                "134368410307358463390371428521069322654",
                "130682968905938741425663110520650418627",
                "36940214733811331506187709535917050662",
                "338248795254505079126866942448589479803",
                "133241102696449361531934216098173251194",
                "264585681329087023019052031063526667461",
                "117699908751013805475383353504198880699",
                "9215922364240650589187841304801190128",
                "150471568864775350771009676651656079155",
                "10231430554432292353074617226425133663",
                "38995910762475930043535831514667903204",
                "77294566258400885524382037001240440389",
                "98946839002793939005663050652658259469",
                "41624271666222266311583493131516072632",
                "106760926677677456342702938689567613071",
                "260531335572723160761358997432106100599",
                "190141120379220575314737026160300122801",
                "331732495220645818323284342151849320903",
                "113983488732670049802711067244602027778",
                "214989070768245599793371148163870180100",
                "101905738913272632074560232588628823047",
                "101869303501050161083736556485950723851",
                "48039163646327896446695672228094810930",
                "242786665716297373878099785436165860148",
                "138138021875606873016116080087498727093",
                "59986646100531878534449825456680697923",
                "169663897095206341350950200360377010565",
                "249102404626893933940998529720585129233",
                "99775436996281610744007039574298743307",
                "309820522554561127875057942296934494008"
            ]
        },
        "signature_type": "Line"
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b9b4992f897be9b0b9e3a3b956cab6b75ccc3f11",
        "signature_version": "v1",
        "deprecated": false,
        "id": "CVE-2022-50145-f31be426",
        "target": {
            "function": "sf_pdma_prep_dma_memcpy",
            "file": "drivers/dma/sf-pdma/sf-pdma.c"
        },
        "digest": {
            "length": 681.0,
            "function_hash": "308095031464964091407869530177836118804"
        },
        "signature_type": "Function"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.137
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.61
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.18
Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.2