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 B5F76D53C for ; Fri, 9 May 2025 06:42:35 +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=1746772955; cv=none; b=ce5EwAyBpIxWMpifbkn8e7Jyrr2Omv1et0QjdsnJmmvW+dlcx0t0Fb6OjBpAd11/c2oBOmKa0sBKZrEW0jdWs6R5syFO3FjFNgzEYuHV1iqPGTuI+I+w37etgU34fVqSMEPlztt9sMARUtZtLCFscKPs1m0FyLTajLo7wnmxDu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746772955; c=relaxed/simple; bh=YdbDxlA+7BUY/eC6ipkLWbDFeajiRPx79HjSCH6HoO4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OHbaTVG86bV6QrbMFmznwGaphWqJRcnXrHReFF/SNA8oFLbmsnchMb33LXFTl7TC2+0sI7FYoIj1sPxEIyihWoUvtJB3k5MZZ0gy7XZHjBW/3DcTzVlNcaGgSMFUQlsTacN3pgw1q5vgkz53nxFbiZt923E76FrJ4yfBWFyGdtQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WYkA6nmW; 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="WYkA6nmW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B67FFC4CEE4; Fri, 9 May 2025 06:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746772955; bh=YdbDxlA+7BUY/eC6ipkLWbDFeajiRPx79HjSCH6HoO4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WYkA6nmWst10qX3WH4cOyHgbyYPB2V6TOv9d/awsHaxhgMEsYGOb9nvj2CvgrPVjX lhYRf3RVxUHN5kKB2EzvV+Xq/kYpbTOlT4lkHhXXvbh24mMvTQztJ9AdIsYbN7y60+ gc19cOBzXnxM/rtJh4e7Z58C+RlDqB2YMbYfQv2s= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37847: accel/ivpu: Fix deadlock in ivpu_ms_cleanup() Date: Fri, 9 May 2025 08:42:25 +0200 Message-ID: <2025050918-CVE-2025-37847-c856@gregkh> X-Mailer: git-send-email 2.49.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=2517; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yUSueYd35OVt2xqus5beuZ7QDwE+oHX/zc9z+RxUTWg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmyi0/NjfGIFZHIS9pzPCvxv8rG1E+vH1yYGcM+iavYp sav3HFVRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExkWjbD/NRfmZU/yxWyzlwS jg24wmXw3aZkJcN8P7sZK8xc5zq9eiXI8m7KnwbbHbliAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: accel/ivpu: Fix deadlock in ivpu_ms_cleanup() Fix deadlock in ivpu_ms_cleanup() by preventing runtime resume after file_priv->ms_lock is acquired. During a failure in runtime resume, a cold boot is executed, which calls ivpu_ms_cleanup_all(). This function calls ivpu_ms_cleanup() that acquires file_priv->ms_lock and causes the deadlock. The Linux kernel CVE team has assigned CVE-2025-37847 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.12.24 with commit 7d12a7d43c7bab9097ba466581d8db702e7908dc Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.13.12 with commit f996ecc789b5dbaaf38b6ec0a1917821789cbd9c Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.14.3 with commit 019634f27a16796eab749e8107dae32099945f29 Issue introduced in 6.11 with commit cdfad4db7756563db7d458216d9e3c2651dddc7d and fixed in 6.15-rc2 with commit 9a6f56762d23a1f3af15e67901493c927caaf882 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-2025-37847 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/accel/ivpu/ivpu_ms.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/7d12a7d43c7bab9097ba466581d8db702e7908dc https://git.kernel.org/stable/c/f996ecc789b5dbaaf38b6ec0a1917821789cbd9c https://git.kernel.org/stable/c/019634f27a16796eab749e8107dae32099945f29 https://git.kernel.org/stable/c/9a6f56762d23a1f3af15e67901493c927caaf882