CVE-2026-89843 (GCVE-0-2026-89843)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:31 – Updated: 2026-09-16 10:31
VLAI
Title
scsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak Several bsg handlers stage their request/reply in an uninitialized 256-byte on-stack buffer (uint8_t bsg[DMA_POOL_SIZE]) and fill it via sg_copy_to_buffer(), which only copies as many bytes as the user-supplied request payload. When the request is shorter than the structure, the remainder of the buffer is left holding stale stack data. qla2x00_read_fru_status() and qla2x00_read_i2c() then copy the full structure back to the reply payload with sg_copy_from_buffer(), leaking the uninitialized stack bytes to user space. The write/update paths do not copy the buffer back, but can feed uninitialized fields to the device. Zero the stack buffer at declaration in all five handlers, mirroring the heap kzalloc() approach, so short requests can no longer expose stale memory.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 1c820d0900e4aacd5020b989159f6b4b2f7d0d6a (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 26bc6a2c235a70bfc9b6de412600208aca820e20 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 5ab32dff910291b5e6bf6223f8a4003536c1800a (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 947c6bfcf7f5ec924995bec43e3108b98c75b44e (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 4fe5790674097897a1af1367d1e384f7e5a62fb7 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 7881faf862ee301ecfe3adc0725bd2fa0021cd95 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < b93d3bb3afe1b44489927de1eb4e66e8536a5935 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.2
Unaffected: 0 , < 3.2 (semver)
Unaffected: 5.10.270 , ≤ 5.10.* (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.51 , ≤ 6.18.* (semver)
Unaffected: 7.2.5 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_bsg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "1c820d0900e4aacd5020b989159f6b4b2f7d0d6a",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "26bc6a2c235a70bfc9b6de412600208aca820e20",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "5ab32dff910291b5e6bf6223f8a4003536c1800a",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "947c6bfcf7f5ec924995bec43e3108b98c75b44e",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "4fe5790674097897a1af1367d1e384f7e5a62fb7",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "7881faf862ee301ecfe3adc0725bd2fa0021cd95",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "b93d3bb3afe1b44489927de1eb4e66e8536a5935",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla2xxx/qla_bsg.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.2"
            },
            {
              "lessThan": "3.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.270",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak\n\nSeveral bsg handlers stage their request/reply in an uninitialized 256-byte\non-stack buffer (uint8_t bsg[DMA_POOL_SIZE]) and fill it via\nsg_copy_to_buffer(), which only copies as many bytes as the user-supplied\nrequest payload. When the request is shorter than the structure, the\nremainder of the buffer is left holding stale stack data.\n\nqla2x00_read_fru_status() and qla2x00_read_i2c() then copy the full\nstructure back to the reply payload with sg_copy_from_buffer(), leaking the\nuninitialized stack bytes to user space. The write/update paths do not copy\nthe buffer back, but can feed uninitialized fields to the device.\n\nZero the stack buffer at declaration in all five handlers, mirroring the\nheap kzalloc() approach, so short requests can no longer expose stale\nmemory."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T10:31:17.474Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/1c820d0900e4aacd5020b989159f6b4b2f7d0d6a"
        },
        {
          "url": "https://git.kernel.org/stable/c/26bc6a2c235a70bfc9b6de412600208aca820e20"
        },
        {
          "url": "https://git.kernel.org/stable/c/5ab32dff910291b5e6bf6223f8a4003536c1800a"
        },
        {
          "url": "https://git.kernel.org/stable/c/947c6bfcf7f5ec924995bec43e3108b98c75b44e"
        },
        {
          "url": "https://git.kernel.org/stable/c/708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/4fe5790674097897a1af1367d1e384f7e5a62fb7"
        },
        {
          "url": "https://git.kernel.org/stable/c/7881faf862ee301ecfe3adc0725bd2fa0021cd95"
        },
        {
          "url": "https://git.kernel.org/stable/c/b93d3bb3afe1b44489927de1eb4e66e8536a5935"
        }
      ],
      "title": "scsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89843",
    "datePublished": "2026-09-16T10:31:17.474Z",
    "dateReserved": "2026-09-11T19:38:34.770Z",
    "dateUpdated": "2026-09-16T10:31:17.474Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89843",
      "date": "2026-09-25",
      "epss": "0.0021",
      "percentile": "0.10072"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-24T01:45:19.000Z",
      "cve": "CVE-2026-89843",
      "id": "msrc_CVE-2026-89843",
      "initial_release_date": "2026-09-17T01:11:14.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "scsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89843.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/scsi/qla2xxx/qla_bsg.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "1c820d0900e4aacd5020b989159f6b4b2f7d0d6a",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "26bc6a2c235a70bfc9b6de412600208aca820e20",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5ab32dff910291b5e6bf6223f8a4003536c1800a",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "947c6bfcf7f5ec924995bec43e3108b98c75b44e",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4fe5790674097897a1af1367d1e384f7e5a62fb7",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7881faf862ee301ecfe3adc0725bd2fa0021cd95",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b93d3bb3afe1b44489927de1eb4e66e8536a5935",
                    "status": "affected",
                    "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/scsi/qla2xxx/qla_bsg.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.2"
                  },
                  {
                    "lessThan": "3.2",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.10.*",
                    "status": "unaffected",
                    "version": "5.10.270",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.221",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.188",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.51",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak\n\nSeveral bsg handlers stage their request/reply in an uninitialized 256-byte\non-stack buffer (uint8_t bsg[DMA_POOL_SIZE]) and fill it via\nsg_copy_to_buffer(), which only copies as many bytes as the user-supplied\nrequest payload. When the request is shorter than the structure, the\nremainder of the buffer is left holding stale stack data.\n\nqla2x00_read_fru_status() and qla2x00_read_i2c() then copy the full\nstructure back to the reply payload with sg_copy_from_buffer(), leaking the\nuninitialized stack bytes to user space. The write/update paths do not copy\nthe buffer back, but can feed uninitialized fields to the device.\n\nZero the stack buffer at declaration in all five handlers, mirroring the\nheap kzalloc() approach, so short requests can no longer expose stale\nmemory."
          }
        ],
        "id": "CVE-2026-89843",
        "lastModified": "2026-09-16T11:16:51.157",
        "metrics": {},
        "published": "2026-09-16T11:16:51.157",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1c820d0900e4aacd5020b989159f6b4b2f7d0d6a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/26bc6a2c235a70bfc9b6de412600208aca820e20"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4fe5790674097897a1af1367d1e384f7e5a62fb7"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5ab32dff910291b5e6bf6223f8a4003536c1800a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/708c0ec1e09c52fee24b74ce9398bf3f8d1c83fd"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7881faf862ee301ecfe3adc0725bd2fa0021cd95"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/947c6bfcf7f5ec924995bec43e3108b98c75b44e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b93d3bb3afe1b44489927de1eb4e66e8536a5935"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…