{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-48686",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2024-05-03T14:55:07.143Z",
        "datePublished": "2024-05-03T14:59:10.472Z",
        "dateUpdated": "2026-08-05T08:51:45.116Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T08:51:45.116Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-tcp: fix UAF when detecting digest errors\n\nWe should also bail from the io_work loop when we set rd_enabled to true,\nso we don't attempt to read data from the socket when the TCP stream is\nalready out-of-sync or corrupted."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 9.8,
                        "baseSeverity": "CRITICAL"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The bug is in the NVMe/TCP host receive path (nvme_tcp_recv_skb → io_work), which processes PDU bytes from a remote TCP peer; a malicious or compromised NVMe-oF target (or MITM) triggers it over the network.\nAC:L - The attacker fully controls the peer TCP stream and can reliably send header-digest or other protocol errors, then more data so try_recv still returns pending work and io_work continues after rd_enabled is cleared.\nPR:N - The attacker is the remote NVMe/TCP peer and needs no privileges on the victim host; an already-configured fabrics connection is only a deployment precondition.\nUI:N - After an NVMe/TCP session exists, the peer can trigger the flaw during ordinary I/O with no further user action.\nS:U - Impact is use-after-free and memory corruption inside the host kernel’s own authority, not a cross-boundary escape.\nC:H - Continuing on a desynced stream and racing teardown yields a use-after-free (e.g. nvme_cid_to_rq on stale/freed requests), which can be leveraged for arbitrary kernel reads.\nI:H - The same UAF is exploitable for heap manipulation and arbitrary writes / control-flow hijacking in the kernel.\nA:H - The UAF causes kernel oops/panic and also forces controller error recovery that disrupts storage I/O."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/host/tcp.c"
                    ],
                    "versions": [
                        {
                            "version": "3f2304f8c6d6ed97849057bd16fee99e434ca796",
                            "lessThan": "19816a0214684f70b49b25075ff8c402fdd611d3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3f2304f8c6d6ed97849057bd16fee99e434ca796",
                            "lessThan": "5914fa32ef1b7766fea933f9eed94ac5c00aa7ff",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3f2304f8c6d6ed97849057bd16fee99e434ca796",
                            "lessThan": "13c80a6c112467bab5e44d090767930555fc17a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3f2304f8c6d6ed97849057bd16fee99e434ca796",
                            "lessThan": "c3eb461aa56e6fa94fb80442ba2586bd223a8886",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "3f2304f8c6d6ed97849057bd16fee99e434ca796",
                            "lessThan": "160f3549a907a50e51a8518678ba2dcf2541abea",
                            "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/nvme/host/tcp.c"
                    ],
                    "versions": [
                        {
                            "version": "5.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.213",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.143",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.68",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19.9",
                            "lessThanOrEqual": "5.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0",
                            "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": "5.0",
                                    "versionEndExcluding": "5.4.213"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "5.10.143"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "5.15.68"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "5.19.9"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.0",
                                    "versionEndExcluding": "6.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/19816a0214684f70b49b25075ff8c402fdd611d3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/5914fa32ef1b7766fea933f9eed94ac5c00aa7ff"
                },
                {
                    "url": "https://git.kernel.org/stable/c/13c80a6c112467bab5e44d090767930555fc17a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c3eb461aa56e6fa94fb80442ba2586bd223a8886"
                },
                {
                    "url": "https://git.kernel.org/stable/c/160f3549a907a50e51a8518678ba2dcf2541abea"
                }
            ],
            "title": "nvme-tcp: fix UAF when detecting digest errors",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-416",
                                "lang": "en",
                                "description": "CWE-416 Use After Free"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 6.2,
                            "attackVector": "LOCAL",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-06-17T17:39:58.605083Z",
                                "id": "CVE-2022-48686",
                                "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-21T21:25:46.756Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T15:17:55.855Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://git.kernel.org/stable/c/19816a0214684f70b49b25075ff8c402fdd611d3",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/5914fa32ef1b7766fea933f9eed94ac5c00aa7ff",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/13c80a6c112467bab5e44d090767930555fc17a5",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/c3eb461aa56e6fa94fb80442ba2586bd223a8886",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://git.kernel.org/stable/c/160f3549a907a50e51a8518678ba2dcf2541abea",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}