CVE-2022-50384
published high CVSS 3.1 · 7.8staging: vme_user: Fix possible UAF in tsi148_dma_list_add
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb2383c90a9d691201b9aee557776694cde86a935 to < 5cc4eea715a3fcf4e516662f736dfee63979465f · b2383c90a9d691201b9aee557776694cde86a935 to < 51c0ad3b7c5b01f9314758335a13f157b05fa56d · b2383c90a9d691201b9aee557776694cde86a935 to < e6b0adff99edf246ba1f8d464530a0438cb1cbda · b2383c90a9d691201b9aee557776694cde86a935 to < a45ba33d398a821147d7e5f16ead7eb125e331e2 · b2383c90a9d691201b9aee557776694cde86a935 to < 5d2b286eb034af114f67d9967fc3fbc1829bb712 · b2383c90a9d691201b9aee557776694cde86a935 to < 1f5661388f43df3ac106ce93e67d8d22b16a78ff · b2383c90a9d691201b9aee557776694cde86a935 to < cf138759a7e92c75cfc1b7ba705e4108fe330edf · b2383c90a9d691201b9aee557776694cde86a935 to < 85db68fc901da52314ded80aace99f8b684c7815 · b2383c90a9d691201b9aee557776694cde86a935 to < 357057ee55d3c99a5de5abe8150f7bca04f8e53b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.2 (affected) · 0 to < 4.2 (unaffected · semver) · 4.9.337 through 4.9.* (unaffected · semver) · 4.14.303 through 4.14.* (unaffected · semver) · 4.19.270 through 4.19.* (unaffected · semver) · 5.4.229 through 5.4.* (unaffected · semver) · 5.10.163 through 5.10.* (unaffected · semver) · 5.15.86 through 5.15.* (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: staging: vme_user: Fix possible UAF in tsi148_dma_list_add Smatch report warning as follows: drivers/staging/vme_user/vme_tsi148.c:1757 tsi148_dma_list_add() warn: '&entry->list' not removed from list In tsi148_dma_list_add(), the error path "goto err_dma" will not remove entry->list from list->entries, but entry will be freed, then list traversal may cause UAF. Fix by removeing it from list->entries before free().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is in the TSI148 VME bridge DMA-list builder (`tsi148_dma_list_add`), reached only through the local VME DMA API (`vme_dma_list_add`) used by VME device drivers on systems with the PCI TSI148 bridge—not via network packets or physical attachment alone. AC:L - An attacker who can drive DMA-list add/free can induce a `dma_map_single` failure (IOVA/swiotlb exhaustion), leave the freed entry linked, then trigger UAF on the next add (`prev->descriptor` write), `tsi148_dma_list_exec`, or `tsi148_dma_list_empty`; no attacker-uncontrollable race is required. PR:L - The VME DMA path has no `capable()`/`CAP_*` gate—only whatever DAC the consuming driver/device node applies. On TSI148 industrial/DAQ deployments (the intended consumers of this EXPORT_SYMBOL API), a non-root service account with VME device access is a reasonable worst case, matching CVE-2026-64449 for this subsystem. UI:N - The attacker initiates the DMA-list operations that hit the err_dma path and subsequent list walk themselves; no separate victim action is required. S:U - This is a standard in-kernel heap UAF within the host VME bridge driver and does not cross a VM, IOMMU, or other security-authority boundary. C:H - Use-after-free of the linked `tsi148_dma_entry` lets an attacker reclaim the object and control contents read on later list traversal/exec, enabling arbitrary kernel memory disclosure per UAF guidance. I:H - The same dangling list entry is written via the next-add prev-link update, and `tsi148_dma_list_empty` can double-free/unmap with a garbage `dma_handle`, yielding heap corruption and control-flow hijack primitives. A:H - Any subsequent list walk of the freed entry (empty/exec/add) can oops/panic the kernel, so availability impact is High even without full exploitation.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b2383c90a9d691201b9aee557776694cde86a935 to < 5cc4eea715a3fcf4e516662f736dfee63979465f (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < 51c0ad3b7c5b01f9314758335a13f157b05fa56d (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < e6b0adff99edf246ba1f8d464530a0438cb1cbda (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < a45ba33d398a821147d7e5f16ead7eb125e331e2 (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < 5d2b286eb034af114f67d9967fc3fbc1829bb712 (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < 1f5661388f43df3ac106ce93e67d8d22b16a78ff (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < cf138759a7e92c75cfc1b7ba705e4108fe330edf (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < 85db68fc901da52314ded80aace99f8b684c7815 (affected · git)b2383c90a9d691201b9aee557776694cde86a935 to < 357057ee55d3c99a5de5abe8150f7bca04f8e53b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.2 (affected)0 to < 4.2 (unaffected · semver)4.9.337 through 4.9.* (unaffected · semver)4.14.303 through 4.14.* (unaffected · semver)4.19.270 through 4.19.* (unaffected · semver)5.4.229 through 5.4.* (unaffected · semver)5.10.163 through 5.10.* (unaffected · semver)5.15.86 through 5.15.* (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
9- https://git.kernel.org/stable/c/1f5661388f43df3ac106ce93e67d8d22b16a78ff
- https://git.kernel.org/stable/c/357057ee55d3c99a5de5abe8150f7bca04f8e53b
- https://git.kernel.org/stable/c/51c0ad3b7c5b01f9314758335a13f157b05fa56d
- https://git.kernel.org/stable/c/5cc4eea715a3fcf4e516662f736dfee63979465f
- https://git.kernel.org/stable/c/5d2b286eb034af114f67d9967fc3fbc1829bb712
- https://git.kernel.org/stable/c/85db68fc901da52314ded80aace99f8b684c7815
- https://git.kernel.org/stable/c/a45ba33d398a821147d7e5f16ead7eb125e331e2
- https://git.kernel.org/stable/c/cf138759a7e92c75cfc1b7ba705e4108fe330edf
- https://git.kernel.org/stable/c/e6b0adff99edf246ba1f8d464530a0438cb1cbda
Provider assertions
2Linux · cna
staging: vme_user: Fix possible UAF in tsi148_dma_list_add
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 95609e14fb9c4fe75cadd2aa931c2f82df1b65b291256647226f5a3e3a7d8520
- Ingested
- 23 Sep 2026, 08:04:48 UTC
- Source record
- Official CVE record