Message ID | 20220505215947.364694-1-javierm@redhat.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-fbdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB2CCC433F5 for <linux-fbdev@archiver.kernel.org>; Thu, 5 May 2022 22:00:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358460AbiEEWEA (ORCPT <rfc822;linux-fbdev@archiver.kernel.org>); Thu, 5 May 2022 18:04:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377701AbiEEWDx (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Thu, 5 May 2022 18:03:53 -0400 Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [170.10.133.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DCCF45C743 for <linux-fbdev@vger.kernel.org>; Thu, 5 May 2022 15:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651788009; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=g7o/PcjByL5k08SmN+MKIpgdp4lhrjdKDcCDQqkuG3g=; b=ILJ7hGUaV9x5/jQ9AZ+5lR6KPBetiFC7g44LbfsbAvW8QdGuAo/RzYW5Zupxd5XZwuyg2e 8tzO9yQMXcAEvqHkE1ylcg4192NtH1PgPfSjjGOJ/dKx4+ILBF5OzdrHZ9eNtHWcofTwPc t2v2sY41HlGD7dPLM8avG+u56ZdFctc= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-478-nUiLOTU2MOmwShig7K0yVg-1; Thu, 05 May 2022 18:00:08 -0400 X-MC-Unique: nUiLOTU2MOmwShig7K0yVg-1 Received: by mail-wm1-f72.google.com with SMTP id v184-20020a1cacc1000000b00393e492a398so5096210wme.5 for <linux-fbdev@vger.kernel.org>; Thu, 05 May 2022 15:00:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g7o/PcjByL5k08SmN+MKIpgdp4lhrjdKDcCDQqkuG3g=; b=ypyMamiv2lqZaQtx7/salw3OvNADs90qZpnpyVnZ+Lzw7MhRWJ8muDFLncue5WYbtK mffM97u02EnfwpAdtTDv4QMvkKwJ2egmy7uh0/X81nHgjOvaVtpBg/q72alValsg3H9k rCZp/DOhr8qtXdUIM00kVS++YPKpwdc6aWIJ1c1u3S9iOiZgp/Wty69TrCKPlyaTwjIO fujz3o6X0bl4AHRLyQc3mTnqdMSnJ/buOE66mM9Yznr2jov+J4yMR1EWW0Q/ulur0JHl 6AJAxcbfkw67lcFNCypCO3UxYnU1+LDOBlEabht5b6ma1lmEKK9cmvKwEqbmdQeX1g7/ 9g5w== X-Gm-Message-State: AOAM530/UxI17UhtENtGdPmwK96BhLspnLZNQvhIKywpAwHIvxbbHTFT vWYT9fpSt1S2CbTdCTmfS9940HWfPHvzIfy+YkJswrSg5rUv2Ge6/VrVQFooHeshLTPI+88D3LC DNJF9u/sjPST62UUp1SSONHY= X-Received: by 2002:a05:6000:1815:b0:20a:deee:3cf0 with SMTP id m21-20020a056000181500b0020adeee3cf0mr154921wrh.210.1651788006924; Thu, 05 May 2022 15:00:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzk9nG54+YuJURc6OI8oVH2TrMJldwkCWvspEI1wXTQzvXeoooK0kqJvqJXa5/C6tS1lOzpJQ== X-Received: by 2002:a05:6000:1815:b0:20a:deee:3cf0 with SMTP id m21-20020a056000181500b0020adeee3cf0mr154910wrh.210.1651788006661; Thu, 05 May 2022 15:00:06 -0700 (PDT) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id 25-20020a05600c029900b003942a244ed1sm2271241wmk.22.2022.05.05.15.00.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 15:00:06 -0700 (PDT) From: Javier Martinez Canillas <javierm@redhat.com> To: linux-kernel@vger.kernel.org Cc: Javier Martinez Canillas <javierm@redhat.com>, Daniel Vetter <daniel@ffwll.ch>, Hans de Goede <hdegoede@redhat.com>, Helge Deller <deller@gmx.de>, Peter Jones <pjones@redhat.com>, Thomas Zimmermann <tzimmermann@suse.de>, Zack Rusin <zackr@vmware.com>, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: [PATCH v3 0/4] fbdev: Fix use-after-free caused by wrong fb_info cleanup in drivers Date: Thu, 5 May 2022 23:59:43 +0200 Message-Id: <20220505215947.364694-1-javierm@redhat.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> X-Mailing-List: linux-fbdev@vger.kernel.org |
Series |
fbdev: Fix use-after-free caused by wrong fb_info cleanup in drivers
|
expand
|
On 5/5/22 23:59, Javier Martinez Canillas wrote: > Hello, > > This series contains patches suggested by Daniel Vetter to fix a use-after-free > error in the fb_release() function, due a fb_info associated with a fbdev being > freed too early while a user-space process still has the fbdev dev node opened. > Pushed this to drm-misc (drm-misc-fixes).