← Back to CVE Explorer

CVE-2026-80791

Full vulnerability record from the local CVENow database.

Description

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-04 16:18:05.327000
Last modified
2026-10-19 09:17:13.213000
View original CVE JSON
{
  "id": "CVE-2026-80791",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-04T16:18:05.327",
  "lastModified": "2026-10-19T09:17:13.213",
  "vulnStatus": "Received",
  "cveTags": [],
  "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": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/nvme/target/fabrics-cmd-auth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "447b668faa14710f611e714031e3739ac3ec3a4f",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "8f6363c8d54dde95982f0ab45e77cf57ec0efd62",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "dfcf013f77709ebdb282767edc2795a37cab5b57",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "b26189d28442183a8b5edb754f4a6918f77ca84e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "2dcc9226203da7275a9c29d20007da278d73d5e9",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "1d6837d98bf966a041af65de5f78de7409ff83bc",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "db1312dd95488b5e6ff362ff66fcf953a46b1821",
              "lessThan": "3ddcfb013322aa37eaa7a0d344b73079c38dfa21",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/nvme/target/fabrics-cmd-auth.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.0",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.0",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.185",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.154",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.106",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.47",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.1.11",
              "lessThanOrEqual": "7.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.1",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/1d6837d98bf966a041af65de5f78de7409ff83bc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/2dcc9226203da7275a9c29d20007da278d73d5e9",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/3ddcfb013322aa37eaa7a0d344b73079c38dfa21",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/447b668faa14710f611e714031e3739ac3ec3a4f",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/8f6363c8d54dde95982f0ab45e77cf57ec0efd62",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/b26189d28442183a8b5edb754f4a6918f77ca84e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/dfcf013f77709ebdb282767edc2795a37cab5b57",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}