LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50840: scsi: snic: Fix possible UAF in snic_tgt_create()

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

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2022-50840 is a Linux kernel bug in the SCSI snic driver. If device creation fails, the kernel can leave a freed object on an internal list, creating a use-after-free risk during later list traversal. Public sources do not provide a CVSS score or evidence of active exploitation.

Executive priority

Treat as a targeted kernel maintenance issue, not an internet-wide emergency. Prioritize systems using the snic SCSI driver or specialized storage configurations. Fold remediation into normal kernel patch cycles unless vendor guidance raises severity.

Technical view

The flaw is in snic_tgt_create() under drivers/scsi/snic/snic_disc.c. On device_add() failure, tgt is freed without removing tgt->list from snic->disc.tgt_list. Later traversal may dereference freed memory. Kernel stable commits remove the list entry before freeing the object.

Likely exposure

Exposure appears limited to Linux systems running an affected kernel where the snic SCSI driver is built, loaded, or usable. The source bundle lists multiple Linux kernel versions as affected, but does not provide distribution-specific package mappings.

Exploitation context

No KEV listing is present, and the provided sources do not claim active exploitation. The vulnerable path requires a device_add() failure during snic target creation. Practical exploitability, privilege requirements, and impact beyond possible kernel memory safety issues are not established in the sources.

Researcher notes

The public record is sparse: no CVSS, CWE, exploit status, or distro-specific advisories are included. Analysis should focus on the error path in snic_tgt_create(), stable backports, and whether local configurations can reach the vulnerable driver path.

Mitigation direction

  • Update to a Linux kernel or vendor package containing the referenced stable fixes.
  • Check distribution advisories for backported fixes and package-specific version guidance.
  • If snic is not needed, review whether it can be disabled per vendor guidance.

Validation and detection

  • Inventory Linux kernel versions against vendor advisories and the referenced stable commits.
  • Confirm whether the snic driver is present, enabled, or loaded on relevant systems.
  • Verify patched kernels include the fix removing tgt->list before free().
  • Review system logs for snic-related kernel faults after storage discovery events.
Prepared
Confidence
medium
Sources
11

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50840 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
10Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxc8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa, c8806b6c9e824f47726f2a9b7fbbe7ebf19306faunaffected
LinuxLinux4.2, 0, 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.