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 C36AA14F9EB for ; Wed, 19 Jun 2024 13:57:01 +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=1718805421; cv=none; b=SSLpOXxQ44SQox60kxmvscWAZq647Y3giVjcNTbEALm0EbmhalWa924sKCBoVDRNrS7r4EM8e0UqNg5LoMIDnI0chHh8Y3+b7BYsyh3OtL9kxvn6Ez7U8CmHj1+hROHiszNVw3pjihmVlOw/OyV0rV4UrMmC5pzjtDmusKHTF3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718805421; c=relaxed/simple; bh=578h4rjyViWjoi1+bc5G7BW6GpY9y69vfFbSicMiLi0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OXBR8YDvSm9sXBvq/RoXHa+nnvXKoK1dtnHt3ERs+Mms5R7hcY9Fr1sWkNiyYkcWqcdfjcfwFYGG9MUXLBk2H9kqTDqYleAQopNvp8CL5BeW1XnzNFXAvjJt77pw53tXT5+gf8JdSh/tvqK4XflD2BapLx/i9XiR+xlwnmcUhOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=N9XHDZyr; 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="N9XHDZyr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4828CC4AF08; Wed, 19 Jun 2024 13:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718805421; bh=578h4rjyViWjoi1+bc5G7BW6GpY9y69vfFbSicMiLi0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=N9XHDZyrbZmHOX3VlmTJprTlA8BjUm+775TBZXun4A40+u2Hhe8OUvOddpJ3ppfrl 5F7F2iS6ZuvNRt2ef9RgTtOmV6w1APKCs+jiScs4up603+pho3CZIYwh39kD5nXLgo ENkgwXzdTuFqnmqycufMCaIe45rZLPi7VWqpa5B8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38615: cpufreq: exit() callback is optional Date: Wed, 19 Jun 2024 15:56:28 +0200 Message-ID: <2024061922-CVE-2024-38615-0d4c@gregkh> X-Mailer: git-send-email 2.45.2 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=2847; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=578h4rjyViWjoi1+bc5G7BW6GpY9y69vfFbSicMiLi0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlFj9u3/X+xdIq+EGP3C5tP29fsy2i6XPKOu/Foon1Nz +mFqldNOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiB68xzLNYfejYZp+Xa68s ufLF7sKBHd9Ua1kYFtzgFOXdKsDztNB9RanVvLn8WerpGgA= 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: cpufreq: exit() callback is optional The exit() callback is optional and shouldn't be called without checking a valid pointer first. Also, we must clear freq_table pointer even if the exit() callback isn't present. The Linux kernel CVE team has assigned CVE-2024-38615 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 5.4.278 with commit 2d730b465e37 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 5.10.219 with commit dfc56ff5ec99 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 5.15.161 with commit 35db5e76d5e9 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 6.1.93 with commit 8bc9546805e5 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 6.6.33 with commit 3e99f060cfd2 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 6.8.12 with commit ae37ebca3250 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 6.9.3 with commit a8204d1b6ff7 Issue introduced in 5.1 with commit 91a12e91dc39 and fixed in 6.10-rc1 with commit b8f85833c057 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-2024-38615 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/cpufreq/cpufreq.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/2d730b465e377396d2a09a53524b96b111f7ccb6 https://git.kernel.org/stable/c/dfc56ff5ec9904c008e9376d90a6d7e2d2bec4d3 https://git.kernel.org/stable/c/35db5e76d5e9f752476df5fa0b9018a2398b0378 https://git.kernel.org/stable/c/8bc9546805e572ad101681437a49939f28777273 https://git.kernel.org/stable/c/3e99f060cfd2e36504d62c9132b453ade5027e1c https://git.kernel.org/stable/c/ae37ebca325097d773d7bb6ec069123b30772872 https://git.kernel.org/stable/c/a8204d1b6ff762d2171d365c2c8560285d0a233d https://git.kernel.org/stable/c/b8f85833c05730d631576008daaa34096bc7f3ce