{"id":"CVE-2022-50192","aliases":["CVE-2022-50192"],"related":[],"kind":"vulnerability","state":"published","title":"spi: tegra20-slink: fix UAF in tegra_slink_remove()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: tegra20-slink: corrección del UAF en tegra_slink_remove(). Tras llamar a spi_unregister_master(), el recuento de referencias del master se reduce a 0 y se libera en spi_controller_release(). Los datos del dispositivo también se liberan, por lo que se generará un UAF al usar 'tspi'. Para solucionar esto, obtenga el master antes de anular el registro y colóquelo al finalizar su uso.","source":"nvd"}],"published":"2025-06-18T11:03:37.549Z","modified":"2026-06-17T05:22:56.757Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"26c863418221344b1cfb8e6c11116b2b81144281","fixed":"415b4ce61308f24583912d887772dfcbf97f1d20","status":"affected"},{"type":"git","introduced":"26c863418221344b1cfb8e6c11116b2b81144281","fixed":"800c7767e05d29656713e04532823a752e57e037","status":"affected"},{"type":"git","introduced":"26c863418221344b1cfb8e6c11116b2b81144281","fixed":"67f77172644260482fdafc03b6025847944701e5","status":"affected"},{"type":"git","introduced":"26c863418221344b1cfb8e6c11116b2b81144281","fixed":"7e9984d183bb1e99e766c5c2b950ff21f7f7b6c0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/415b4ce61308f24583912d887772dfcbf97f1d20","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/800c7767e05d29656713e04532823a752e57e037","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67f77172644260482fdafc03b6025847944701e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e9984d183bb1e99e766c5c2b950ff21f7f7b6c0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50192","url":"https://www.cve.org/CVERecord?id=CVE-2022-50192","licence":"CVE Terms of Use","modified":"2026-05-11T19:14:34.267Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50192","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50192","licence":"Public domain","modified":"2026-06-17T05:22:56.757Z"}],"updatedAt":"2026-11-25T22:58:21.097Z","epss":{"score":0.0027,"percentile":0.20502,"date":"2026-12-01T12:00:22.000Z"}}