CVE-2022-50190
Last modified
CVE-2022-50190 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: spi: Fix simplification of devm_spi_register_controller This reverts commit 59ebbe40fb51 ("spi: simplify devm_spi_register_controller"). If devm_add_action() fails in devm_add_action_or_reset(), devm_spi_unregister() will be called, it decreases the refcount of 'ctlr->dev' to 0, then it will cause uaf in the drivers that calling spi_put_controller() in error path.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: spi: Fix simplification of devm_spi_register_controller This reverts commit 59ebbe40fb51 ("spi: simplify devm_spi_register_controller"). If devm_add_action() fails in devm_add_action_or_reset(), devm_spi_unregister() will be called, it decreases the refcount of 'ctlr->dev' to 0, then it will cause uaf in the drivers that calling spi_put_controller() in error path.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.13, < 5.15.61 |
| Linux | Linux Kernel | >= 5.16, < 5.18.18 |
| Linux | Linux Kernel | >= 5.19, < 5.19.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-50190?
How severe is CVE-2022-50190?
How do I fix CVE-2022-50190?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-50184In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50185In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50186In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50187In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2022-50188In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50189In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-50191In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50192In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50193In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50194In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50195In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50196In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-50190?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
