Skip to content
Heist/ feed
Back to feed
UnratedFix available

nvmet-auth: zero the AUTH_RECEIVE response buffer

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: zero the AUTH_RECEIVE response buffer nvmet_execute_auth_receive() allocates the response buffer with kmalloc() sized by the host-supplied AUTH_RECEIVE allocation length, but the DH-HMAC-CHAP builders write only a fixed-size message into it. The full allocation length is then copied to the wire by nvmet_copy_to_sgl(), so a remote initiator receives the bytes past the built message -- up to nearly a page of uninitialized slab -- during the pre-authentication handshake. Allocate the buffer with kzalloc() so the unwritten tail is zeroed before it is sent; conforming responses are unaffected.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.185, 6.12.106, 6.18.47, 6.6.154, 7.1.11, 7.2.1
CVEs
CVE-2026-80791
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:32 UTC · Revision 1

Source evidence

nvmet-auth: zero the AUTH_RECEIVE response buffer

core-osv · Original source

Published 4 Sept 2026, 15:13 UTC

In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: zero the AUTH_RECEIVE response buffer nvmet_execute_auth_receive() allocates the response buffer with kmalloc() sized by the host-supplied AUTH_RECEIVE allocation length, but the DH-HMAC-CHAP builders write only a fixed-size message into it. The full allocation length is then copied to the wire by nvmet_copy_to_sgl(), so a remote initiator receives the bytes past the built message -- up to nearly a page of uninitialized slab -- during the pre-authentication handshake. Allocate the buffer with kzalloc() so the unwritten tail is zeroed before it is sent; conforming responses are unaffected.

osv:CVE-2026-80791

Kernel

Fixed versions: 6.1.185, 6.6.154, 6.12.106, 6.18.47, 7.1.11, 7.2.1

Complete source record
{
  "id": "f8e0e4768812d441f14e143e023ff02b209eeb8b1e952e6a1c8207fcccd16f5c",
  "url": "https://osv.dev/vulnerability/CVE-2026-80791",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nvmet-auth: zero the AUTH_RECEIVE response buffer",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: nvmet-auth: zero the AUTH_RECEIVE response buffer nvmet_execute_auth_receive() allocates the response buffer with kmalloc() sized by the host-supplied AUTH_RECEIVE allocation length, but the DH-HMAC-CHAP builders write only a fixed-size message into it. The full allocation length is then copied to the wire by nvmet_copy_to_sgl(), so a remote initiator receives the bytes past the built message -- up to nearly a page of uninitialized slab -- during the pre-authentication handshake. Allocate the buffer with kzalloc() so the unwritten tail is zeroed before it is sent; conforming responses are unaffected.",
    "evidence": "osv:CVE-2026-80791",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.185",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.154",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.106",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.47",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.11",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-80791",
      "aliases": [
        "CVE-2026-80791"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "db1312dd95488b5e6ff362ff66fcf953a46b1821"
                },
                {
                  "fixed": "447b668faa14710f611e714031e3739ac3ec3a4f"
                },
                {
                  "fixed": "8f6363c8d54dde95982f0ab45e77cf57ec0efd62"
                },
                {
                  "fixed": "dfcf013f77709ebdb282767edc2795a37cab5b57"
                },
                {
                  "fixed": "b26189d28442183a8b5edb754f4a6918f77ca84e"
                },
                {
                  "fixed": "2dcc9226203da7275a9c29d20007da278d73d5e9"
                },
                {
                  "fixed": "1d6837d98bf966a041af65de5f78de7409ff83bc"
                },
                {
                  "fixed": "3ddcfb013322aa37eaa7a0d344b73079c38dfa21"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80791.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.0.0"
                },
                {
                  "fixed": "6.1.185"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.154"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.106"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.47"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.11"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "7.2.0"
                },
                {
                  "fixed": "7.2.1"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80791.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.582762055Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1d6837d98bf966a041af65de5f78de7409ff83bc",
        "https://git.kernel.org/stable/c/2dcc9226203da7275a9c29d20007da278d73d5e9",
        "https://git.kernel.org/stable/c/3ddcfb013322aa37eaa7a0d344b73079c38dfa21",
        "https://git.kernel.org/stable/c/447b668faa14710f611e714031e3739ac3ec3a4f",
        "https://git.kernel.org/stable/c/8f6363c8d54dde95982f0ab45e77cf57ec0efd62",
        "https://git.kernel.org/stable/c/b26189d28442183a8b5edb754f4a6918f77ca84e",
        "https://git.kernel.org/stable/c/dfcf013f77709ebdb282767edc2795a37cab5b57",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80791.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80791",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80791.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80791",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 487833,
  "published_at": "2026-09-04T15:13:03.204+00:00"
}