🛡️ CVE-2022-50145 on Debian — linux
Description
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/threads_per_chan % 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 : vchan_find_desc+0x32/0x46 [ 89.513553] ra : sf_pdma_tx_status+0xca/0xd6 This happens because of data race. Each thread rewrite channels's descriptor as soon as device_prep_dma_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.
Distribution advisory
This page covers CVE-2022-50145 as tracked by Debian, for the package linux. The fix is available in version 6.0.2-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
DEBIAN-CVE-2022-50145 is recorded against 1 package.
- linux (fixed in 6.0.2-1)
Timeline and source
Published on 18 June 2025 and last revised on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-50145 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| linux | — | 6.0.2-1 |
References
Similar Threats
- Unknown CGA-23jx-hhcx-m389
- Unknown CGA-2qp7-6757-fmgc
- Unknown CGA-2rj5-jc55-r267
- Unknown CGA-3m96-cwq8-6xmx
- Unknown CGA-3qj9-973w-fh9g
More DEBIAN CVE 2022 advisories
Browse all of DEBIAN CVE 2022 in the advisory index.
- DEBIAN-CVE-2022-50137
- DEBIAN-CVE-2022-50138
- DEBIAN-CVE-2022-50139
- DEBIAN-CVE-2022-50140
- DEBIAN-CVE-2022-50141
- DEBIAN-CVE-2022-50142
- DEBIAN-CVE-2022-50143
- DEBIAN-CVE-2022-50144
- DEBIAN-CVE-2022-50146
- DEBIAN-CVE-2022-50147
- DEBIAN-CVE-2022-50148
- DEBIAN-CVE-2022-50149
- DEBIAN-CVE-2022-50151
- DEBIAN-CVE-2022-50152
- DEBIAN-CVE-2022-50153
- DEBIAN-CVE-2022-50154
Site Security Check
Is linux part of your stack?
DEBIAN-CVE-2022-50145 is rated CVSS 7.8 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.