{"id":"CVE-2022-50384","summary":"staging: vme_user: Fix possible UAF in tsi148_dma_list_add","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: vme_user: Fix possible UAF in tsi148_dma_list_add\n\nSmatch report warning as follows:\n\ndrivers/staging/vme_user/vme_tsi148.c:1757 tsi148_dma_list_add() warn:\n  '&entry-\u003elist' not removed from list\n\nIn tsi148_dma_list_add(), the error path \"goto err_dma\" will not\nremove entry-\u003elist from list-\u003eentries, but entry will be freed,\nthen list traversal may cause UAF.\n\nFix by removeing it from list-\u003eentries before free().","modified":"2026-04-02T08:28:28.241167Z","published":"2025-09-18T13:33:05.759Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50384.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1f5661388f43df3ac106ce93e67d8d22b16a78ff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/357057ee55d3c99a5de5abe8150f7bca04f8e53b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51c0ad3b7c5b01f9314758335a13f157b05fa56d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cc4eea715a3fcf4e516662f736dfee63979465f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d2b286eb034af114f67d9967fc3fbc1829bb712"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85db68fc901da52314ded80aace99f8b684c7815"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a45ba33d398a821147d7e5f16ead7eb125e331e2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf138759a7e92c75cfc1b7ba705e4108fe330edf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6b0adff99edf246ba1f8d464530a0438cb1cbda"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50384.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50384"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b2383c90a9d691201b9aee557776694cde86a935"},{"fixed":"5cc4eea715a3fcf4e516662f736dfee63979465f"},{"fixed":"51c0ad3b7c5b01f9314758335a13f157b05fa56d"},{"fixed":"e6b0adff99edf246ba1f8d464530a0438cb1cbda"},{"fixed":"a45ba33d398a821147d7e5f16ead7eb125e331e2"},{"fixed":"5d2b286eb034af114f67d9967fc3fbc1829bb712"},{"fixed":"1f5661388f43df3ac106ce93e67d8d22b16a78ff"},{"fixed":"cf138759a7e92c75cfc1b7ba705e4108fe330edf"},{"fixed":"85db68fc901da52314ded80aace99f8b684c7815"},{"fixed":"357057ee55d3c99a5de5abe8150f7bca04f8e53b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50384.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}