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 991A94AD4CD for ; Sun, 18 Oct 2026 16:14:42 +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=1792340083; cv=none; b=fn/wpjdahrdPbXxSn4hhlB1fYnSHwztDZuM6112/4S3rc7A0HLyB4Ddz0URC9jkZWrEv+VNkMaT0SWb3tTkWUK0BZ778go8KlBbSGZjo7Br5dYN08A1m9tnGu35IUEzH16VdbhWpcq5MTYWHBkPosflbSC3vBENhuhmtpkEXE9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340083; c=relaxed/simple; bh=u5d9DsAegVIkZthNfGiuRgxwArV8QEcBJFn0RZHPA08=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U7KZyq7efW0tMIB4rxBtq1G8YIjbxonxPxIuIke72TN5w/x4gUiBUk/+dnLdscES2y+HYpGUjCK7QksdaNDL5q4u6RsRoaYQou8WwuN147AigmvE/k3kqMm/5bRdjRDSG/zG9mICt5p4bNsNT/ZsI8gg+L+N9H1xjxXyKZgqTZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=v4ogj3RC; 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="v4ogj3RC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4A8B1F000C4; Sun, 18 Oct 2026 16:14:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340082; bh=L+nm8PwbysOKObe/FrnpoSPl2NyXLdeZAEBHoVoVrNA=; h=From:To:Cc:Subject:Date:Reply-To; b=v4ogj3RCY+/SwYT9T0vHeq2H4AVrbLu8n8qz+NslTc4FwY4K8a6POwl9eIVSIwXxy SbP02Gn7UVcNhLjiRN8Vi66t/vneSfbg8+L/knQn2zguWthp3S29HGWdRwP16Z9IRv hri3H5wdz1Xk+2lWOAFmthB3c0wc7IRfMHY3H7Oc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98777: binder: fix leaked fd fixups on TF_UPDATE_TXN supersede Date: Sun, 18 Oct 2026 17:45:52 +0200 Message-ID: <2026101820-CVE-2026-98777-f81a@gregkh> X-Mailer: git-send-email 2.56.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=2929; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yFzay8bMGnwbYZnk5FCq0+OYzXklX6cVfFFZpsEClS8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXoaUHVn6Pan1oLjBTx+dQ0pNMdbJpcWrDrA06CpOu hYjP1+gI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYi+plhwYZIC+fP9kdn6NXb WP6YyZVgUKv0iWF+6OqO5Yx/1S4G3j+mvOdpfr9mfNANAA== 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: binder: fix leaked fd fixups on TF_UPDATE_TXN supersede When a TF_UPDATE_TXN transaction supersedes a pending async transaction in a frozen process, the outdated transaction is freed with kfree() directly. This skips binder_free_txn_fixups(), leaking all binder_txn_fd_fixup entries and their fget()'d struct file references. The leaked file refcounts never reach zero, so the struct file objects are permanently pinned in memory. They survive process exit and accumulate across invocations until file-max exhaustion. Every other transaction cleanup path (binder_free_transaction(), binder_transaction() error paths, binder_release_work()) correctly calls binder_free_txn_fixups(). Add the missing call before kfree() in the t_outdated cleanup block. The Linux kernel CVE team has assigned CVE-2026-98777 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 9864bb4801331daa48514face9d0f4861e4d485b and fixed in 6.12.113 with commit 7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55 Issue introduced in 6.0 with commit 9864bb4801331daa48514face9d0f4861e4d485b and fixed in 6.18.56 with commit 1299cb3fb061598496086fc87ff291057831148e Issue introduced in 6.0 with commit 9864bb4801331daa48514face9d0f4861e4d485b and fixed in 7.2.10 with commit 6673f4f21e2fddfed0abe1eb9045cc958e6db130 Issue introduced in 6.0 with commit 9864bb4801331daa48514face9d0f4861e4d485b and fixed in 7.3-rc6 with commit c4c02084d6687d5cd5edccaf52cc45e5160f1184 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-98777 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/android/binder.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/7fd609fb0e9dcbc4d7a1e4da1af5368c0555ff55 https://git.kernel.org/stable/c/1299cb3fb061598496086fc87ff291057831148e https://git.kernel.org/stable/c/6673f4f21e2fddfed0abe1eb9045cc958e6db130 https://git.kernel.org/stable/c/c4c02084d6687d5cd5edccaf52cc45e5160f1184