Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50384

published high CVSS 3.1 · 7.8

staging: vme_user: Fix possible UAF in tsi148_dma_list_add

Published
18 Sep 2025, 13:33:05 UTC
Updated
05 Aug 2026, 08:58:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
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.

Affected vendor and product assertions
VendorProductVersion statusSource
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 (CISA-ADP · adp)

References

9

Provider assertions

2

Linux · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected