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 4C80154FAA for ; Sun, 28 Apr 2024 13:05:47 +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=1714309548; cv=none; b=chSMq99NeHOQfN0Y1iB68xEnZK9f3ay7SzlXe/v36jw8HFQ0qrAFVxBRTIjl5FcZs/CNC5Hx0m8xujcp0OlVMnkQqMsocLxqxV4AHFNmbOKBjPtq7B9NWgHj02/7GYsvYFKMIIFowI6gTxH4PaqhxsAzaseyCfzbh/C1s5Fw8gc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714309548; c=relaxed/simple; bh=xnYRCPe3CkkFXQ2XUWHPmtt9HBcaAQgrD+9Le1OM+Fg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ocexQnuimg6+frzWxICmjOF+MFXGzQ0k7WcpKGVc7+abV2nFdd9xqZsz4P0FPkaHbVQWxkLjj9Wq9P2Ph+HiEu6Fp3LQIS/EzIldgas2hchFRDIBt1hKxrBmZ70WmvKfpYNCzU13htBQQpUu66R5koEswJdMWqdThezNRKk6DCY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oDvd6CMz; 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="oDvd6CMz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E1F5C113CC; Sun, 28 Apr 2024 13:05:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714309547; bh=xnYRCPe3CkkFXQ2XUWHPmtt9HBcaAQgrD+9Le1OM+Fg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=oDvd6CMzFMPSlNX7TKVcJEJf0+8Agx2pjcDw/izMTOjgAJHAS+aZNNbYkGn2R+Aym frS0nQfCtowMdJOKccHDtRVIt3M2WCsXGLUo3sCYJgax1HtBgrer7hS9WDUKmuFsC7 xXuqIP5IredMJdAW4B88rl7J0+5cmQ8kPEdqwljw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48636: s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup Date: Sun, 28 Apr 2024 15:04:57 +0200 Message-ID: <2024042855-CVE-2022-48636-52a7@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=3130; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xnYRCPe3CkkFXQ2XUWHPmtt9HBcaAQgrD+9Le1OM+Fg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGl6nuX2nP7a31WdVv8pr9HY//fMx0Lb01Me/V9V5/Rh4 zsH6W2zO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAitrYMCyYdejLtS8XFqw4y d0xPSP2Wb/m/joNhwU6J0pn31tdYd128s3t53hndpys2fQEA 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: s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup Fix Oops in dasd_alias_get_start_dev() function caused by the pavgroup pointer being NULL. The pavgroup pointer is checked on the entrance of the function but without the lcu->lock being held. Therefore there is a race window between dasd_alias_get_start_dev() and _lcu_update() which sets pavgroup to NULL with the lcu->lock held. Fix by checking the pavgroup pointer with lcu->lock held. The Linux kernel CVE team has assigned CVE-2022-48636 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 4.9.330 with commit d86b4267834e Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 4.14.295 with commit 49f401a98b31 Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 4.19.260 with commit aaba5ff27420 Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 5.4.215 with commit 2e473351400e Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 5.10.146 with commit f5fcc9d6d71d Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 5.15.71 with commit d3a67c21b18f Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 5.19.12 with commit 650a2e79d176 Issue introduced in 2.6.25 with commit 8e09f21574ea and fixed in 6.0 with commit db7ba07108a4 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-2022-48636 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/s390/block/dasd_alias.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/d86b4267834e6d4af62e3073e48166e349ab1b70 https://git.kernel.org/stable/c/49f401a98b318761ca2e15d4c7869a20043fbed4 https://git.kernel.org/stable/c/aaba5ff2742043705bc4c02fd0b2b246e2e16da1 https://git.kernel.org/stable/c/2e473351400e3dd66f0b71eddcef82ee45a584c1 https://git.kernel.org/stable/c/f5fcc9d6d71d9ff7fdbdd4b89074e6e24fffc20b https://git.kernel.org/stable/c/d3a67c21b18f33c79382084af556557c442f12a6 https://git.kernel.org/stable/c/650a2e79d176db753654d3dde88e53a2033036ac https://git.kernel.org/stable/c/db7ba07108a48c0f95b74fabbfd5d63e924f992d