DEBIAN-CVE-2022-50840
Record from OSV · Published December 30, 2025
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:14 | 6.1.4-1 |
| linux | Debian:12 | 6.1.4-1 |
| linux | Debian:13 | 6.1.4-1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 0 |
| Debian:12 | linux | 0 |
| Debian:13 | linux | 0 |
Timeline
- Dec 30, 2025 CVE Published
- Oct 15, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2022-50840
vulnetix vdb fixes DEBIAN-CVE-2022-50840
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2022-50840/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart