CVE-2022-50192

spi: tegra20-slink: fix UAF in tegra_slink_remove()

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

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

spi: tegra20-slink: fix UAF in tegra_slink_remove()

After calling spi_unregister_master(), the refcount of master will

be decrease to 0, and it will be freed in spi_controller_release(),

the device data also will be freed, so it will lead a UAF when using

'tspi'. To fix this, get the master before unregister and put it when

finish using it.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00259 · 16.6th percentile
Published
2025-06-18T11:03Z
EPSS history
Timeline
  • 18 JUN 11:03Z
    spi: tegra20-slink: fix UAF in tegra_slink_remove()
    cvelistv5