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 82E2030F931 for ; Sat, 14 Feb 2026 16:29:41 +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=1771086581; cv=none; b=PHS9SiD2A0G0epZcjOAajLnY9S48efKfRTG1IzcHcg0J+x6YUApoaQn/HSSLxt7Pmwb7w1A5FGw0G21syh/RrIrfjQ7gKOI+pOHFtEzEhMQMX2OsokXAIcj7VCOid6amDOf62nXT/AT55IoYyAO/GxLPhDnxXB6Xl/Ra4Pavia8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771086581; c=relaxed/simple; bh=poj0h6DlTP+BOyNkgKVA+rVFJZpAJlIqL48lB/GbI6s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dZGMn99JUwaQuhgWmgRvkp6Mw3FM9cid30AeRBi/C3tOucAL6DBVdDXXrteNkHnFfBV7k5cXexMZjrTZzdcbNNqZ9qO4xkbgS6hd27RaxNROWRlRsrtDAwiU/xXaUXpyw9IVGnYIAg0BtlfsjOhle9wnkRCEI+89Oe2rJTXX/+k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sRoGA9/n; 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="sRoGA9/n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBD75C16AAE; Sat, 14 Feb 2026 16:29:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771086581; bh=poj0h6DlTP+BOyNkgKVA+rVFJZpAJlIqL48lB/GbI6s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=sRoGA9/n0bH+B1iI7CUPFut96OmT2VCAHXwboSe5ItkmpFmmhG2JC8vxnrNm7geR9 Yq/D0dGfQ7+hEnvoEEXGhObAI47zGpt4Q3Qi1JE2cnjdQBXV2TdL9XKHlav4iZgGgI C3ubgA9WVlCDH7RDHs0Y010vzRDWkY1JGn+ekGc0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23194: rust_binder: correctly handle FDA objects of length zero Date: Sat, 14 Feb 2026 17:28:51 +0100 Message-ID: <2026021434-CVE-2026-23194-5976@gregkh> X-Mailer: git-send-email 2.53.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=3056; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=A3JwCJuCFNtdfD2wceC32V4lbMPQA+qUFbDP1UDj8sQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkTFm06PLG9fpK04BuxBR8CNvXdMrG5ILdBUmTFkpjNW wP/3d9h0RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATKetiWND395lZ5vVtTf/l 7tX9X107Qe82dwXDgmuHjftdTLJMCvnFezLfLNmY/z3oDgA= 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: rust_binder: correctly handle FDA objects of length zero Fix a bug where an empty FDA (fd array) object with 0 fds would cause an out-of-bounds error. The previous implementation used `skip == 0` to mean "this is a pointer fixup", but 0 is also the correct skip length for an empty FDA. If the FDA is at the end of the buffer, then this results in an attempt to write 8-bytes out of bounds. This is caught and results in an EINVAL error being returned to userspace. The pattern of using `skip == 0` as a special value originates from the C-implementation of Binder. As part of fixing this bug, this pattern is replaced with a Rust enum. I considered the alternate option of not pushing a fixup when the length is zero, but I think it's cleaner to just get rid of the zero-is-special stuff. The root cause of this bug was diagnosed by Gemini CLI on first try. I used the following prompt: > There appears to be a bug in @drivers/android/binder/thread.rs where > the Fixups oob bug is triggered with 316 304 316 324. This implies > that we somehow ended up with a fixup where buffer A has a pointer to > buffer B, but the pointer is located at an index in buffer A that is > out of bounds. Please investigate the code to find the bug. You may > compare with @drivers/android/binder.c that implements this correctly. The Linux kernel CVE team has assigned CVE-2026-23194 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 6.18.10 with commit 598fe3ff32e43918ed8a062f55432b3d23e6340c Issue introduced in 6.18 with commit eafedbc7c050c44744fbdf80bdf3315e860b7513 and fixed in 6.19 with commit 8f589c9c3be539d6c2b393c82940c3783831082f 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-23194 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/thread.rs 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/598fe3ff32e43918ed8a062f55432b3d23e6340c https://git.kernel.org/stable/c/8f589c9c3be539d6c2b393c82940c3783831082f