Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4578318pxy; Tue, 27 Apr 2021 08:07:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRSx9gIiSFdib+4aMT4Z7isNy6mMAyrtoy+B3mRYol1MDdKoeet+MMTjwD0dBfMQ208LJ+ X-Received: by 2002:a05:6402:46:: with SMTP id f6mr5013976edu.252.1619536043734; Tue, 27 Apr 2021 08:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619536043; cv=none; d=google.com; s=arc-20160816; b=kRbsgIjo0oN0BpQwvkqSTDcNtnk/JWuKnvIUg1RgxU0B4l2Tib82t1XftxkT66oPmn Z6k4ZDntXdk78A6QGZpVwxKG+bYrN+nHLyeq4CV4AJoNGzeBumrxnguoNgQUX07qmPw7 jkk9jdtj92tldStPRp51eyGzuap4gpopV7pTkhQW3bJEVdV50hO2HL2BAKB99Z0ntvNz RwOYz8xrpwSlQI8oeryEhfLNqPnzfLJsUphjJZZQm+ZDLsZmQh1lIz5Y7Tm0RugJjMUq OTaRQFqdrnUY5YcDywn0qOgERT/l5Bnq07vuvsunayiBbNjF3+OrJrCvvFwCaaUErI1l ad/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=57hUABcC22oKidwd2fH0qXPgBuIo3Ik4LO1hAQVQzqs=; b=JBvZ5iZQ9tGGLXNyT6EPTe/gzXW1gMEGwp8A8D/7+3OydsazirDoNAAOcdS4wmw6hO /2b9nQJcZy75SDl8K2PJ2xkBz+5YFML9T1WqlACDAzd0M6WgfhPJbOcPQAJ9WQALDfmE GFFus17hPEcI3PNsMPGbznn1+7Ha3cscbLo1Sa4uC9jsGVLdwb5Xc1m1F/vJe70lOdG4 Zy+RU7RpF6mzySfETftnEmXdrDUdSEcZvuw2BR14kbnYqHovZkp1DlILx3nljBf4oCg/ tabX0kZhD9B4krcBOcOi88WKSffXsO4+aoHBgZgdBDAquawtjLTWsteE1f9Yus5Ql3xM gEUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IHAKaZjS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v13si2831051edl.526.2021.04.27.08.07.00; Tue, 27 Apr 2021 08:07:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IHAKaZjS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238446AbhD0PFj (ORCPT + 99 others); Tue, 27 Apr 2021 11:05:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:37910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235659AbhD0PFi (ORCPT ); Tue, 27 Apr 2021 11:05:38 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 21BC3613D1; Tue, 27 Apr 2021 15:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619535894; bh=hSotAaqAZEUkK3K313WT/Wuuov23kIEHcYOW9tPoG4I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IHAKaZjS+P0wwbNDNVqjo7N6rX+D6dJd97wCdIJ7bvKCPpdt22gpTJkaa1Gv5sxpm 9muw4XFcVhzq9hK6p2qBZ/1pyIxP7ylE53vYKZLlH/AuwcxMCEC9L2MLV5FkpQidpk zo1IRZRlu3xqb3/CAzWpcskJVqU+XZDw8GC/dvF0= Date: Tue, 27 Apr 2021 17:04:52 +0200 From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Kangjie Lu , Aditya Pakki , Ferenc Bakonyi , Bartlomiej Zolnierkiewicz Subject: Re: [PATCH 098/190] Revert "video: hgafb: fix potential NULL pointer dereference" Message-ID: References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> <20210421130105.1226686-99-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210421130105.1226686-99-gregkh@linuxfoundation.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 21, 2021 at 02:59:33PM +0200, Greg Kroah-Hartman wrote: > This reverts commit ec7f6aad57ad29e4e66cc2e18e1e1599ddb02542. > > Commits from @umn.edu addresses have been found to be submitted in "bad > faith" to try to test the kernel community's ability to review "known > malicious" changes. The result of these submissions can be found in a > paper published at the 42nd IEEE Symposium on Security and Privacy > entitled, "Open Source Insecurity: Stealthily Introducing > Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University > of Minnesota) and Kangjie Lu (University of Minnesota). > > Because of this, all submissions from this group must be reverted from > the kernel tree and will need to be re-reviewed again to determine if > they actually are a valid fix. Until that work is complete, remove this > change to ensure that no problems are being introduced into the > codebase. > > Cc: Kangjie Lu > Cc: Aditya Pakki > Cc: Ferenc Bakonyi > Cc: Bartlomiej Zolnierkiewicz > Signed-off-by: Greg Kroah-Hartman > --- > drivers/video/fbdev/hgafb.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c > index 8bbac7182ad3..fca29f219f8b 100644 > --- a/drivers/video/fbdev/hgafb.c > +++ b/drivers/video/fbdev/hgafb.c > @@ -285,8 +285,6 @@ static int hga_card_detect(void) > hga_vram_len = 0x08000; > > hga_vram = ioremap(0xb0000, hga_vram_len); > - if (!hga_vram) > - goto error; > > if (request_region(0x3b0, 12, "hgafb")) > release_io_ports = 1; > -- > 2.31.1 > This patch "looks" correct, but the driver keeps on running and will fail horribly right afterward if this error condition ever trips. So points for trying to resolve an issue, but a huge NEGATIVE value for providing a "fake" fix for the problem as nothing actually got resolved at all. I'll go fix this up properly... {sigh} greg k-h