{"id":"CVE-2026-80791","state":"PUBLISHED","title":"nvmet-auth: zero the AUTH_RECEIVE response buffer","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: zero the AUTH_RECEIVE response buffer\n\nnvmet_execute_auth_receive() allocates the response buffer with kmalloc()\nsized by the host-supplied AUTH_RECEIVE allocation length, but the\nDH-HMAC-CHAP builders write only a fixed-size message into it. The full\nallocation length is then copied to the wire by nvmet_copy_to_sgl(), so a\nremote initiator receives the bytes past the built message -- up to nearly\na page of uninitialized slab -- during the pre-authentication handshake.\n\nAllocate the buffer with kzalloc() so the unwritten tail is zeroed before\nit is sent; conforming responses are unaffected.","publishedAt":"2026-09-04T15:13:03.204Z","updatedAt":"2026-10-19T08:43:44.536Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"447b668faa14710f611e714031e3739ac3ec3a4f","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"8f6363c8d54dde95982f0ab45e77cf57ec0efd62","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"dfcf013f77709ebdb282767edc2795a37cab5b57","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"b26189d28442183a8b5edb754f4a6918f77ca84e","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"2dcc9226203da7275a9c29d20007da278d73d5e9","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"1d6837d98bf966a041af65de5f78de7409ff83bc","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"3ddcfb013322aa37eaa7a0d344b73079c38dfa21","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.185","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.154","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.106","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.47","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.11","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2.1","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","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/447b668faa14710f611e714031e3739ac3ec3a4f","https://git.kernel.org/stable/c/8f6363c8d54dde95982f0ab45e77cf57ec0efd62","https://git.kernel.org/stable/c/dfcf013f77709ebdb282767edc2795a37cab5b57","https://git.kernel.org/stable/c/b26189d28442183a8b5edb754f4a6918f77ca84e","https://git.kernel.org/stable/c/2dcc9226203da7275a9c29d20007da278d73d5e9","https://git.kernel.org/stable/c/1d6837d98bf966a041af65de5f78de7409ff83bc","https://git.kernel.org/stable/c/3ddcfb013322aa37eaa7a0d344b73079c38dfa21"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/80xxx/CVE-2026-80791.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80791","state":"PUBLISHED","datePublished":"2026-09-04T15:13:03.204Z","dateUpdated":"2026-10-19T08:43:44.536Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-08-26T14:34:25.793Z"},"containers":{"cna":{"title":"nvmet-auth: zero the AUTH_RECEIVE response buffer","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-auth: zero the AUTH_RECEIVE response buffer\n\nnvmet_execute_auth_receive() allocates the response buffer with kmalloc()\nsized by the host-supplied AUTH_RECEIVE allocation length, but the\nDH-HMAC-CHAP builders write only a fixed-size message into it. The full\nallocation length is then copied to the wire by nvmet_copy_to_sgl(), so a\nremote initiator receives the bytes past the built message -- up to nearly\na page of uninitialized slab -- during the pre-authentication handshake.\n\nAllocate the buffer with kzalloc() so the unwritten tail is zeroed before\nit is sent; conforming responses are unaffected."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"447b668faa14710f611e714031e3739ac3ec3a4f","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"8f6363c8d54dde95982f0ab45e77cf57ec0efd62","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"dfcf013f77709ebdb282767edc2795a37cab5b57","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"b26189d28442183a8b5edb754f4a6918f77ca84e","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"2dcc9226203da7275a9c29d20007da278d73d5e9","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"1d6837d98bf966a041af65de5f78de7409ff83bc","versionType":"git"},{"version":"db1312dd95488b5e6ff362ff66fcf953a46b1821","status":"affected","lessThan":"3ddcfb013322aa37eaa7a0d344b73079c38dfa21","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.185","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.154","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.106","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.47","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.11","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2.1","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","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/447b668faa14710f611e714031e3739ac3ec3a4f"},{"url":"https://git.kernel.org/stable/c/8f6363c8d54dde95982f0ab45e77cf57ec0efd62"},{"url":"https://git.kernel.org/stable/c/dfcf013f77709ebdb282767edc2795a37cab5b57"},{"url":"https://git.kernel.org/stable/c/b26189d28442183a8b5edb754f4a6918f77ca84e"},{"url":"https://git.kernel.org/stable/c/2dcc9226203da7275a9c29d20007da278d73d5e9"},{"url":"https://git.kernel.org/stable/c/1d6837d98bf966a041af65de5f78de7409ff83bc"},{"url":"https://git.kernel.org/stable/c/3ddcfb013322aa37eaa7a0d344b73079c38dfa21"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:43:44.536Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.1.185"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.154"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.106"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.47"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.1.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.2.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}