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 367BD134CC2 for ; Wed, 10 Apr 2024 19:02:36 +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=1712775757; cv=none; b=EFvdWpBIV4FzmzMIHHnrL9Ymotes5xPm3ORyNXDImYmgG9U+2xRjPzV9OgHz3xnhPoDA7TuJVQFeSb6LySgwzSu7W+vcaQoWwZvEjDbPFdPG2k9uXz12Nfh1/Fmml/4d+qgoIHrY/ePAkesSaYU3o30xj7+J0rPSGhy2acG5Zek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712775757; c=relaxed/simple; bh=bwsxUdmHdhcwY4R29xZzghAOb0wogwTibcmnKT8C9KA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pfT4KcfPo+HzsFAnb5vCf0+jezNre4Df4fra5lLr/MJxYi+4ch/EtdJ5UzbPNcXQ7QAf1keqNiFhdbMNrEibINjnhhlaWJzGoKBFmu6j5NXibJDjZdHsFwHB7y98vYPo7Q2BrCYEszf9d9hCf+8TYRE2eIhglCmCgDMxmrl3yqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xhgwrgRh; 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="xhgwrgRh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5876CC433C7; Wed, 10 Apr 2024 19:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712775756; bh=bwsxUdmHdhcwY4R29xZzghAOb0wogwTibcmnKT8C9KA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xhgwrgRhsvkB4xZ/JPXZhxUNPEgbxzWRO1hf3ugR2VWpMLjMAH34lZJT6Js7oNVY2 8lrwoZjPcG7SbHzhpSVtJCqXD2yRYnWYGD8rf1eXhUQgFB68PbumV6sAm81fIIHy9t mLXfP2aibeurKl2y5yiNmRT48N5ODtvibEKwbnd0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47216: scsi: advansys: Fix kernel pointer leak Date: Wed, 10 Apr 2024 21:02:09 +0200 Message-ID: <2024041006-CVE-2021-47216-1700@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bwsxUdmHdhcwY4R29xZzghAOb0wogwTibcmnKT8C9KA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlij/SW85xxkwt5sHXK9y7Tl00ZPhdU9lZ++qb8rEzEe J/J2m1ZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR5sMM83TyO4y8y9c/TQoo tGWQ1TFXSo/vYljQtVHMSdd7a9mJdmfDEBFO0U2C3w4AAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: advansys: Fix kernel pointer leak Pointers should be printed with %p or %px rather than cast to 'unsigned long' and printed with %lx. Change %lx to %p to print the hashed pointer. The Linux kernel CVE team has assigned CVE-2021-47216 to this issue. Affected and fixed versions =========================== Fixed in 4.4.293 with commit 06d7d12efb5c Fixed in 4.9.291 with commit ad19f7046c24 Fixed in 4.14.256 with commit 5612287991de Fixed in 4.19.218 with commit f5a0ba4a9b5e Fixed in 5.4.162 with commit cc248790bfdc Fixed in 5.10.82 with commit 055eced3edf5 Fixed in 5.15.5 with commit 27490ae6a85a Fixed in 5.16 with commit d4996c6eac4c 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-2021-47216 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/advansys.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/06d7d12efb5c62db9dea15141ae2b322c2719515 https://git.kernel.org/stable/c/ad19f7046c24f95c674fbea21870479b2b9f5bab https://git.kernel.org/stable/c/5612287991debe310c914600599bd59511ababfb https://git.kernel.org/stable/c/f5a0ba4a9b5e70e7b2f767636d26523f9d1ac59d https://git.kernel.org/stable/c/cc248790bfdcf879e3094fa248c85bf92cdf9dae https://git.kernel.org/stable/c/055eced3edf5b675d12189081303f6285ef26511 https://git.kernel.org/stable/c/27490ae6a85a70242d80615ca74d0362a820d6a7 https://git.kernel.org/stable/c/d4996c6eac4c81b8872043e9391563f67f13e406