{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50384",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-17T14:53:06.997Z",
        "datePublished": "2025-09-18T13:33:05.759Z",
        "dateUpdated": "2026-08-05T08:58:29.333Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:58:29.333Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->list' not removed from list\n\nIn tsi148_dma_list_add(), the error path \"goto err_dma\" will not\nremove entry->list from list->entries, but entry will be freed,\nthen list traversal may cause UAF.\n\nFix by removeing it from list->entries before free()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The UAF is in the TSI148 VME bridge DMA-list builder (`tsi148_dma_list_add`), reached only through the local VME DMA API (`vme_dma_list_add`) used by VME device drivers on systems with the PCI TSI148 bridge—not via network packets or physical attachment alone.\nAC:L - An attacker who can drive DMA-list add/free can induce a `dma_map_single` failure (IOVA/swiotlb exhaustion), leave the freed entry linked, then trigger UAF on the next add (`prev->descriptor` write), `tsi148_dma_list_exec`, or `tsi148_dma_list_empty`; no attacker-uncontrollable race is required.\nPR:L - The VME DMA path has no `capable()`/`CAP_*` gate—only whatever DAC the consuming driver/device node applies. On TSI148 industrial/DAQ deployments (the intended consumers of this EXPORT_SYMBOL API), a non-root service account with VME device access is a reasonable worst case, matching CVE-2026-64449 for this subsystem.\nUI:N - The attacker initiates the DMA-list operations that hit the err_dma path and subsequent list walk themselves; no separate victim action is required.\nS:U - This is a standard in-kernel heap UAF within the host VME bridge driver and does not cross a VM, IOMMU, or other security-authority boundary.\nC:H - Use-after-free of the linked `tsi148_dma_entry` lets an attacker reclaim the object and control contents read on later list traversal/exec, enabling arbitrary kernel memory disclosure per UAF guidance.\nI:H - The same dangling list entry is written via the next-add prev-link update, and `tsi148_dma_list_empty` can double-free/unmap with a garbage `dma_handle`, yielding heap corruption and control-flow hijack primitives.\nA:H - Any subsequent list walk of the freed entry (empty/exec/add) can oops/panic the kernel, so availability impact is High even without full exploitation."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/vme_user/vme_tsi148.c"
                    ],
                    "versions": [
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "5cc4eea715a3fcf4e516662f736dfee63979465f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "51c0ad3b7c5b01f9314758335a13f157b05fa56d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "e6b0adff99edf246ba1f8d464530a0438cb1cbda",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "a45ba33d398a821147d7e5f16ead7eb125e331e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "5d2b286eb034af114f67d9967fc3fbc1829bb712",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "1f5661388f43df3ac106ce93e67d8d22b16a78ff",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "cf138759a7e92c75cfc1b7ba705e4108fe330edf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "85db68fc901da52314ded80aace99f8b684c7815",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "b2383c90a9d691201b9aee557776694cde86a935",
                            "lessThan": "357057ee55d3c99a5de5abe8150f7bca04f8e53b",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/vme_user/vme_tsi148.c"
                    ],
                    "versions": [
                        {
                            "version": "4.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.337",
                            "lessThanOrEqual": "4.9.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.303",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.270",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.229",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.163",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.86",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.16",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.2",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "4.9.337"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "4.14.303"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "4.19.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.4.229"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.10.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.15.86"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.0.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.1.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5cc4eea715a3fcf4e516662f736dfee63979465f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/51c0ad3b7c5b01f9314758335a13f157b05fa56d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e6b0adff99edf246ba1f8d464530a0438cb1cbda"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a45ba33d398a821147d7e5f16ead7eb125e331e2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5d2b286eb034af114f67d9967fc3fbc1829bb712"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1f5661388f43df3ac106ce93e67d8d22b16a78ff"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cf138759a7e92c75cfc1b7ba705e4108fe330edf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/85db68fc901da52314ded80aace99f8b684c7815"
                },
                {
                    "url": "https://git.kernel.org/stable/c/357057ee55d3c99a5de5abe8150f7bca04f8e53b"
                }
            ],
            "title": "staging: vme_user: Fix possible UAF in tsi148_dma_list_add",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 7.8,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-50384",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2026-01-14T18:48:36.418605Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-416",
                                "description": "CWE-416 Use After Free"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-01-14T18:53:04.397Z"
                }
            }
        ]
    }
}