{"id":"CVE-2026-139401","state":"PUBLISHED","title":"nvmet-auth: reject undersized AUTH_SEND payloads","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: reject undersized AUTH_SEND payloads\n\nnvmet_execute_auth_send() allocates and copies the initiator-supplied\ntransfer length, then reads auth_type and auth_id through a common DHCHAP\nmessage pointer.  The existing zero and transfer-length checks do not\nensure that both common-header bytes are present.\n\nAn unauthenticated NVMe/TCP initiator can complete ICReq and admin CONNECT,\nthen send AUTH_SEND with tl equal to one.  KASAN reports a one-byte slab\nout-of-bounds read when auth_id is loaded.\n\nReject payloads that do not cover the common auth_type/auth_id header\nbefore allocating or parsing them.  The one-byte trigger and\nheader-minus-one boundary were cleanly rejected in three fixed fresh-boot\nruns.  Exact-header, valid DHCHAP, wrong-type, mismatch, and zero-length\ncontrols remained clean, and a following valid AUTH_SEND on the same\nconnection received a response.  The touched source is unchanged at\n0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and\nbuilds cleanly.\n\nThe demonstrated impact is unauthenticated pre-authentication target-kernel\ndenial of service.  No disclosure, controlled write, RCE, or LPE was\ndemonstrated.  The source reproducer and complete logs are available on\nrequest and are not included in this public report.\n\nOpenAI Codex assisted source inspection, test design, patch drafting, and\nevidence organization.","publishedAt":"2026-11-30T13:34:24.983Z","updatedAt":"2026-11-30T13:34:24.983Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"72424f283c6285d1c8d027ac6b9f745e4a24c668","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"e980903adec43914634885e3b54ee60f49709add","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"53b1a27a94a363593810922ee66111ba618cb53d","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"78d983a6a2dbeb24c71ab0b657cd7295162fb97b","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"1dd05c2f5c44cd73ec742443848b7c4f9a86acb3","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"c9359401036e8294c007a10e8c8d8da7030fcc76","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/fabrics-cmd-auth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/fabrics-cmd-auth.c"]}],"references":["https://git.kernel.org/stable/c/72424f283c6285d1c8d027ac6b9f745e4a24c668","https://git.kernel.org/stable/c/e980903adec43914634885e3b54ee60f49709add","https://git.kernel.org/stable/c/53b1a27a94a363593810922ee66111ba618cb53d","https://git.kernel.org/stable/c/78d983a6a2dbeb24c71ab0b657cd7295162fb97b","https://git.kernel.org/stable/c/1dd05c2f5c44cd73ec742443848b7c4f9a86acb3","https://git.kernel.org/stable/c/c9359401036e8294c007a10e8c8d8da7030fcc76"],"weaknesses":[],"ingestedAt":"2026-11-30T13:48:04.491Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139401.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139401","state":"PUBLISHED","datePublished":"2026-11-30T13:34:24.983Z","dateUpdated":"2026-11-30T13:34:24.983Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.931Z"},"containers":{"cna":{"title":"nvmet-auth: reject undersized AUTH_SEND payloads","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: reject undersized AUTH_SEND payloads\n\nnvmet_execute_auth_send() allocates and copies the initiator-supplied\ntransfer length, then reads auth_type and auth_id through a common DHCHAP\nmessage pointer.  The existing zero and transfer-length checks do not\nensure that both common-header bytes are present.\n\nAn unauthenticated NVMe/TCP initiator can complete ICReq and admin CONNECT,\nthen send AUTH_SEND with tl equal to one.  KASAN reports a one-byte slab\nout-of-bounds read when auth_id is loaded.\n\nReject payloads that do not cover the common auth_type/auth_id header\nbefore allocating or parsing them.  The one-byte trigger and\nheader-minus-one boundary were cleanly rejected in three fixed fresh-boot\nruns.  Exact-header, valid DHCHAP, wrong-type, mismatch, and zero-length\ncontrols remained clean, and a following valid AUTH_SEND on the same\nconnection received a response.  The touched source is unchanged at\n0c2669a9f4a1d607e7591ae50ccf3c432a0aff08, where the patch applies and\nbuilds cleanly.\n\nThe demonstrated impact is unauthenticated pre-authentication target-kernel\ndenial of service.  No disclosure, controlled write, RCE, or LPE was\ndemonstrated.  The source reproducer and complete logs are available on\nrequest and are not included in this public report.\n\nOpenAI Codex assisted source inspection, test design, patch drafting, and\nevidence organization."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"72424f283c6285d1c8d027ac6b9f745e4a24c668","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"e980903adec43914634885e3b54ee60f49709add","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"53b1a27a94a363593810922ee66111ba618cb53d","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"78d983a6a2dbeb24c71ab0b657cd7295162fb97b","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"1dd05c2f5c44cd73ec742443848b7c4f9a86acb3","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"c9359401036e8294c007a10e8c8d8da7030fcc76","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/fabrics-cmd-auth.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.1.193","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/fabrics-cmd-auth.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/72424f283c6285d1c8d027ac6b9f745e4a24c668"},{"url":"https://git.kernel.org/stable/c/e980903adec43914634885e3b54ee60f49709add"},{"url":"https://git.kernel.org/stable/c/53b1a27a94a363593810922ee66111ba618cb53d"},{"url":"https://git.kernel.org/stable/c/78d983a6a2dbeb24c71ab0b657cd7295162fb97b"},{"url":"https://git.kernel.org/stable/c/1dd05c2f5c44cd73ec742443848b7c4f9a86acb3"},{"url":"https://git.kernel.org/stable/c/c9359401036e8294c007a10e8c8d8da7030fcc76"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:34:24.983Z"},"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"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}