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 014EA1DC99C for ; Thu, 1 May 2025 14:14:03 +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=1746108844; cv=none; b=FZQ/3ElTvVK+4KCLiGZtf9nId9GYWLyeLxMQJemKU9g+CNcGhZBRLV6wLS5lvhIVC9+nt3Yk76KMn5MKp4dBW2w/wJAQJNGg5acY5KAYpzUW5ca3HE5EEGl/AtE5LMgckxowNlSKjLhXhtSKUSKK5wIcvTgzO9ffJUbegZ56msA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108844; c=relaxed/simple; bh=Q+UgZhuUlSW/bES81kRJaKOcq6DvvdoG7YV3LvyTBfc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ro8J807lUcjj9y9JkK4EZf+2374H5r8WEcP8o4oxNRrh3pStHr8gq+LLf+xKJI+Aq+6u7lZkRBcNQGqhGuEUY4sNPqkkXXZn7/xaKppUi7VRGqfpL9PEx9yIX7Ko0tjXb89khkFmtSaZqo7AFQg397wVnZjXVoFee/PsN+HvtH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DYOXdoQm; 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="DYOXdoQm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10E5FC4CEE3; Thu, 1 May 2025 14:14:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108843; bh=Q+UgZhuUlSW/bES81kRJaKOcq6DvvdoG7YV3LvyTBfc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DYOXdoQmtBAZkg8vhTsLjOuLBf2iaKn3PNu5xILx2RBtu50AyXjeCxT7Op9F0zLnA vbVNK/YcOTHgab3LTgH7TGtZwrGq89LEPx0DFNuMUhubo3x3PYkzYfavt3Uy++8cQt OpjP80u1gMd0Rn9DAfr4Zd1oIpM7hJWvDNen/agc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49829: drm/scheduler: fix fence ref counting Date: Thu, 1 May 2025 16:10:19 +0200 Message-ID: <2025050136-CVE-2022-49829-8c4e@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=1726; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bvQjh70EMhdHKPUFpjgnG6cis2EOnodVx0UaN/oKECg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDQuOMcqsPaq9rufc7Iflqu6bX4e4NXd+f3dwXvaBO +Wxb78f6IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJmG1kWDBDLTo3UGBJkIJH 5TxDi71rBD5tnMcwT8Ni01r9zCXKos39Ec8Tua+EfLt5DgA= 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: drm/scheduler: fix fence ref counting We leaked dependency fences when processes were beeing killed. Additional to that grab a reference to the last scheduled fence. The Linux kernel CVE team has assigned CVE-2022-49829 to this issue. Affected and fixed versions =========================== Fixed in 6.0.10 with commit e5f4b38362df93594cb426b04979d8834122f159 Fixed in 6.1 with commit b3af84383e7abdc5e63435817bb73a268e7c3637 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-49829 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/gpu/drm/scheduler/sched_entity.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/e5f4b38362df93594cb426b04979d8834122f159 https://git.kernel.org/stable/c/b3af84383e7abdc5e63435817bb73a268e7c3637