CVE-2022-50840
Last modified
CVE-2022-50840 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: scsi: snic: Fix possible UAF in snic_tgt_create() Smatch reports a warning as follows: drivers/scsi/snic/snic_disc.c:307 snic_tgt_create() warn: '&tgt->list' not removed from list If device_add() fails in snic_tgt_create(), tgt will be freed, but tgt->list will not be removed from snic->disc.tgt_list, then list traversal may cause UAF. Remove from snic->disc.tgt_list before free().. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: snic: Fix possible UAF in snic_tgt_create() Smatch reports a warning as follows: drivers/scsi/snic/snic_disc.c:307 snic_tgt_create() warn: '&tgt->list' not removed from list If device_add() fails in snic_tgt_create(), tgt will be freed, but tgt->list will not be removed from snic->disc.tgt_list, then list traversal may cause UAF. Remove from snic->disc.tgt_list before free().
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < f9d8b8ba0f1a16cde0b1fc9e80466df76b6db8ff; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 3772319e40527e6a5f2ec1d729e01f271d818f5c; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 3007f96ca20c848d0b1b052df6d2cb5ae5586e78; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 6866154c23fba40888ad6d554cccd4bf2edb755e; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < ad27f74e901fc48729733c88818e6b96c813057d; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 1895e908b3ae66a5312fd1b2cdda2da82993dca7; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < c7f0f8dab1ae5def57c1a8a9cafd6fabe1dc27cc; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 4141cd9e8b3379aea52a85d2c35f6eaf26d14e86; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < e118df492320176af94deec000ae034cc92be754 |
| Linux | Linux | 4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2022-50840?
How severe is CVE-2022-50840?
How do I fix CVE-2022-50840?
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-50834In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50835In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50836In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50837In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50838In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50839In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50841In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50842In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50843In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50844In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50845In the Linux kernel, the following vulnerability has been re…
- CVE-2022-50846In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2022-50840?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
