CVE-2026-89859: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak

Published Sep 16, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

qla2x00dodportdiagnostics() allocates the qladportdiag response buffer with kmallocobj() (non-zeroing) and, on success, copies the full sizeof(dd) back to user space via sgcopyfrombuffer(). The inbound sgcopytobuffer() only fills as many bytes as the user request payload provides, and qla26xxdportdiagnostics() zeroes only dd->buf. The options and unused[] fields are therefore copied out uninitialized, leaking kernel heap contents to user space.

Allocate with kzallocobj(), matching qla2x00dodportdiagnosticsv2().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In qla2x00_do_dport_diagnostics(), zero the allocated qla_dport_diag response buffer before sg_copy_to_buffer()/copying the full response back to user space. Specifically, replace non-zeroing allocation with kzalloc_obj() (and ensure the whole response buffer is initialized), rather than allocating with kmalloc_obj() (non-zeroing) and leaving options/unused fields uninitialized.

    Linux kernel (qla2xxx dport diagnostics) qla_dport_diag response buffer initialization = Zero the qla_dport_diag buffer before copying it to user space (allocate with kzalloc_obj() / ensure zeroing, not kmalloc_obj() non-zeroing)

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

Who can trigger the information leak?

A user able to submit the affected dport diagnostics request to the qla2xxx driver can receive uninitialized kernel heap contents in the response. The leak occurs when the supplied request payload does not initialize all fields later copied back to user space.

2

What data may be disclosed?

The uninitialized options and unused[] fields in the qla_dport_diag response structure may expose kernel heap contents. The description does not identify the exact contents or sensitivity of the leaked memory.

3

What is the remediation?

Use a kernel version containing the change that allocates the diagnostics response structure with kzalloc_obj() rather than non-zeroing kmalloc_obj(). This ensures fields not populated by the request are zeroed before the full structure is returned to user space.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203