Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 872153815D5 for ; Thu, 25 Jun 2026 08:43:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377031; cv=none; b=H3VIthaUCfrVlQ7EYZVOArotw4WGN5qoo/WOkdFZEiZJaHYWRF/nqU9Dck6+i3iVMxPchSd04oea9fbUrqxHk1T4SPJCScIDecXY4/x5jfdFhhPBmfTjl8RI2VoM2Pi9WOHflGeTxpi5ZHWA9iVIl84X2VDEPqH66ZZ/QW5P67w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377031; c=relaxed/simple; bh=Nj8fz5Z73xnYuhm2FylSdX7y0zU2B2gGUN0TPEJ/CBg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nRJ6cI6A/IJ0UNM1cIBys7uAbXaCox9hbOnA4jBdvdl7M6waI5niU6BIXYVRMLkzyWRO9ZXb7Eh20tRgXKCVug/e33BezIDsuwyUgJudm0p4ZixTVQ+dZjyVG7xuQIdvTpH8E3aBtIs0Oz/187M9yqRYzIMuWhQmlxKYZW+Gdj8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2o+Xl0rc; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2o+Xl0rc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBA981F000E9; Thu, 25 Jun 2026 08:43:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377030; bh=wFKuHz7S7hGM/5YFzjt9WUBkizfpkaYvCpUYE863Ymw=; h=From:To:Cc:Subject:Date:Reply-To; b=2o+Xl0rcK7Liv9fU0u6IdmTDrW5Aih4yFya4KYBciImLbnqrWx6PTvFK3eSmQ9Ic1 wGWA1PrplfHimXFws7SUKLRufY+om7qblIShhXRT80LpvVsLbOmPrTuAHOAmjyKvmo tVlF7CHS8rGNshRsl/zVHjGFZsZfnB1V/mZaqGd4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53160: misc: fastrpc: fix use-after-free race in fastrpc_map_create Date: Thu, 25 Jun 2026 09:40:08 +0100 Message-ID: <2026062549-CVE-2026-53160-1531@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3254; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PdHVFqZhKqhRdnKexFkJxA1ovPUZ1XG4wu7jdLHaWYc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L0N9HCtNpx+LXbI4QobFnL9LTPj8jO8x/DIvl5i1u c1dohjeEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5a8OwYH3pxsPZ3zwsnwsd +aOzLlj4dpf0O4b55T6rAl/WnfD8v7qm2X07u9T5pAlyAA== 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: misc: fastrpc: fix use-after-free race in fastrpc_map_create fastrpc_map_lookup returns a raw pointer after releasing fl->lock. The caller fastrpc_map_create then calls fastrpc_map_get (kref_get_unless_zero) on this unprotected pointer. A concurrent MEM_UNMAP can free the map between the lock release and the kref operation, resulting in a use-after-free on the freed slab object. Restore the take_ref parameter to fastrpc_map_lookup so the reference is acquired atomically under fl->lock before the pointer is exposed to the caller. The Linux kernel CVE team has assigned CVE-2026-53160 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.156 with commit 0b70ec82b309a4093106ff399da1911ad23b52d3 and fixed in 6.1.176 with commit 0a3b87293fbd34fda651e6aead9964f84b893962 Issue introduced in 6.6.112 with commit d7513b47082c08105e837b06cebeb3f07a5fa56f and fixed in 6.6.143 with commit 8b080c89183196fd3e49212f2a1a1c4a29335b9c Issue introduced in 6.12.53 with commit 802359a52676176b18713e33caa17572ad009057 and fixed in 6.12.94 with commit 5b0166112019d1dce30b976ab28fd67f7f0be532 Issue introduced in 6.18 with commit 10df039834f84a297c72ec962c0f9b7c8c5ca31a and fixed in 6.18.36 with commit 992f121796b7ca83a5a8b93da24e971363206218 Issue introduced in 6.18 with commit 10df039834f84a297c72ec962c0f9b7c8c5ca31a and fixed in 7.0.13 with commit f20f6512ecb75c816e0debf4551a138f098615c4 Issue introduced in 6.18 with commit 10df039834f84a297c72ec962c0f9b7c8c5ca31a and fixed in 7.1 with commit 07ebe87915d8accdaba20c4f88c5ae430fe62fbb Issue introduced in 6.17.3 with commit f3f59bab68e9bc714f757ab22f3fb36153014043 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-2026-53160 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/misc/fastrpc.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/0a3b87293fbd34fda651e6aead9964f84b893962 https://git.kernel.org/stable/c/8b080c89183196fd3e49212f2a1a1c4a29335b9c https://git.kernel.org/stable/c/5b0166112019d1dce30b976ab28fd67f7f0be532 https://git.kernel.org/stable/c/992f121796b7ca83a5a8b93da24e971363206218 https://git.kernel.org/stable/c/f20f6512ecb75c816e0debf4551a138f098615c4 https://git.kernel.org/stable/c/07ebe87915d8accdaba20c4f88c5ae430fe62fbb