# CVE-2022-50384: staging: vme_user: Fix possible UAF in tsi148_dma_list_add

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:05.759Z
- Modified: 2026-08-05T08:58:29.333Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from b2383c90a9d691201b9aee557776694cde86a935 before 5cc4eea715a3fcf4e516662f736dfee63979465f; from b2383c90a9d691201b9aee557776694cde86a935 before 51c0ad3b7c5b01f9314758335a13f157b05fa56d; from b2383c90a9d691201b9aee557776694cde86a935 before e6b0adff99edf246ba1f8d464530a0438cb1cbda; from b2383c90a9d691201b9aee557776694cde86a935 before a45ba33d398a821147d7e5f16ead7eb125e331e2; from b2383c90a9d691201b9aee557776694cde86a935 before 5d2b286eb034af114f67d9967fc3fbc1829bb712; from b2383c90a9d691201b9aee557776694cde86a935 before 1f5661388f43df3ac106ce93e67d8d22b16a78ff; from b2383c90a9d691201b9aee557776694cde86a935 before cf138759a7e92c75cfc1b7ba705e4108fe330edf; from b2383c90a9d691201b9aee557776694cde86a935 before 85db68fc901da52314ded80aace99f8b684c7815; from b2383c90a9d691201b9aee557776694cde86a935 before 357057ee55d3c99a5de5abe8150f7bca04f8e53b; 4.2 (not affected: before 4.2; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 4.2 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-50384](https://www.cve.org/CVERecord?id=CVE-2022-50384), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50384](https://nvd.nist.gov/vuln/detail/CVE-2022-50384), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50384 · Whole record: https://cve.day/CVE-2022-50384.json · Rebuilt by cve.day 2026-11-25T22:58:21.191Z
