{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139155",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.917Z",
        "datePublished": "2026-11-30T13:32:05.369Z",
        "dateUpdated": "2026-12-01T05:41:37.011Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-01T05:41:37.011Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: take only AUTH_Negotiate for a negotiation\n\nnvmet_execute_auth_send() hands a common-type message to\nnvmet_auth_negotiate() if its ID is AUTH_Negotiate or matches the step\nthe queue is in. The second case is wrong: the only other common-type\nmessage a host sends is AUTH_Failure2, and no queue waits in that step.\nA host can name the step on purpose though, and its message is then\ntreated as a new AUTH_Negotiate without the work that goes with a new\ntransaction, like reloading the keys on the admin queue.\n\nFail every other common-type message, as AUTH_Failure2 already is."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:N - The malformed input is an NVMe-oF AUTH_SEND capsule over nvmet-tcp: a common-type DH-HMAC-CHAP message whose auth_id equals sq->dhchap_step (e.g. 0x02 at step REPLY). nvmet_execute_auth_send() then re-runs nvmet_auth_negotiate() without nvmet_auth_sq_free(), and the next AUTH_RECEIVE challenge overwrites sq->dhchap_c1.\nAC:L - The remote host drives every step itself: it sends NEGOTIATE, then repeats a step-named common message followed by AUTH_RECEIVE. Each round deterministically orphans the previous dhchap_c1 kmalloc. There is no race and no state the attacker cannot produce on its own connection, and it can open as many connections as it likes.\nPR:N - It needs no key: the discovery subsystem passes nvmet_host_allowed() for any hostnqn, nvmet_setup_auth() returns 0 for discovery, and nvmet_parse_admin_cmd() sends fabrics AUTH_SEND/AUTH_RECEIVE to their handlers before any nvmet_check_auth_status() gate. The whole loop runs before authentication.\nUI:N - No target-side administrator or user action is involved. Once an nvmet-tcp port is listening, the attacker's own TCP connection, fabrics Connect to the discovery NQN and auth capsules are enough to trigger the leak.\nS:U - The impact is exhausting the target kernel's own slab memory. No VM, IOMMU or sandbox boundary is crossed.\nC:N - The unauthenticated path only orphans dhchap_c1 buffers and discloses nothing. The stale-c2 over-read in nvmet_auth_ctrl_hash() needs both the host and controller DH-HMAC-CHAP keys, and its bytes reach the host only inside an HMAC, so it is not counted for this attacker.\nI:N - Skipping the admin-queue nvmet_setup_auth() reload and the per-transaction reset does not let the host authenticate without the host key or write kernel memory. Negotiate still forces a fresh CHALLENGE/REPLY check of the host key.\nA:H - Each two-command round leaks a non-memcg-accounted kmalloc(hash_len) of up to 64 bytes from nvmet_auth_challenge(). It is unbounded and repeatable across many pipelined connections, and survives disconnect, so a remote host can exhaust target kernel memory into OOM."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/nvme/target/fabrics-cmd-auth.c"
                    ],
                    "versions": [
                        {
                            "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
                            "lessThan": "bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
                            "lessThan": "a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
                            "lessThan": "7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
                            "lessThan": "e2466abd224f132da758aa6877fbfe08e0d3c51d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
                            "lessThan": "4fa202329187f6cdce942ee66ead0411ab2dbb14",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
                            "lessThan": "7dd1d31e2e3124f331056d68af9a48c501b37e02",
                            "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/target/fabrics-cmd-auth.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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": "6.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e2466abd224f132da758aa6877fbfe08e0d3c51d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4fa202329187f6cdce942ee66ead0411ab2dbb14"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7dd1d31e2e3124f331056d68af9a48c501b37e02"
                }
            ],
            "title": "nvmet-auth: take only AUTH_Negotiate for a negotiation",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}