CVE-2022-50840

UnknownEPSS 0.24%

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

EPSS Probability
0.24%

14.9th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < f9d8b8ba0f1a16cde0b1fc9e80466df76b6db8ff; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 3772319e40527e6a5f2ec1d729e01f271d818f5c; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 3007f96ca20c848d0b1b052df6d2cb5ae5586e78; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 6866154c23fba40888ad6d554cccd4bf2edb755e; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < ad27f74e901fc48729733c88818e6b96c813057d; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 1895e908b3ae66a5312fd1b2cdda2da82993dca7; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < c7f0f8dab1ae5def57c1a8a9cafd6fabe1dc27cc; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < 4141cd9e8b3379aea52a85d2c35f6eaf26d14e86; >= c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, < e118df492320176af94deec000ae034cc92be754
LinuxLinux4.2

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2022-50840?
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().
How severe is CVE-2022-50840?
Severity scoring for CVE-2022-50840 is pending analysis. The EPSS model estimates a 0.24% probability of exploitation in the next 30 days.
How do I fix CVE-2022-50840?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2022

Are you affected by CVE-2022-50840?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST