CVE-2022-50384
staging: vme_user: Fix possible UAF in tsi148_dma_list_add
Check your servers for CVE-2022-50384
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50384 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.74% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 14 Jan 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b2383c90a9d691201b9aee557776694cde86a935, before 5cc4eea715a3fcf4e516662f736dfee63979465f affected from b2383c90a9d691201b9aee557776694cde86a935, before 51c0ad3b7c5b01f9314758335a13f157b05fa56d affected from b2383c90a9d691201b9aee557776694cde86a935, before e6b0adff99edf246ba1f8d464530a0438cb1cbda affected from b2383c90a9d691201b9aee557776694cde86a935, before a45ba33d398a821147d7e5f16ead7eb125e331e2 affected from b2383c90a9d691201b9aee557776694cde86a935, before 5d2b286eb034af114f67d9967fc3fbc1829bb712 affected from b2383c90a9d691201b9aee557776694cde86a935, before 1f5661388f43df3ac106ce93e67d8d22b16a78ff affected from b2383c90a9d691201b9aee557776694cde86a935, before cf138759a7e92c75cfc1b7ba705e4108fe330edf affected from b2383c90a9d691201b9aee557776694cde86a935, before 85db68fc901da52314ded80aace99f8b684c7815 affected from b2383c90a9d691201b9aee557776694cde86a935, before 357057ee55d3c99a5de5abe8150f7bca04f8e53b
Other versions: unaffected
|
| Linux |
affected 4.2 unaffected before 4.2 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.86 up to and including 5.15.* unaffected from 6.0.16 up to and including 6.0.* unaffected from 6.1.2 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50384 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50384
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50384
trivy image --scanners vuln IMAGE | grep CVE-2022-50384
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5cc4eea715a3fcf4e516662f736dfee63979465f git.kernel.org
- https://git.kernel.org/stable/c/51c0ad3b7c5b01f9314758335a13f157b05fa56d git.kernel.org
- https://git.kernel.org/stable/c/e6b0adff99edf246ba1f8d464530a0438cb1cbda git.kernel.org
- https://git.kernel.org/stable/c/a45ba33d398a821147d7e5f16ead7eb125e331e2 git.kernel.org
- https://git.kernel.org/stable/c/5d2b286eb034af114f67d9967fc3fbc1829bb712 git.kernel.org
- https://git.kernel.org/stable/c/1f5661388f43df3ac106ce93e67d8d22b16a78ff git.kernel.org
- https://git.kernel.org/stable/c/cf138759a7e92c75cfc1b7ba705e4108fe330edf git.kernel.org
- https://git.kernel.org/stable/c/85db68fc901da52314ded80aace99f8b684c7815 git.kernel.org
- https://git.kernel.org/stable/c/357057ee55d3c99a5de5abe8150f7bca04f8e53b git.kernel.org
Source: the record CVE-2022-50384 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse