CVE-2022-50467

Source
https://cve.org/CVERecord?id=CVE-2022-50467
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50467.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50467
Downstream
Related
Published
2025-10-01T11:45:38.110Z
Modified
2026-03-11T11:47:28.275739Z
Summary
scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Fix null ndlp ptr dereference in abnormal exit path for GFT_ID

An error case exit from lpfccmplctcmdgftid() results in a call to lpfcnlp_put() with a null pointer to a nodelist structure.

Changed lpfccmplctcmdgft_id() to initialize nodelist pointer upon entry.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50467.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
04c1d9c50ae32d6efd0b71024b3829051821c7a2
Fixed
04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c
Fixed
82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a
Fixed
59b7e210a522b836a01516c71ee85d1d92c1f075

Affected versions

v5.*
v5.13
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8
v5.19.1
v5.19.10
v5.19.11
v5.19.12
v5.19.13
v5.19.14
v5.19.15
v5.19.16
v5.19.2
v5.19.3
v5.19.4
v5.19.5
v5.19.6
v5.19.7
v5.19.8
v5.19.9
v6.*
v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.0.1
v6.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50467.json"
vanir_signatures
[
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "301187542011544438540586941074734674465",
            "length": 2244.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a",
        "signature_type": "Function",
        "id": "CVE-2022-50467-85d8a3e1",
        "target": {
            "file": "drivers/scsi/lpfc/lpfc_ct.c",
            "function": "lpfc_cmpl_ct_cmd_gft_id"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "301187542011544438540586941074734674465",
            "length": 2244.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59b7e210a522b836a01516c71ee85d1d92c1f075",
        "signature_type": "Function",
        "id": "CVE-2022-50467-8efe42e4",
        "target": {
            "file": "drivers/scsi/lpfc/lpfc_ct.c",
            "function": "lpfc_cmpl_ct_cmd_gft_id"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "6531733006967095000470804017009863406",
                "217972834226973987877460366237756437251",
                "75529614248915342747694631002382404087",
                "71605749350663397534804914962458964997",
                "12854484687243720648313005900713784666",
                "239788123896621584257038034423083330558",
                "41715794393996923484193040790234986018",
                "178336420434065213535440760634075843139",
                "179826551938824595518551938427269421709",
                "46400063345848297296787609040252270614",
                "327222380334148728306281379945600110322",
                "330612360877080103904446104283106542204",
                "83419892940818660336220147313298875082"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82dc1fe4324e2c897f2ed1c66f4fcff03094ac3a",
        "signature_type": "Line",
        "id": "CVE-2022-50467-91eb1e98",
        "target": {
            "file": "drivers/scsi/lpfc/lpfc_ct.c"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "6531733006967095000470804017009863406",
                "217972834226973987877460366237756437251",
                "75529614248915342747694631002382404087",
                "71605749350663397534804914962458964997",
                "12854484687243720648313005900713784666",
                "239788123896621584257038034423083330558",
                "41715794393996923484193040790234986018",
                "178336420434065213535440760634075843139",
                "179826551938824595518551938427269421709",
                "46400063345848297296787609040252270614",
                "327222380334148728306281379945600110322",
                "330612360877080103904446104283106542204",
                "83419892940818660336220147313298875082"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c",
        "signature_type": "Line",
        "id": "CVE-2022-50467-95d29522",
        "target": {
            "file": "drivers/scsi/lpfc/lpfc_ct.c"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "6531733006967095000470804017009863406",
                "217972834226973987877460366237756437251",
                "75529614248915342747694631002382404087",
                "71605749350663397534804914962458964997",
                "12854484687243720648313005900713784666",
                "239788123896621584257038034423083330558",
                "41715794393996923484193040790234986018",
                "178336420434065213535440760634075843139",
                "179826551938824595518551938427269421709",
                "46400063345848297296787609040252270614",
                "327222380334148728306281379945600110322",
                "330612360877080103904446104283106542204",
                "83419892940818660336220147313298875082"
            ]
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@59b7e210a522b836a01516c71ee85d1d92c1f075",
        "signature_type": "Line",
        "id": "CVE-2022-50467-9e1eb2be",
        "target": {
            "file": "drivers/scsi/lpfc/lpfc_ct.c"
        }
    },
    {
        "deprecated": false,
        "signature_version": "v1",
        "digest": {
            "function_hash": "301187542011544438540586941074734674465",
            "length": 2244.0
        },
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04e7cd8c85636a329d1a6e5a269a7c8b6f71c41c",
        "signature_type": "Function",
        "id": "CVE-2022-50467-cf42855f",
        "target": {
            "file": "drivers/scsi/lpfc/lpfc_ct.c",
            "function": "lpfc_cmpl_ct_cmd_gft_id"
        }
    }
]