From mboxrd@z Thu Jan 1 00:00:00 1970 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 C646411718 for ; Sun, 25 Feb 2024 14:04:16 +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=1708869856; cv=none; b=YY0NGMtoxneiQrG7xLrSNh+GTrhRk9pLQh9LXNGgeDP2xSG6SgU6LX+7uhyeR+U+pyJPVc36IKES6/eXyfppLuHjmb9I7vjwl2KkCzRpbxAnq5Gpm4QFF9aYbRmvos9RM/njtuwpWT643XufkgY5KCutn3yzKCDFFkuN4eM/ZZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708869856; c=relaxed/simple; bh=YudPc3HCsJTUIHtY2McpDGrj8+kNFB9PU/pquWjGJxc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eOeu8fNv6Y3Ebyg+ppZ05/dXWmeGZsCFg7oCW66I3ZOAE9FydqcJW2RbLjGaMQjLXovSaz9G6LLrSkimtWgZAFC9/7Ybt9XQV6lyiMw4+swPhEiVZrbNFvw3AaRCSpvfT3zyZbKZgxbJwDY3vP1yJrHMJ0ehMgMnnFRwSWCY1eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AusKJ7ye; 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="AusKJ7ye" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA26CC433F1; Sun, 25 Feb 2024 14:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708869856; bh=YudPc3HCsJTUIHtY2McpDGrj8+kNFB9PU/pquWjGJxc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=AusKJ7yekgZQHOZoOwZVmaAcwB0BeqrF6Vt40sMaB5W3F1opwj5gHMluUMX6vk1+Y DtBim/aWDQnUvuOBGPnDvSnLU07J5eIkbboWnmZJo2ZRUU0JFcvXqAYddLyXcUWMgv FYKdSFJklWv2/NGzGj4i8cpNk3T7Xg4NfCGXOXI0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48626: moxart: fix potential use-after-free on remove path Date: Sun, 25 Feb 2024 15:03:58 +0100 Message-ID: <2024022558-CVE-2022-48626-8a90@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=2465; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YudPc3HCsJTUIHtY2McpDGrj8+kNFB9PU/pquWjGJxc=; b=owGbwMvMwCRo6H6F97bub03G02pJDKm3Pc7l/LNfdPhn9NdumVNzeb/sOibsf7+hWqhn2+R/g f+yX4bHdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEtkxlWNCzJqbh9z5ndfWs +cVLN7LYSuxR8GOYZ/n0bkVzpKJhwVELfrbtl94rvdwqBAA= 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: moxart: fix potential use-after-free on remove path It was reported that the mmc host structure could be accessed after it was freed in moxart_remove(), so fix this by saving the base register of the device and using it instead of the pointer dereference. The Linux kernel CVE team has assigned CVE-2022-48626 to this issue. Affected and fixed versions =========================== Fixed in 4.9.301 with commit f5dc19316759 Fixed in 4.14.266 with commit e6f580d0b334 Fixed in 4.19.229 with commit 9c25d5ff1856 Fixed in 5.4.179 with commit 3a0a7ec5574b Fixed in 5.10.100 with commit be93028d306d Fixed in 5.15.23 with commit af0e6c49438b Fixed in 5.16.9 with commit 7f901d53f120 Fixed in 5.17 with commit bd2db32e7c3e Please see https://www.kernel.org or 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-48626 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/mmc/host/moxart-mmc.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/f5dc193167591e88797262ec78515a0cbe79ff5f https://git.kernel.org/stable/c/e6f580d0b3349646d4ee1ce0057eb273e8fb7e2e https://git.kernel.org/stable/c/9c25d5ff1856b91bd4365e813f566cb59aaa9552 https://git.kernel.org/stable/c/3a0a7ec5574b510b067cfc734b8bdb6564b31d4e https://git.kernel.org/stable/c/be93028d306dac9f5b59ebebd9ec7abcfc69c156 https://git.kernel.org/stable/c/af0e6c49438b1596e4be8a267d218a0c88a42323 https://git.kernel.org/stable/c/7f901d53f120d1921f84f7b9b118e87e94b403c5 https://git.kernel.org/stable/c/bd2db32e7c3e35bd4d9b8bbff689434a50893546