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 60609E567 for ; Thu, 1 May 2025 14:12:33 +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=1746108754; cv=none; b=GPxSEcn9aSs6DfqAIItDss1c159RoT4Q0dChs15lHxRXwqvf28SUJt3qz50bixzFM+MMohSNDIHNO4YsfmC3S2jYQoTOCiSiWTVl9oMXE18LYX61gqks/RisPTBmAVt7ggubweK2uMv2Ang2KbK81riswuzNNuZKwS3ZkD0F6NI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108754; c=relaxed/simple; bh=X/+yoCyDVP4sK7ywzR+vU/cEJ0TYag7CIn6xn/3e5vw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f395WLpfgIz0aagEUlb/lf97nluPlGquiYQsIPaxPVJhKFMJN2MM2HPTsh9EnjkSWld4x1f9+LL1Q1yP6c6P+yeRDxZ4Kw4yCiy6cEF8SKvNWzZOCaEIcL24ikJfp/M0TmGY+v9LRB06mJVa9MrgP9mKM4AkI+/fPxW+GDqAb+c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qMn5++rM; 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="qMn5++rM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59D92C4CEE3; Thu, 1 May 2025 14:12:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108753; bh=X/+yoCyDVP4sK7ywzR+vU/cEJ0TYag7CIn6xn/3e5vw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qMn5++rMxnzxZaTEbDaouOL5+SZJRgUFeicctCAENcBr1IRDZMWZ56tXG2kKcEdle WXmI5dEbX9fsY1TlUrnz4JHcSkNkNDhve2Rr9oHMtHjslzInzwZsC+HO9cPDN4xcNZ m2p1vmh53ZXfkBLl+I2d9gpIIohzzV1ifxfK0wl4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49774: KVM: x86/xen: Fix eventfd error handling in kvm_xen_eventfd_assign() Date: Thu, 1 May 2025 16:09:24 +0200 Message-ID: <2025050116-CVE-2022-49774-e5d3@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=1868; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1ZwZ66D6wTBX+CPiMMIBZbGA6Sb1PPzq9OYbCWjjYmU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDb0T2oQNYzLUrx0uZUrwPLd89RK2iUek5CvUtqx/5 Tx1z7q+jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIMC/DPCV5e42QoPc1wn9/ mi2VjxcXWhVXwrBgrknAqsJtbzXkLj4P7wudoLhfc3ooAA== 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: KVM: x86/xen: Fix eventfd error handling in kvm_xen_eventfd_assign() Should not call eventfd_ctx_put() in case of error. [Introduce new goto target instead. - Paolo] The Linux kernel CVE team has assigned CVE-2022-49774 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 2fd6df2f2b47d4301b1ee0fe9d627d1c061a5988 and fixed in 6.0.10 with commit d76f46f47dfde220712d1420ee5dbc546c8fc674 Issue introduced in 5.19 with commit 2fd6df2f2b47d4301b1ee0fe9d627d1c061a5988 and fixed in 6.1 with commit 7353633814f6e5b4899fb9ee1483709d6bb0e1cd 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-49774 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/x86/kvm/xen.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/d76f46f47dfde220712d1420ee5dbc546c8fc674 https://git.kernel.org/stable/c/7353633814f6e5b4899fb9ee1483709d6bb0e1cd