CVE-2022-50190

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50190
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50190.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50190
Downstream
Related
Published
2025-06-18T11:15:49Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

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

spi: Fix simplification of devmspiregister_controller

This reverts commit 59ebbe40fb51 ("spi: simplify devmspiregister_controller").

If devmaddaction() fails in devmaddactionorreset(), devmspiunregister() will be called, it decreases the refcount of 'ctlr->dev' to 0, then it will cause uaf in the drivers that calling spiputcontroller() in error path.

References

Affected packages