{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2021-47308",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-05-21T13:27:52.133Z",
        "datePublished": "2024-05-21T14:35:27.319Z",
        "dateUpdated": "2026-08-05T08:47:12.469Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:47:12.469Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: libfc: Fix array index out of bound exception\n\nFix array index out of bound exception in fc_rport_prli_resp()."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:A - The bug is reached when processing a Fibre Channel PRLI LS_ACC from a peer on the same FC SAN fabric or FCoE (ETH_P_FCOE) L2 segment; that is adjacent-network topology, not Internet-routable IP.\nAC:L - After the initiator automatically PLOGIs/PRLIs a discovered port, the peer fully controls the PRLI ACC and can set spp_type to any u8 >= FC_FC4_PROV_SIZE, reliably indexing past fc_passive_prov[] with no race or nondeterministic condition.\nPR:N - fc_exch_recv and the FCoE/HBA receive path accept fabric-peer frames with no OS credential or capability check; fabric zoning only constrains topology, not authenticated privileges on this code path.\nUI:N - Discovery-driven fc_rport_login automatically advances through PLOGI into PRLI against a presented target; no separate victim action such as mounting a volume or confirming a prompt is required.\nS:U - The out-of-bounds provider-table access and resulting indirect call corrupt host kernel control flow within the same OS security authority and do not cross a VM, IOMMU, or sandbox boundary.\nC:H - Attacker-chosen spp_type performs an unbounded (up to index 255) out-of-bounds read of adjacent kernel pointer/data (including into fc_active_prov and further module globals), which per guidance is High confidentiality impact and enables further disclosure primitives if the call is hijacked.\nI:H - The OOB-read value is used as a struct fc4_prov * and prov->prli() is invoked, yielding an attacker-influenced indirect call that enables control-flow hijacking and arbitrary code execution.\nA:H - Dereferencing or calling through a non-NULL OOB pointer that is not a valid fc4_prov causes a kernel oops/panic, which is High availability impact and can be retried on subsequent PRLI exchanges."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/scsi/libfc/fc_rport.c"
                    ],
                    "versions": [
                        {
                            "version": "386b97b43c0c9e0d878eec7ea1db16af22b036ae",
                            "lessThan": "44651522941c623e20882b3b443f23f77de1ea8b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "386b97b43c0c9e0d878eec7ea1db16af22b036ae",
                            "lessThan": "4921b1618045ffab71b1050bf0014df3313a2289",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "386b97b43c0c9e0d878eec7ea1db16af22b036ae",
                            "lessThan": "0fe70c15f9435bb3c50954778245d62ee38b0e03",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "386b97b43c0c9e0d878eec7ea1db16af22b036ae",
                            "lessThan": "a4a54c54af2516caa9c145015844543cfc84316a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "386b97b43c0c9e0d878eec7ea1db16af22b036ae",
                            "lessThan": "8511293e643a18b248510ae5734e4f360754348c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "386b97b43c0c9e0d878eec7ea1db16af22b036ae",
                            "lessThan": "b27c4577557045f1ab3cdfeabfc7f3cd24aca1fe",
                            "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/scsi/libfc/fc_rport.c"
                    ],
                    "versions": [
                        {
                            "version": "4.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.241",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.199",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.135",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.53",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.13.5",
                            "lessThanOrEqual": "5.13.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.14",
                            "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.10",
                                    "versionEndExcluding": "4.14.241"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "4.19.199"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "5.4.135"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "5.10.53"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "5.13.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "5.14"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/44651522941c623e20882b3b443f23f77de1ea8b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4921b1618045ffab71b1050bf0014df3313a2289"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0fe70c15f9435bb3c50954778245d62ee38b0e03"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a4a54c54af2516caa9c145015844543cfc84316a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8511293e643a18b248510ae5734e4f360754348c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b27c4577557045f1ab3cdfeabfc7f3cd24aca1fe"
                }
            ],
            "title": "scsi: libfc: Fix array index out of bound exception",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-125",
                                "lang": "en",
                                "description": "CWE-125 Out-of-bounds Read"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 6.5,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "LOW",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "LOW"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-05-21T18:45:25.408358Z",
                                "id": "CVE-2021-47308",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-11-08T21:15:58.371Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T05:32:08.437Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/44651522941c623e20882b3b443f23f77de1ea8b",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/4921b1618045ffab71b1050bf0014df3313a2289",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/0fe70c15f9435bb3c50954778245d62ee38b0e03",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/a4a54c54af2516caa9c145015844543cfc84316a",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/8511293e643a18b248510ae5734e4f360754348c",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/b27c4577557045f1ab3cdfeabfc7f3cd24aca1fe",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}