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 2B9A6111A1 for ; Thu, 29 Feb 2024 22:31:24 +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=1709245886; cv=none; b=pbj/HoPoAmcaZaoPsNidCPKvNY5X2LY0BFS4GyjDV5xnkwkBUm7VdbnVNos613Cg1cZ6ww0g21/5MuwsEMPnqhZYZLsW+EIucE36JXOHrtYBfcIxVMdcljFnoI+YaYGGhpIIC8DIrM2MVRF+f22QL9165gD98LLd+RO7QAcQhwM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709245886; c=relaxed/simple; bh=O2eAOwNMLlxoF/hAA/Di9janSfhtjXmTQs5jUD+HUCQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DoK3F7Ai99m50dUW/NiyT+HkhF39CMwBj+fiORvhTHc9WIJb0r/IU3Bz1x/eWXvzTXZKTzcWmMuzcx6njvwQF+u6xwauu/iFTKNHqajLOpx7/ZB5uFLzY2TqQEbwUDjaCldcAbBgkcM/BhQWMzY9Jt1UkMplZdjesH7CfySFUI8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Y7SE3kXA; 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="Y7SE3kXA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B2CCC433F1; Thu, 29 Feb 2024 22:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709245884; bh=O2eAOwNMLlxoF/hAA/Di9janSfhtjXmTQs5jUD+HUCQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Y7SE3kXAf3nZzEmY/R5SXQu1ucj3vN+yWtl81SRvOXMKhQwHlxEPiFSheOhdIsk0K /Z67f/MIVriLT8GKse9URxmY02Zd21R5gIn6+1fP+KexpZ6f2JlJvWUaG+WKrCNV9o qRNXNJznFwY7UTXVYwVFsfTbV4rDkRCxIx5l2G1s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47016: m68k: mvme147,mvme16x: Don't wipe PCC timer config bits Date: Thu, 29 Feb 2024 23:31:18 +0100 Message-ID: <2024022919-CVE-2021-47016-320d@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=2591; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O2eAOwNMLlxoF/hAA/Di9janSfhtjXmTQs5jUD+HUCQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDKkPWbczlYqqf/rXE3hpmXSp8Eum9AOWF7+uUy08H5D1r ajv1TfbjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI11UMc6WfV8+cINYgJFn5 Tde+Vfr/6lLdUIb5QVdEfpr8zA7wdz16U/N3pO6yVplYAA== 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: m68k: mvme147,mvme16x: Don't wipe PCC timer config bits Don't clear the timer 1 configuration bits when clearing the interrupt flag and counter overflow. As Michael reported, "This results in no timer interrupts being delivered after the first. Initialization then hangs in calibrate_delay as the jiffies counter is not updated." On mvme16x, enable the timer after requesting the irq, consistent with mvme147. The Linux kernel CVE team has assigned CVE-2021-47016 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 19999a8b8782 and fixed in 5.4.119 with commit f6a90818a320 Issue introduced in 5.2 with commit 19999a8b8782 and fixed in 5.10.37 with commit 1dfb26df15fc Issue introduced in 5.2 with commit 19999a8b8782 and fixed in 5.11.21 with commit 73fdeb612d25 Issue introduced in 5.2 with commit 19999a8b8782 and fixed in 5.12.4 with commit 5d3422516934 Issue introduced in 5.2 with commit 19999a8b8782 and fixed in 5.13 with commit 43262178c043 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-2021-47016 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: arch/m68k/include/asm/mvme147hw.h arch/m68k/mvme147/config.c arch/m68k/mvme16x/config.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/f6a90818a32058fca62cda3a2027a6a2364e1878 https://git.kernel.org/stable/c/1dfb26df15fc7036a74221d43de7427f74293dae https://git.kernel.org/stable/c/73fdeb612d25b5e105c219e05434285a45d23576 https://git.kernel.org/stable/c/5d34225169346cab5145978d153b9ce90e9ace21 https://git.kernel.org/stable/c/43262178c043032e7c42d00de44c818ba05f9967