CVE-2026-89843

scsi: qla2xxx: Zero-init bsg stack buffers to avoid info leak

State
Published
Severity
Not scored
Published
Sep 16, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 1c820d0900e4aacd5020b989159f6b4b2f7d0d6aAffected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 26bc6a2c235a70bfc9b6de412600208aca820e20Affected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 5ab32dff910291b5e6bf6223f8a4003536c1800aAffected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 947c6bfcf7f5ec924995bec43e3108b98c75b44eAffected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 708c0ec1e09c52fee24b74ce9398bf3f8d1c83fdAffected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 4fe5790674097897a1af1367d1e384f7e5a62fb7Affected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before 7881faf862ee301ecfe3adc0725bd2fa0021cd95Affected
  • 697a4bc69159c3396035b0506ffa55c4b2d0b1f4 to before b93d3bb3afe1b44489927de1eb4e66e8536a5935Affected
LinuxLinux
  • 3.2Affected
  • before 3.2Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.