# CVE-2022-50384: staging: vme\_user: Fix possible UAF in tsi148\_dma\_list\_add

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-09-18T13:33:05.759Z
- **Modified:** 2026-08-05T08:58:29.333Z

## Who should check

- Anyone running Linux \>= b2383c90a9d691201b9aee557776694cde86a935, \< 5cc4eea715a3fcf4e516662f736dfee63979465f; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 51c0ad3b7c5b01f9314758335a13f157b05fa56d; \>= b2383c90a9d691201b9aee557776694cde86a935, \< e6b0adff99edf246ba1f8d464530a0438cb1cbda; \>= b2383c90a9d691201b9aee557776694cde86a935, \< a45ba33d398a821147d7e5f16ead7eb125e331e2; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 5d2b286eb034af114f67d9967fc3fbc1829bb712; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 1f5661388f43df3ac106ce93e67d8d22b16a78ff; \>= b2383c90a9d691201b9aee557776694cde86a935, \< cf138759a7e92c75cfc1b7ba705e4108fe330edf; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 85db68fc901da52314ded80aace99f8b684c7815; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 357057ee55d3c99a5de5abe8150f7bca04f8e53b
- Anyone running Linux 4.2

## 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().

## Affected and fixed versions

- Linux: \>= b2383c90a9d691201b9aee557776694cde86a935, \< 5cc4eea715a3fcf4e516662f736dfee63979465f; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 51c0ad3b7c5b01f9314758335a13f157b05fa56d; \>= b2383c90a9d691201b9aee557776694cde86a935, \< e6b0adff99edf246ba1f8d464530a0438cb1cbda; \>= b2383c90a9d691201b9aee557776694cde86a935, \< a45ba33d398a821147d7e5f16ead7eb125e331e2; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 5d2b286eb034af114f67d9967fc3fbc1829bb712; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 1f5661388f43df3ac106ce93e67d8d22b16a78ff; \>= b2383c90a9d691201b9aee557776694cde86a935, \< cf138759a7e92c75cfc1b7ba705e4108fe330edf; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 85db68fc901da52314ded80aace99f8b684c7815; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 357057ee55d3c99a5de5abe8150f7bca04f8e53b (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 357057ee55d3c99a5de5abe8150f7bca04f8e53b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50384. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50384.md
Affected: Linux >= b2383c90a9d691201b9aee557776694cde86a935, < 5cc4eea715a3fcf4e516662f736dfee63979465f; >= b2383c90a9d691201b9aee557776694cde86a935, < 51c0ad3b7c5b01f9314758335a13f157b05fa56d; >= b2383c90a9d691201b9aee557776694cde86a935, < e6b0adff99edf246ba1f8d464530a0438cb1cbda; >= b2383c90a9d691201b9aee5…
Fixed in: Linux 5cc4eea715a3fcf4e516662f736dfee63979465f, Linux 51c0ad3b7c5b01f9314758335a13f157b05fa56d, Linux 5d2b286eb034af114f67d9967fc3fbc1829bb712, Linux 1f5661388f43df3ac106ce93e67d8d22b16a78ff, Linux 85db68fc901da52314ded80aace99f8b684c7815, Linux 357057ee55d3c99a5de5abe8150f7bca04f8e53b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50384 being exploited?

There is no confirmed exploitation: CVE-2022-50384 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50384?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50384?

Linux \>= b2383c90a9d691201b9aee557776694cde86a935, \< 5cc4eea715a3fcf4e516662f736dfee63979465f; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 51c0ad3b7c5b01f9314758335a13f157b05fa56d; \>= b2383c90a9d691201b9aee557776694cde86a935, \< e6b0adff99edf246ba1f8d464530a0438cb1cbda; \>= b2383c90a9d691201b9aee557776694cde86a935, \< a45ba33d398a821147d7e5f16ead7eb125e331e2; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 5d2b286eb034af114f67d9967fc3fbc1829bb712; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 1f5661388f43df3ac106ce93e67d8d22b16a78ff; \>= b2383c90a9d691201b9aee557776694cde86a935, \< cf138759a7e92c75cfc1b7ba705e4108fe330edf; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 85db68fc901da52314ded80aace99f8b684c7815; \>= b2383c90a9d691201b9aee557776694cde86a935, \< 357057ee55d3c99a5de5abe8150f7bca04f8e53b; Linux 4.2.

### Is there a fix for CVE-2022-50384?

Yes. Fixed in Linux 5cc4eea715a3fcf4e516662f736dfee63979465f, Linux 51c0ad3b7c5b01f9314758335a13f157b05fa56d, Linux 5d2b286eb034af114f67d9967fc3fbc1829bb712, Linux 1f5661388f43df3ac106ce93e67d8d22b16a78ff, Linux 85db68fc901da52314ded80aace99f8b684c7815, Linux 357057ee55d3c99a5de5abe8150f7bca04f8e53b. Upgrade Linux to 357057ee55d3c99a5de5abe8150f7bca04f8e53b or later.

### How do I check if I'm affected by CVE-2022-50384?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5cc4eea715a3fcf4e516662f736dfee63979465f>
- patch: <https://git.kernel.org/stable/c/51c0ad3b7c5b01f9314758335a13f157b05fa56d>
- patch: <https://git.kernel.org/stable/c/e6b0adff99edf246ba1f8d464530a0438cb1cbda>
- patch: <https://git.kernel.org/stable/c/a45ba33d398a821147d7e5f16ead7eb125e331e2>
- patch: <https://git.kernel.org/stable/c/5d2b286eb034af114f67d9967fc3fbc1829bb712>
- patch: <https://git.kernel.org/stable/c/1f5661388f43df3ac106ce93e67d8d22b16a78ff>
- patch: <https://git.kernel.org/stable/c/cf138759a7e92c75cfc1b7ba705e4108fe330edf>
- patch: <https://git.kernel.org/stable/c/85db68fc901da52314ded80aace99f8b684c7815>
- patch: <https://git.kernel.org/stable/c/357057ee55d3c99a5de5abe8150f7bca04f8e53b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50384>

HTML: <https://flawdb.com/CVE-2022-50384> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50384>
