From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=89.44.166.73 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796057317; b=m639axNAvurHcr95gmlmNT5V8obPCm7Fq4SLSBHhnT0OrArp/B7WObhchJXPnNtdtvkg veCqWZz4dRVhuh95qleDsuyr4wFeqAhOSSxAK0mYFMurd35+DP6y3IhQQVTb7C3gPlMjC 5OfeekvnRd+6gVUngRO0NS1e6NpUGAGQxMSQyqcZNIkYVIdorM8KM1lnsRsZqirOAGiXn klb0m9vAoa1ub6Kt3VQ9oF6NKXClgPSXHNdqRuQ6QskAV4Vju4m/bf9I8wCECOUB5/MzK hS18frcBxvrjgSpvr3bjE8VzTmYg8MwQUdrTATlK0REn7rLtlOFKMIeVAVLH/WPskkw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796057317; h=DMARC-Filter:Received:DKIM-Signature:X-Rid:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-CMAE-Envelope; bh=X/yJflzZoFWaXQudpwKEYlsUr9vTl9OYegdXjMZl878=; b=Sm362AKNuIMfFa9K65hVURV/0GB6iwWj99Ipbv6ouxwXBGbqDqeMFyCn3rPEVgDVbXHq qtKFVxrxj3IfXYVrjPt3w5h5VG9bvzWrJGU0pecKP8mRzKDb6+k2RzlreXefIFypGvHBV 2/MZg2zCba7xlapNwVGKzFtWe/ZVMHuehpG5EUljCsPUnsYcoNPffg+E913nV4prTcSHo q/aXKzpjQc5L1BauRMG804FErfGsK33+PFF5z2kGk7igy7a4CHdxajPSWk/6qHaxHbBsX +aydv2lJz2lfQrhp5+7ivXeCmhPyMLhc44e7lKs2Ry+kbtM4sXXJ+/+V+sWQRfjZTAQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=herrie.org; spf=pass smtp.mailfrom=herrie.org; dkim=pass header.d=herrie.org header.i=@herrie.org header.a=rsa-sha256 header.s=transip-B header.b=POETrIBf; arc=none smtp.remote-ip=89.44.166.73 Received: from authsmtp73.securemail.pro (authsmtp73.securemail.pro [89.44.166.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22ED1606A325 for ; Mon, 30 Nov 2026 16:48:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 22ED1606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=herrie.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=herrie.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=herrie.org header.i=@herrie.org header.a=rsa-sha256 header.s=transip-B header.b=POETrIBf Received: from herrie-desktop ([31.201.83.150]) by cmsmtp with ESMTPSA id Y4YExQV5ghzbGY4YExrvXB; Mon, 30 Nov 2026 17:48:26 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herrie.org; s=transip-B; t=1796057306; bh=X/yJflzZoFWaXQudpwKEYlsUr9vTl9OYegdXjMZl878=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=POETrIBfagVgq7jSqCRD8HDoQklu2omZQpRM7hUQS9Y6Cp1SO737w+2SWWEB5dkdx SHaKyZGkihyTR4UpiCJX1P4negzxCvO7ABV4ZMe2aRQjQss02FQHscJAvLlE+nA7pg kwLeNfC6DrrQI8xrZeLJ/135ThWVtK3wVIo3gditr2Fb75IEnKQT06Vts1FsflVnMX yTf484Itff8qZPqq8Je6YTd+ngFOYeFU19LXqF1YEpxwFo2E/cHHx/UIc93biYlQll SR/RScL21B68k9qdXsyxJHaNwnxtXaji1HeF/TTkN7fMG5nLfYkmNlLq2pQhAPw5YT GgYiKA59ZmVZw== X-Rid: me@herrie.org@31.201.83.150 From: Herman van Hazendonk To: ofono@lists.linux.dev Cc: Marius Gripsgard , Andres Salomon Subject: Re: [PATCH] sim: fix use-after-free in open_channel_cb watcher loop Date: Mon, 30 Nov 2026 17:48:25 +0100 Message-ID: <20261130164826.1491405-1-github.com@herrie.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <0107019e04adf95a-a0e08395-5cda-4937-b142-329901156dcd-000000@eu-central-1.amazonses.com> References: <0107019e04adf95a-a0e08395-5cda-4937-b142-329901156dcd-000000@eu-central-1.amazonses.com> X-Mailing-List: ofono@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfPkY8iwY3HLDS6I3s5MJdXVOASAgDFpsMuD8z3nnRQ+p9BIKllAVL8cslYNfUaML2rmuAkNJgrfcALPXBt6i8WYEtjcsWsaBS0D/rFtas8pMelynUaZ8 HKVjdtemA0ACo4uayebyaHKXWJ0VyPHwAEF2OCwAxZM2OrjTix+wq0wpVjSsLU7vmeeVmI++gUEX7dgfrgmNsnUAmMZ7pZHxo7+b2mdZcwB4EW+wGtZlhZj3 dftnnsmX8fMQ0KqqL3RsOw== LuneOS carries the same change in its oFono. Without it, ofonod crashes in a loop on a Unihertz Titan Pocket with ofono-binder-plugin as soon as a SIM with an ISIM application comes up: the plugin fails session_read_info synchronously, the simfs watcher removes its watch from inside notify(), and the loop then steps through the freed node. Tested-by: Herman van Hazendonk