Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 522994FB9BF for ; Wed, 16 Sep 2026 10:35:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554970; cv=none; b=sOS0eXJluoeyfl72JNHyvrCDzhUUa8RNE6eK3eSBn5obeOUsxljmDhU+uIBKMFOw0okhfB+5GHBrjfzu0syNjru+5X0d3junrMcgYN6R7P61IdCeMhAgfVw+/ek8mAN1Gi7SZv9qArZUpgIuYGIuuNVvtbCBoP4HiVFJtChSlak= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554970; c=relaxed/simple; bh=YNtJ2pLlyReLFt6TOUvxKVjAs4+k3w2wEfksrOsYdzo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=irzzX/2zvh10vq5brJ7cEG0lCWt9j/BKm1wpGwXFWAI/8ohPjsygRwX4NnOZyHAFnKxHNao4AtLUsRUavpHB2RYnR1Ftg8enaZPptZLpMEyAqWJEsnRzKAamgD/t+I95lM7Yq9TqAAyQSLsuAg2bbSbqsdM3Mb+dTqcIFFyuYEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yu5ewz8I; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yu5ewz8I" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E54E1F00899; Wed, 16 Sep 2026 10:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554954; bh=j62N8JTGFSDgkp8bqAM/OyxigpfsvcVeLUSfJSy6O7k=; h=From:To:Cc:Subject:Date:Reply-To; b=yu5ewz8I/hQjjKdzub2a5xwMFILrG2L3vuYbLWYATRgtPHK1wYKR3SVAetdUiKeQV Pch8I7J+eEqWl/ls0Ez6fx3o1N8jhxeI++LH/Y978vsUs89MklBLY+CHSUjhg0mQzG xLxgM/iIKOYfMD+pt1XaCh/EVvpVw9UJBQUajE+A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89859: scsi: qla2xxx: Zero dport diagnostics buffer to avoid info leak Date: Wed, 16 Sep 2026 11:29:49 +0100 Message-ID: <2026091620-CVE-2026-89859-ce93@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2322; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tplamcIgnHzJTfNUG2CHxzhkOzcdSiQX6n6GYrZbfh8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8hvSHuxeaWSQPv2S+BHWhnseE92UYg6qVcnMl60KT T1cwLS7I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy5BfDbPZ/ea1T1VXc2jfI b5z1cKa/4gfrAwzzDGqT/0v+s4vZnu/BeHTnn4joW8JpAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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(). The Linux kernel CVE team has assigned CVE-2026-89859 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit ec89146215d124c429bff84b498dccdc4919ffa7 and fixed in 7.2.5 with commit 9fc03be982763a131913f84fe73b240ae45bca37 Issue introduced in 4.8 with commit ec89146215d124c429bff84b498dccdc4919ffa7 and fixed in 7.3-rc1 with commit a152edab3854f01dd2daf3eaf8f32cbabdb3834e Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89859 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/scsi/qla2xxx/qla_bsg.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/9fc03be982763a131913f84fe73b240ae45bca37 https://git.kernel.org/stable/c/a152edab3854f01dd2daf3eaf8f32cbabdb3834e