From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.212 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792601564; b=nJgniPytdwDd65ZQsbUTnEyLewhXI5GcWgztUZl3ttUh0lVS7E578mN2G7iaxetqn1Lm tSebv1OTl825v2xuC+o52Tn65FGw7yaF4kfpNhxUIQ3addRWZQj5Ot6cIIK/gD2SQKaX7 OzWnbBQwyOr69IdM1zWNKcxhRmAzAW3W/6wuEiiKBXXNgvBoM32v4r5gS9jJsTZUoStm9 iH4/5p+fc1TmzegJhlYN8nYata4BWfp5RyIH4Q8//aWPlJQQj07SqrBl0vUqM8LC3hso1 4eeVXwrZZK0owvaZNo713cmPEaKlo3zWmzEcyGVo6zJ+5vqT+alVcXVVcpP9u5/bQOA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792601564; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:From:To:Cc:Subject:Date:Message-ID: Content-Type:Content-Transfer-Encoding:MIME-Version; bh=C5514rfBdcc369oaOgCRKH1VWmrGbODGqjctAwVvvUg=; b=4XILahwAH4kdglFD2l/Gl8+H6XrY5iPSjpItC6ZYGs51GgNLQm5lixzgmZT1O4L4qsy7 jhV2Fv8AeRTl66/1X/8Sth76fwxAL0Gzw4ZuUEHggW2PTLRprrs8kmXP4uaOEqzVtd8ya uy8Q/vbutO+VFT3gCa3WN8ePrSATqsu107dmXEjZgl7+j5hZXmumu5Qqnl2uBSkmnUO4X AvmZUjwEj7e32jllGwce6ShlaOrzmfYsv/AB8fy4vRqEL5euW6/4jn2rZ7/c1dicsuE/r U24obH1LqlyzaUn8XPbKKyrmZ8yrRJ5jy3Vc/VnW39ZK3y2FwizXzKsEdTQqHAc/pRw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=L8ls7cce; arc=none smtp.remote-ip=91.218.175.212 Received: from mta0.migadu.com (out-212.mta0.migadu.com [91.218.175.212]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 85970606A319 for ; Wed, 21 Oct 2026 16:52:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 85970606A319 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=L8ls7cce X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=q+P7zs7+ecDaVW4B978U7c6XK/QOMKCkLr1CJdTiFXQ=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1792601561; v=1; x=1793206361; b=L8ls7cceRza9IZFuvTEaRO3sOEaC8Z8N9rtrsdfWJEMXfDI70uIR1GlEMSLOw7ul8kIAHU4H fzH/1sxIffzgHnQuduecunF/Rk9od0xmJR2HNr5aYM090SBViUaV+qjbu3kppwfL8fYwfVC7Z78 GvnxahlG6gfnaHl4VSFq4LsU= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 5520683f3422318f; Wed, 21 Oct 2026 16:52:41 +0000 X-Mizu-Trace-ID: 5520683f3422318f X-Migadu-Flow: FLOW_OUT From: Igor Korotin To: Andi Shyti Cc: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, Danilo Krummrich , Miguel Ojeda , Gary Guo , =?utf-8?q?Nicol=C3=A1s?= Antinori , Georgios Androutsopoulos Subject: [GIT PULL] rust-i2c-next for 7.4 Date: Wed, 21 Oct 2026 17:52:39 +0100 Message-ID: <179260155969.2966.15552703862037914616@linux.dev> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Hi Andi, One fix for this window -- a real use-after-free (KASAN-reported, GitHub issue linked below), not a cleanup. Thanks Igor The following changes since commit 0f6be986ad0eb6fe7338d963a14eaf0dee87677d: i2c: imx-lpi2c: remove dmaengine_desc_free() (2026-10-13 15:55:40 +0200) are available in the Git repository at: https://github.com/ikrtn/linux.git tags/rust-i2c-for-7.4 for you to fetch changes up to e7755b5f29ccbfd1222dd52dc2d6eebf39d02289: rust: i2c: remove TryFrom<&Device> implementation for &I2cClient (2026-10-2= 1 17:47:21 +0100) ---------------------------------------------------------------- rust: i2c: remove TryFrom<&Device> implementation for &I2cClient A single fix for the Rust I2C abstractions, targeting 7.4. Removes an unsound TryFrom<&Device> conversion whose input and output reference lifetimes were not tied together, letting safe Rust upgrade a short-lived &Device borrow into an arbitrarily long-lived &I2cClient that could outlive the underlying device's removal (use-after-free, reported with a KASAN reproducer). The conversion had no users, so it's simply removed rather than lifetime-fixed. Signed-off-by: Nicol=C3=A1s Antinori Signed-off-by: Igor Korotin ---------------------------------------------------------------- Nicol=C3=A1s Antinori (1): rust: i2c: remove TryFrom<&Device> implementation for &I2cClient rust/kernel/i2c.rs | 21 --------------------- 1 file changed, 21 deletions(-)