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

Published Sep 18, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

staging: vmeuser: Fix possible UAF in tsi148dmalistadd

Smatch report warning as follows:

drivers/staging/vmeuser/vmetsi148.c:1757 tsi148dmalistadd() warn: '&entry->list' not removed from list

In tsi148dmalistadd(), the error path "goto errdma" 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 Software

9 affected components
Linux Kernel
Linux Linux kernel>=4.2<4.9.337
Linux Linux kernel>=4.10<4.14.303
Linux Linux kernel>=4.15<4.19.270
Linux Linux kernel>=4.20<5.4.229
Linux Linux kernel>=5.5<5.10.163
Linux Linux kernel>=5.11<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In drivers/staging/vme_user/vme_tsi148.c (tsi148_dma_list_add()), fix the error path by removing entry->list from list->entries before calling free(), so list traversal cannot hit a freed entry (prevent UAF).

Event History

Sep 18, 2025
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
DescriptionSeverity
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50384?

CVE-2022-50384 is classified as a medium severity vulnerability.

2

How do I fix CVE-2022-50384?

To fix CVE-2022-50384, update to the latest version of the Linux kernel that addresses the vulnerability.

3

What components are affected by CVE-2022-50384?

CVE-2022-50384 affects the VME user driver in the Linux kernel.

4

What type of vulnerability is CVE-2022-50384?

CVE-2022-50384 is a use-after-free vulnerability.

5

Which versions of the Linux kernel are impacted by CVE-2022-50384?

CVE-2022-50384 affects specific versions of the Linux kernel that include the vulnerable code in the VME user driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203