GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-89865 (GCVE-0-2026-89865)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:31 – Updated: 2026-09-16 10:31
VLAI
Title
scsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers The FRU and I2C bsg handlers stage their transfer in a DMA_POOL_SIZE (256-byte) bounce buffer obtained from dma_pool_alloc(), which does not zero the allocation. They initialize only a few leading bytes before handing the buffer to qla2x00_write_sfp(). qla2x00_write_sfp() can override the transfer length with a user-supplied value: if (len == 1) opt |= BIT_0; if (opt & BIT_0) len = *sfp; *sfp is the first byte of the (user-controlled) payload, so len can grow up to 255. The device then DMA-reads len bytes from the 256-byte pool buffer. Since only a small prefix was written (e.g. MAX_FRU_SIZE == 36 bytes for a FRU version, one byte for a FRU status register), the hardware reads past the initialized region and writes up to ~219 bytes of stale DMA-pool heap memory to the device flash. Allocate the buffer with dma_pool_zalloc() in all five FRU/I2C handlers so any bytes beyond the initialized data are zero rather than stale heap contents.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < a476377a66897549dd49bee319f4df66623417b7 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 09703bc7c0be3a7a155b0ff5f21f6765ba3f519c (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 97c45c75f5cdec96b1a4fba8b1d55d0dd01af1e8 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 84bde5ce4038d9ad811e5c994305bbfcbd7a9f79 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < 581590f560b74399151b3cbc88574424c2f3d2dc (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < b157256c28086c434afd70cc78bf9b4d8caf1276 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < a5501c42256235523c4dddf799f032dfbf4f4c77 (git)
Affected: 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 , < b47d4a1547d9ef21b2e9d1a739fe2204d4be05dc (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": "a476377a66897549dd49bee319f4df66623417b7",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "09703bc7c0be3a7a155b0ff5f21f6765ba3f519c",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "97c45c75f5cdec96b1a4fba8b1d55d0dd01af1e8",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "84bde5ce4038d9ad811e5c994305bbfcbd7a9f79",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "581590f560b74399151b3cbc88574424c2f3d2dc",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "b157256c28086c434afd70cc78bf9b4d8caf1276",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "a5501c42256235523c4dddf799f032dfbf4f4c77",
              "status": "affected",
              "version": "697a4bc69159c3396035b0506ffa55c4b2d0b1f4",
              "versionType": "git"
            },
            {
              "lessThan": "b47d4a1547d9ef21b2e9d1a739fe2204d4be05dc",
              "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 SFP DMA buffer in FRU/I2C bsg handlers\n\nThe FRU and I2C bsg handlers stage their transfer in a DMA_POOL_SIZE\n(256-byte) bounce buffer obtained from dma_pool_alloc(), which does not\nzero the allocation. They initialize only a few leading bytes before\nhanding the buffer to qla2x00_write_sfp().\n\nqla2x00_write_sfp() can override the transfer length with a user-supplied\nvalue:\n\n\tif (len == 1)\n\t\topt |= BIT_0;\n\tif (opt \u0026 BIT_0)\n\t\tlen = *sfp;\n\n*sfp is the first byte of the (user-controlled) payload, so len can grow\nup to 255. The device then DMA-reads len bytes from the 256-byte pool\nbuffer. Since only a small prefix was written\n(e.g. MAX_FRU_SIZE == 36 bytes for a FRU version, one byte for a FRU\nstatus register), the hardware reads past the initialized region and\nwrites up to ~219 bytes of stale DMA-pool heap memory to the device\nflash.\n\nAllocate the buffer with dma_pool_zalloc() in all five FRU/I2C handlers\nso any bytes beyond the initialized data are zero rather than stale heap\ncontents."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T10:31:35.758Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a476377a66897549dd49bee319f4df66623417b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/09703bc7c0be3a7a155b0ff5f21f6765ba3f519c"
        },
        {
          "url": "https://git.kernel.org/stable/c/97c45c75f5cdec96b1a4fba8b1d55d0dd01af1e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/84bde5ce4038d9ad811e5c994305bbfcbd7a9f79"
        },
        {
          "url": "https://git.kernel.org/stable/c/581590f560b74399151b3cbc88574424c2f3d2dc"
        },
        {
          "url": "https://git.kernel.org/stable/c/b157256c28086c434afd70cc78bf9b4d8caf1276"
        },
        {
          "url": "https://git.kernel.org/stable/c/a5501c42256235523c4dddf799f032dfbf4f4c77"
        },
        {
          "url": "https://git.kernel.org/stable/c/b47d4a1547d9ef21b2e9d1a739fe2204d4be05dc"
        }
      ],
      "title": "scsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89865",
    "datePublished": "2026-09-16T10:31:35.758Z",
    "dateReserved": "2026-09-11T19:38:34.771Z",
    "dateUpdated": "2026-09-16T10:31:35.758Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "microsoft_vex": {
      "current_release_date": "2026-09-17T01:17:01.000Z",
      "cve": "CVE-2026-89865",
      "id": "msrc_CVE-2026-89865",
      "initial_release_date": "2026-09-17T01:17:01.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "scsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89865.json",
      "version": "1"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-89865\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-09-16T11:16:54.610\",\"lastModified\":\"2026-09-16T11:16:54.610\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: qla2xxx: Zero SFP DMA buffer in FRU/I2C bsg handlers\\n\\nThe FRU and I2C bsg handlers stage their transfer in a DMA_POOL_SIZE\\n(256-byte) bounce buffer obtained from dma_pool_alloc(), which does not\\nzero the allocation. They initialize only a few leading bytes before\\nhanding the buffer to qla2x00_write_sfp().\\n\\nqla2x00_write_sfp() can override the transfer length with a user-supplied\\nvalue:\\n\\n\\tif (len == 1)\\n\\t\\topt |= BIT_0;\\n\\tif (opt \u0026 BIT_0)\\n\\t\\tlen = *sfp;\\n\\n*sfp is the first byte of the (user-controlled) payload, so len can grow\\nup to 255. The device then DMA-reads len bytes from the 256-byte pool\\nbuffer. Since only a small prefix was written\\n(e.g. MAX_FRU_SIZE == 36 bytes for a FRU version, one byte for a FRU\\nstatus register), the hardware reads past the initialized region and\\nwrites up to ~219 bytes of stale DMA-pool heap memory to the device\\nflash.\\n\\nAllocate the buffer with dma_pool_zalloc() in all five FRU/I2C handlers\\nso any bytes beyond the initialized data are zero rather than stale heap\\ncontents.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/scsi/qla2xxx/qla_bsg.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"a476377a66897549dd49bee319f4df66623417b7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"09703bc7c0be3a7a155b0ff5f21f6765ba3f519c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"97c45c75f5cdec96b1a4fba8b1d55d0dd01af1e8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"84bde5ce4038d9ad811e5c994305bbfcbd7a9f79\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"581590f560b74399151b3cbc88574424c2f3d2dc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"b157256c28086c434afd70cc78bf9b4d8caf1276\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"a5501c42256235523c4dddf799f032dfbf4f4c77\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"697a4bc69159c3396035b0506ffa55c4b2d0b1f4\",\"lessThan\":\"b47d4a1547d9ef21b2e9d1a739fe2204d4be05dc\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/scsi/qla2xxx/qla_bsg.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"3.2\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"3.2\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.270\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.221\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.188\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.157\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.110\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.51\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2.5\",\"lessThanOrEqual\":\"7.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.3-rc1\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/09703bc7c0be3a7a155b0ff5f21f6765ba3f519c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/581590f560b74399151b3cbc88574424c2f3d2dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/84bde5ce4038d9ad811e5c994305bbfcbd7a9f79\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/97c45c75f5cdec96b1a4fba8b1d55d0dd01af1e8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a476377a66897549dd49bee319f4df66623417b7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a5501c42256235523c4dddf799f032dfbf4f4c77\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b157256c28086c434afd70cc78bf9b4d8caf1276\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b47d4a1547d9ef21b2e9d1a739fe2204d4be05dc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}



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…

Detection rules are retrieved from Rulezet.

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…