{"api_version":"1","generated_at":"2026-12-01T15:03:22+00:00","cve":"CVE-2026-139155","urls":{"html":"https://cve.report/CVE-2026-139155","api":"https://cve.report/api/cve/CVE-2026-139155.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139155","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139155"},"summary":{"title":"nvmet-auth: take only AUTH_Negotiate for a negotiation","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:34","updated_at":"2026-12-01 06:17:37"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"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","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/4fa202329187f6cdce942ee66ead0411ab2dbb14","name":"https://git.kernel.org/stable/c/4fa202329187f6cdce942ee66ead0411ab2dbb14","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e2466abd224f132da758aa6877fbfe08e0d3c51d","name":"https://git.kernel.org/stable/c/e2466abd224f132da758aa6877fbfe08e0d3c51d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde","name":"https://git.kernel.org/stable/c/a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5","name":"https://git.kernel.org/stable/c/7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893","name":"https://git.kernel.org/stable/c/bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7dd1d31e2e3124f331056d68af9a48c501b37e02","name":"https://git.kernel.org/stable/c/7dd1d31e2e3124f331056d68af9a48c501b37e02","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139155","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139155","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db1312dd95488b5e6ff362ff66fcf953a46b1821 bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db1312dd95488b5e6ff362ff66fcf953a46b1821 a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db1312dd95488b5e6ff362ff66fcf953a46b1821 7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db1312dd95488b5e6ff362ff66fcf953a46b1821 e2466abd224f132da758aa6877fbfe08e0d3c51d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db1312dd95488b5e6ff362ff66fcf953a46b1821 4fa202329187f6cdce942ee66ead0411ab2dbb14 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db1312dd95488b5e6ff362ff66fcf953a46b1821 7dd1d31e2e3124f331056d68af9a48c501b37e02 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/nvme/target/fabrics-cmd-auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bf0f7e8d9bc4c4db15c92142d6ebbcf3e11bb893","status":"affected","version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","versionType":"git"},{"lessThan":"a3bcb3d2df08c2378f2a2a39256f0fafb7d91fde","status":"affected","version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","versionType":"git"},{"lessThan":"7c1d950a0b2644e8f9832ff9ac45be5d2ed57bb5","status":"affected","version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","versionType":"git"},{"lessThan":"e2466abd224f132da758aa6877fbfe08e0d3c51d","status":"affected","version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","versionType":"git"},{"lessThan":"4fa202329187f6cdce942ee66ead0411ab2dbb14","status":"affected","version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","versionType":"git"},{"lessThan":"7dd1d31e2e3124f331056d68af9a48c501b37e02","status":"affected","version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/nvme/target/fabrics-cmd-auth.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.0"},{"lessThan":"6.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":7.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-12-01T05:41:37.011Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139155","datePublished":"2026-11-30T13:32:05.369Z","dateReserved":"2026-11-30T13:22:15.917Z","dateUpdated":"2026-12-01T05:41:37.011Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:34","lastModifiedDate":"2026-12-01 06:17:37","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139155","Ordinal":"1","Title":"nvmet-auth: take only AUTH_Negotiate for a negotiation","CVE":"CVE-2026-139155","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139155","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"nvmet-auth: take only AUTH_Negotiate for a negotiation"}]}}}