{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50192","id":"CVE-2022-50192","title":"spi: tegra20-slink: fix UAF in tegra_slink_remove()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: tegra20-slink: fix UAF in tegra_slink_remove()\n\nAfter calling spi_unregister_master(), the refcount of master will\nbe decrease to 0, and it will be freed in spi_controller_release(),\nthe device data also will be freed, so it will lead a UAF when using\n'tspi'. To fix this, get the master before unregister and put it when\nfini","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: tegra20-slink: fix UAF in tegra_slink_remove()\n\nAfter calling spi_unregister_master(), the refcount of master will\nbe decrease to 0, and it will be freed in spi_controller_release(),\nthe device data also will be freed, so it will lead a UAF when using\n'tspi'. To fix this, get the master before unregister and put it when\nfinish using it.","published":"2025-06-18T11:03:37.549Z","updated":"2026-10-28T02:30:26.133398029Z","reserved":"2025-06-18T10:57:27.428Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"26c863418221344b1cfb8e6c11116b2b81144281","lessThan":"415b4ce61308f24583912d887772dfcbf97f1d20","status":"affected","versionType":"git"},{"version":"26c863418221344b1cfb8e6c11116b2b81144281","lessThan":"800c7767e05d29656713e04532823a752e57e037","status":"affected","versionType":"git"},{"version":"26c863418221344b1cfb8e6c11116b2b81144281","lessThan":"67f77172644260482fdafc03b6025847944701e5","status":"affected","versionType":"git"},{"version":"26c863418221344b1cfb8e6c11116b2b81144281","lessThan":"7e9984d183bb1e99e766c5c2b950ff21f7f7b6c0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.61","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.18","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19.2","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/415b4ce61308f24583912d887772dfcbf97f1d20","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/800c7767e05d29656713e04532823a752e57e037","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/67f77172644260482fdafc03b6025847944701e5","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7e9984d183bb1e99e766c5c2b950ff21f7f7b6c0","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50192.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50192","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0027,"epssPercentile":0.19455,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50192","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50192","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50192","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50192","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}