CVE-2026-89859 PUBLISHED

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

Assigner: Linux
Reserved: 11.09.2026 Published: 16.09.2026 Updated: 16.09.2026

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().

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from ec89146215d124c429bff84b498dccdc4919ffa7 to 9fc03be982763a131913f84fe73b240ae45bca37 (excl.)
  • affected from ec89146215d124c429bff84b498dccdc4919ffa7 to a152edab3854f01dd2daf3eaf8f32cbabdb3834e (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.8 is affected
  • unaffected from 0 to 4.8 (excl.)
  • unaffected from 7.2.5 to 7.2.* (incl.)
  • unaffected from 7.3-rc1 to * (incl.)

References