{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50355",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-17T14:53:06.993Z",
        "datePublished": "2025-09-17T14:56:08.356Z",
        "dateUpdated": "2026-08-05T08:58:21.802Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:58:21.802Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: vt6655: fix some erroneous memory clean-up loops\n\nIn some initialization functions of this driver, memory is allocated with\n'i' acting as an index variable and increasing from 0. The commit in\n\"Fixes\" introduces some clean-up codes in case of allocation failure,\nwhich free memory in reverse order with 'i' decreasing to 0. However,\nthere are some problems:\n  - The case i=0 is left out. Thus memory is leaked.\n  - In case memory allocation fails right from the start, the memory\n    freeing loops will start with i=-1 and invalid memory locations will\n    be accessed.\n\nOne of these loops has been fixed in commit c8ff91535880 (\"staging:\nvt6655: fix potential memory leak\"). Fix the remaining erroneous loops."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The flaw is reached only when bringing up the vt6655 mac80211 interface (SIOCSIFFLAGS/ip link set up → ieee80211_open → drv_start → vnt_start → device_init_rd0/rd1/td1_ring), which is local driver initialization—not packet parsing or adjacent-link frame injection.\nAC:L - A local attacker can induce memory pressure (memcg/mmap) so the first kzalloc or device_alloc_rx_buf in ring init fails after device_init_rings succeeds, then deterministically hit the broken while (--i) path; no race or attacker-uncontrollable layout is required.\nPR:L - Triggering vnt_start requires CAP_NET_ADMIN to set IFF_UP, but in realistic deployments (NetworkManager/polkit seat policies, delegated net admin) an unprivileged local user can enable the wireless interface; per guidance when uncertain this is scored Low rather than High.\nUI:N - The attacker brings the interface up and forces the allocation-failure cleanup themselves; no separate victim mount, click, or other interactive action is required.\nS:U - Impact is host-kernel heap corruption inside the staging PCI WiFi driver under the same OS authority, with no VM escape, IOMMU bypass, or other security-boundary crossing.\nC:H - On i==0 failure, while (--i) indexes aRD1Ring[-1]/apTD1Rings[-1] into the previously initialized adjacent DMA ring and frees live rd_info/td_info (double-free), and continues further OOB—classic heap corruption enabling arbitrary kernel read primitives.\nI:H - The same OOB/double-free of descriptor side objects (kfree, dma_unmap, kfree_skb on adjacent or garbage pointers) is exploitable for heap corruption and control-flow hijacking beyond a pure crash.\nA:H - The buggy loop from i==0 decrements indefinitely through invalid indices and frees garbage/adjacent objects, causing kernel oops/panic even without full exploitation; any such crash is Availability High."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/vt6655/device_main.c"
                    ],
                    "versions": [
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "637672a71f5016a40b0a6c0f3c8ad25eacedc8c3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "95ac62e8545be2b0a8cae0beef7c682e2e470e48",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "f19e5b7df54590c831f350381963f25585c8f7d5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "a9e9806d1c315bc50dce05479a079b9a104474b8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "ed11b73c963292e7b49c0f37025c58ed3b7921d6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5341ee0adb17d12a96dc5344e0d267cd12b52135",
                            "lessThan": "2a2db520e3ca5aafba7c211abfd397666c9b5f9d",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/staging/vt6655/device_main.c"
                    ],
                    "versions": [
                        {
                            "version": "4.18",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.18",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.262",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.220",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.150",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.75",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19.17",
                            "lessThanOrEqual": "5.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.3",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "4.19.262"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.4.220"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.10.150"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.15.75"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "5.19.17"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.0.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.18",
                                    "versionEndExcluding": "6.1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/637672a71f5016a40b0a6c0f3c8ad25eacedc8c3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/88b9cc60f26e8a05d1ddbddf91b09ca2915f20e0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/95ac62e8545be2b0a8cae0beef7c682e2e470e48"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f19e5b7df54590c831f350381963f25585c8f7d5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a9e9806d1c315bc50dce05479a079b9a104474b8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ed11b73c963292e7b49c0f37025c58ed3b7921d6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2a2db520e3ca5aafba7c211abfd397666c9b5f9d"
                }
            ],
            "title": "staging: vt6655: fix some erroneous memory clean-up loops",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.5,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "LOW",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2022-50355",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2026-01-14T18:31:51.758929Z"
                            }
                        }
                    }
                ],
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "lang": "en",
                                "type": "CWE",
                                "cweId": "CWE-401",
                                "description": "CWE-401 Missing Release of Memory after Effective Lifetime"
                            }
                        ]
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-01-14T18:33:00.943Z"
                }
            }
        ]
    }
}