Skip to content
Heist/ feed
Back to feed
UnratedFix available

scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak qla2x00_do_dport_diagnostics() allocates the qla_dport_diag response buffer with kmalloc_obj() (non-zeroing) and, on success, copies the full sizeof(*dd) back to user space via sg_copy_from_buffer(). The inbound sg_copy_to_buffer() only fills as many bytes as the user request payload provides, and qla26xx_dport_diagnostics() zeroes only dd->buf. The options and unused[] fields are therefore copied out uninitialized, leaking kernel heap contents to user space. Allocate with kzalloc_obj(), matching qla2x00_do_dport_diagnostics_v2().

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.273, 5.15.224, 6.1.191, 6.12.112, 6.18.53, 6.6.160, 7.2.5
CVEs
CVE-2026-89859
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 18:03 UTC · Revision 1

Source evidence

scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak

core-osv · Original source

Published 16 Sept 2026, 10:31 UTC

In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak qla2x00_do_dport_diagnostics() allocates the qla_dport_diag response buffer with kmalloc_obj() (non-zeroing) and, on success, copies the full sizeof(*dd) back to user space via sg_copy_from_buffer(). The inbound sg_copy_to_buffer() only fills as many bytes as the user request payload provides, and qla26xx_dport_diagnostics() zeroes only dd->buf. The options and unused[] fields are therefore copied out uninitialized, leaking kernel heap contents to user space. Allocate with kzalloc_obj(), matching qla2x00_do_dport_diagnostics_v2().

osv:CVE-2026-89859

Kernel

Fixed versions: 5.10.273, 5.15.224, 6.1.191, 6.6.160, 6.12.112, 6.18.53, 7.2.5

Complete source record
{
  "id": "e9a23adcbc4e293ff764e2face6309db6c5bf7ee16f2ca7367b8129aa1ca1097",
  "url": "https://osv.dev/vulnerability/CVE-2026-89859",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak qla2x00_do_dport_diagnostics() allocates the qla_dport_diag response buffer with kmalloc_obj() (non-zeroing) and, on success, copies the full sizeof(*dd) back to user space via sg_copy_from_buffer(). The inbound sg_copy_to_buffer() only fills as many bytes as the user request payload provides, and qla26xx_dport_diagnostics() zeroes only dd->buf. The options and unused[] fields are therefore copied out uninitialized, leaking kernel heap contents to user space. Allocate with kzalloc_obj(), matching qla2x00_do_dport_diagnostics_v2().",
    "evidence": "osv:CVE-2026-89859",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.273",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.224",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.191",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.160",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.112",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.53",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-89859",
      "aliases": [
        "CVE-2026-89859"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ec89146215d124c429bff84b498dccdc4919ffa7"
                },
                {
                  "fixed": "eeef4fa993b3f962de9b45999f12ff25a5c79ce7"
                },
                {
                  "fixed": "504b177ad58c45be7e1cfa81f9b42f7f040737c5"
                },
                {
                  "fixed": "c3e4c716909a053391b06a9a816c8588b652e3d2"
                },
                {
                  "fixed": "2ecc30066c2284d2ed11bbd576ec97156b384054"
                },
                {
                  "fixed": "5dfc77099c7d9fde9520a229794b0154d7ccccc1"
                },
                {
                  "fixed": "d6e2411516bb95e52cb74c9c56b60ad2548a2730"
                },
                {
                  "fixed": "9fc03be982763a131913f84fe73b240ae45bca37"
                },
                {
                  "fixed": "a152edab3854f01dd2daf3eaf8f32cbabdb3834e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89859.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.8.0"
                },
                {
                  "fixed": "5.10.273"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.224"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.191"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.160"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.112"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.53"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89859.json"
          }
        }
      ],
      "modified": "2026-11-01T02:30:21.265352624Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2ecc30066c2284d2ed11bbd576ec97156b384054",
        "https://git.kernel.org/stable/c/504b177ad58c45be7e1cfa81f9b42f7f040737c5",
        "https://git.kernel.org/stable/c/5dfc77099c7d9fde9520a229794b0154d7ccccc1",
        "https://git.kernel.org/stable/c/9fc03be982763a131913f84fe73b240ae45bca37",
        "https://git.kernel.org/stable/c/a152edab3854f01dd2daf3eaf8f32cbabdb3834e",
        "https://git.kernel.org/stable/c/c3e4c716909a053391b06a9a816c8588b652e3d2",
        "https://git.kernel.org/stable/c/d6e2411516bb95e52cb74c9c56b60ad2548a2730",
        "https://git.kernel.org/stable/c/eeef4fa993b3f962de9b45999f12ff25a5c79ce7",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89859.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89859",
        "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/89xxx/CVE-2026-89859.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89859",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 520042,
  "published_at": "2026-09-16T10:31:31.554+00:00"
}