Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6913D299A82 for ; Tue, 30 Dec 2025 12:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096730; cv=none; b=gQbdPm1DIvq4+vpRWHDyW5uU+FxZvQmGR8weqjxjvPH1TVkB8FaOlsvCVBp+29TeFQjYvyxrnqnNXjpqMvwv3ENN9tWZTJMwir7XCTCvST7fHn69HmFNzFBjvY0UOGcdizetvg3qBgeE3l0ajFDXJDyNWDQ8Q2zR1OU8zvOXClU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096730; c=relaxed/simple; bh=MIrSuvTT0Eyz4hHPrWD3C6xCuPISS+R6F/w+ykzmNIY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=flVOTOUs3o9LZE0+Z7c/8M4O2H2+NAvBjTmlaok3wRgahZNIpMs/R8b43VszXSv6XI0Sjqotm/TzBjyq8lotQUKQhsgxcE9VLmR4qws4WU8ARiYlYFL0VrzKZPrLi/sgHaPqubD2av4x6BcMGs0SS+PyBXpMAWIsUgWsXE6gcdY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cWN3Hz6T; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="cWN3Hz6T" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B8FBC4CEFB; Tue, 30 Dec 2025 12:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096730; bh=MIrSuvTT0Eyz4hHPrWD3C6xCuPISS+R6F/w+ykzmNIY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=cWN3Hz6TjGldvilS6EayosxD+KlazZly6hYqTb5v/ApUBpLqM5hdDVWvm7KoD2eZ4 HuWZYb8R3WYE+b6PbF+d1UW1P7LOxEYjC9rlptRIvk66tzSr5me6cngon7iPaOaCCk QZo9ysORiFTwCBESyNTeqtIN+xPPcwuHvrUX37SA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54179: scsi: qla2xxx: Array index may go out of bound Date: Tue, 30 Dec 2025 13:09:47 +0100 Message-ID: <2025123023-CVE-2023-54179-e6e3@gregkh> X-Mailer: git-send-email 2.52.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=2449; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PIa+8i4+l8NxmGcTx7poOzjsU0SYK5NHfXcT40Aimw4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBBz4H88ttdlB9+nfz1HOvvEOv+NUGWm491X7ytN7uf 9tOqbx72hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQAT2WLHML/q4hnr8mU3q7uU S3gbPj0XXCJVv45hnpE/87SXwiGBwkVp7QKveUQrM2bdBwA= 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: Array index may go out of bound Klocwork reports array 'vha->host_str' of size 16 may use index value(s) 16..19. Use snprintf() instead of sprintf(). The Linux kernel CVE team has assigned CVE-2023-54179 to this issue. Affected and fixed versions =========================== Fixed in 4.19.291 with commit e697f466bf61280b7e996c9ea096d7ec371c31ea Fixed in 5.4.253 with commit ea64c727f20123342020257cfa956fbfbd6d12ff Fixed in 5.10.188 with commit bcd773969a87d9802053c0db5be84abd6594a024 Fixed in 5.15.121 with commit 748d8f8698a2f48ffe32dd7b35dbab1810ed1f82 Fixed in 6.1.40 with commit 2b3bdef089b920b4a19fefb4f4e6dda56a4bb583 Fixed in 6.4.5 with commit e934737e18ff069a66cd53cd7f7a0b34ae2c24fe Fixed in 6.5 with commit d721b591b95cf3f290f8a7cbe90aa2ee0368388d 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-2023-54179 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_os.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/e697f466bf61280b7e996c9ea096d7ec371c31ea https://git.kernel.org/stable/c/ea64c727f20123342020257cfa956fbfbd6d12ff https://git.kernel.org/stable/c/bcd773969a87d9802053c0db5be84abd6594a024 https://git.kernel.org/stable/c/748d8f8698a2f48ffe32dd7b35dbab1810ed1f82 https://git.kernel.org/stable/c/2b3bdef089b920b4a19fefb4f4e6dda56a4bb583 https://git.kernel.org/stable/c/e934737e18ff069a66cd53cd7f7a0b34ae2c24fe https://git.kernel.org/stable/c/d721b591b95cf3f290f8a7cbe90aa2ee0368388d