CVE & CISA-KEV Catalog

CVE-2022-50840

UNSCORED

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().

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.178-1CVE-2022-50840
Fixed in:6.1.4-1CVE-2022-50840
Fixed in:6.1.4-1CVE-2022-50840
Fixed in:6.1.4-1CVE-2022-50840

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.24%probability of exploitation in 30 days
15thpercentile

Low risk: more likely to be exploited than 15% of all known CVEs.

References

Embed a live status badge for CVE-2022-50840
CVE-2022-50840 severity badge

Markdown

[![CVE-2022-50840](https://tridentstack.com/cve/badge/CVE-2022-50840.svg)](https://tridentstack.com/cve/CVE-2022-50840)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-50840"><img src="https://tridentstack.com/cve/badge/CVE-2022-50840.svg" alt="CVE-2022-50840"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-31.