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 0995A215777 for ; Wed, 26 Feb 2025 02:13:12 +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=1740535992; cv=none; b=tohsSDODd9bE+T0VC0//jNeR/DXjcqoK9RtqmZa8X1SBsr+1h13zR1SMl0QGVAGR5D6A1KJa9VdUvBWv7Ba9iP4QViKbZzZInXHQtRDYdlAKrOuEzTG5xwRPeU8gEi82R9qPGdnDceEv3BklRtFacdj4Uq5JXKpq9vi9zlTgmKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535992; c=relaxed/simple; bh=0pskvxqVelw92IsuTaSUY/P5NW4WitAl1xDWnSmRHlg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QXo73akm2/L07Ol4383soLB4ru7Y/trySQ4Ogs0Ch32tbpZPf1fJd1XIR0IbSG1cW8TUCWywkibxF0ZvXXS5A9kzv4HGm3BN05estDy0lo9uwTt0W+pZhvrmuEvCAYoUfa3+gFr2ur9SGbGmwclFPXOhn6C3BEU+QG0U9ltQURQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EVZh9sdC; 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="EVZh9sdC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2661C4CEDD; Wed, 26 Feb 2025 02:13:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535991; bh=0pskvxqVelw92IsuTaSUY/P5NW4WitAl1xDWnSmRHlg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EVZh9sdCUBEWANCVLxb/3g+YAy//CpyQ9tbLkl6pI9wFwEGBI/kM01MlaRfcdhQ3Z eKybThYcsYBr52KsizztULI2z9vYBXimx4FvCvvgSzfob+rO7qFeekG/9E66IruPjA 7Ti/Nf/upeVFTibQdh+McW42eNxANVxApqpnHHMk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49336: drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem Date: Wed, 26 Feb 2025 03:10:10 +0100 Message-ID: <2025022640-CVE-2022-49336-bc56@gregkh> X-Mailer: git-send-email 2.48.1 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=2369; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0pskvxqVelw92IsuTaSUY/P5NW4WitAl1xDWnSmRHlg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yp/cqE7Tfnxgqtxh36gFi/9evJ+xRirt+WXuXmar8 mNHbxXadsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEOEsZ5oo8ll6V8He6XcKm z8v2THIXlv335hjDfMcHHBV7Oi9ainXcVsporef8ullUAwA= 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: drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem When the mapping is already reaped the unmap must be a no-op, as we would otherwise try to remove the mapping twice, corrupting the involved data structures. The Linux kernel CVE team has assigned CVE-2022-49336 to this issue. Affected and fixed versions =========================== Fixed in 5.4.198 with commit 19323b3671a85788569d15685c8f83a05ec48cbb Fixed in 5.10.121 with commit 436cff507f2a41230baacc3e2ef1d3b2d2653f40 Fixed in 5.15.46 with commit 03bd455a79f69d97fee3e3b212ab754442f10e5c Fixed in 5.17.14 with commit 461c0fdf9434188875da9f10cfc86065866bb797 Fixed in 5.18.3 with commit 64f4edec081cb7c97c5e928529d0e1b0dbbffb83 Fixed in 5.19 with commit e168c25526cd0368af098095c2ded4a008007e1b 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-49336 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/etnaviv/etnaviv_mmu.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/19323b3671a85788569d15685c8f83a05ec48cbb https://git.kernel.org/stable/c/436cff507f2a41230baacc3e2ef1d3b2d2653f40 https://git.kernel.org/stable/c/03bd455a79f69d97fee3e3b212ab754442f10e5c https://git.kernel.org/stable/c/461c0fdf9434188875da9f10cfc86065866bb797 https://git.kernel.org/stable/c/64f4edec081cb7c97c5e928529d0e1b0dbbffb83 https://git.kernel.org/stable/c/e168c25526cd0368af098095c2ded4a008007e1b