From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.andi.de1.cc (mail.andi.de1.cc [178.238.236.174]) (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 C7071423E91 for ; Tue, 4 Aug 2026 08:49:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.238.236.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785833356; cv=none; b=SE49dSiq6y0VyecfIUTmboPo2KELXpKFI1MxLBan49vxx4u53Wl/8U1RuCz964Soa9q9KDvfyg7UrS1AqWDVosQuqvG0Kn47+6QtBvLSIpqntLRJgJ9bfIYtXIdCva0jaX7Qol3d0YpBCf3HLryydZquzaWeaDuaVwGYmOtZ4dI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785833356; c=relaxed/simple; bh=iPVN1Q+9C5ARwYQm/akA1I+1zrJ+j41mpw+PAdezOCI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Fq6rgxJ5kqe1miySvYh/z09Jv9wk7vTT9Nb+zZXAXbqtsxAFz6mlhW0CLZhDkAyiHxxJLHrQ/UWQFsRJkukYDDGtKHyfE0arGL1nx9zvi+aTIUPbeflL+sJTjdNdQf6VYX+ypB51QmruRdPRtjyz2Z+tiDbvGhyM44liPG5613M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kemnade.info; spf=pass smtp.mailfrom=kemnade.info; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b=rHYzLNDx; arc=none smtp.client-ip=178.238.236.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kemnade.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kemnade.info Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kemnade.info header.i=@kemnade.info header.b="rHYzLNDx" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=References:In-Reply-To:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description; bh=HRi0gm+XpSKB831vpOi9E9TsWihIpz8NrkoFDy5ME2Q=; t=1785833354; x=1787042954; b=rHYzLNDxasblgIy7oC1zB23ntD9yOBn7UK+OupATMOs7a4qIRrC5zt1UGqhLyLouKr0f6XVY1SG Q7VyDKVdrbv9zYMibH4zwmCIxS2vpzfmN83ifZ11l0yHITkv3GggwPvkWo7txj6DzZhwLFYKmwOj3 MiHSiAg3vxZwKBR4bbOwN2q6tNz0OgeZOHQr3cr8m3UwBUn12r70XjN776qWXqWkrzWoqgqEHu6h5 TxeuUl2pi1Xu1a42yf3N530oGiv4fdslL5KDIVaHObOdyFKZUfmt8Wpr3jE/oKeX8QYf7BgnVRmpj o5oy84wP8Mws7iluR3SdNN4GsQhVjI2MU79w==; Date: Tue, 4 Aug 2026 10:49:08 +0200 From: Andreas Kemnade To: Tomi Valkeinen Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Subject: Re: [PATCH v2] drm/omap: dsi: do not copy isr table Message-ID: <20260804104908.46937116@kemnade.info> In-Reply-To: References: <20260702-dsi-uaf-v2-1-dbb4aa0f0b8e@kemnade.info> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; aarch64-unknown-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 29 Jul 2026 11:23:21 +0300 Tomi Valkeinen wrote: > Hi, > > On 02/07/2026 18:27, Andreas Kemnade wrote: > > To te able to unregister stuff from isrs, the corresponding table was > > copied. Nobody seems to unregister stuff that way, so it does not help. > > But there are stack-allocated objects passed to these isrs giving chances > > of UAF of these objects if irqs are unregistered while they are handled, > > so better do not copy that table. > > > > Fixes: 4ae2ddddf44cd ("OMAP: DSS2: DSI: Add ISR support") > > Signed-off-by: Andreas Kemnade > > --- > > If this gets backported, it should be re-checked that > > no isr unregisters itself in older kernel versions`. > > --- > > Changes in v2: > > - remove variable definition (Sashiko) > > - Link to v1: https://patch.msgid.link/20260629-dsi-uaf-v1-1-a5e894f4e4d1@kemnade.info > > Looks good to me, applying to drm-misc-next. > It seems not to be on linux-next. somehow this did fall through the cracks? Regards, Andreas