Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1233383pxj; Fri, 18 Jun 2021 02:35:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+A9jLrw5iTigfn2azX1a0YHKFvXSXBTw8ywIG3DDHlvd0XtIoGCCGCeU+hnyUmABDLMAK X-Received: by 2002:a05:6402:1d0f:: with SMTP id dg15mr3711994edb.137.1624008912418; Fri, 18 Jun 2021 02:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624008912; cv=none; d=google.com; s=arc-20160816; b=aLsgmnNgVf1M9hKYX17KxNKlLmRHnRg0h5v9yxeY/BKO2UVVLgIubf80pv7yiZjjfE ZzvEV6llslr4EdqJ3tHspYhYS6MFpPeKic+vwK3wg4yocJYdosfY6W22PAQqsn5w6++e FJOPqhEVj1GWazbJ2SImu4/RSCKNpkPVtGlU/oCTR+kXorNhj5SA3zMW4kEMNROS+sLs 0TN52sVL5v1MTstWFAJYkTp55hznUeVe/PboLih7dyOpzd7UiChDzBSSj5s1bFqz3O/T L739SOV+Igd2Pft8B6Y7b2YG5V+EW5SmZ+Wuj2Hzj8To0/CcXhUR8H/t19YZa1k/Ejfp Hw6g== 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=K5I8pCtd6ve/IBOuW8cRzkHZyAsXjqNfyKVM3DgSPvo=; b=XXZvEzwvL/MqVViuH6lnwFVGbalNU8M94K1u8AkhwguaMush4d9xi/v4nhpHdK6xxp Z0fkbz2B1EwIzrZsI6wCy9OchHe+zkuCUrN7WKZjrUXY61db/vuQAGT1S4C9eKQ7r4Yk 8IkrTvTjg0oFnpJ8O+MH1k0/PuvV+8ASvDme533UmhohRJp2B4LABLVL0tcVx3yUqquW cbQG+ci4gtWR3w8jYZCCg+M/WSJhv37rOKlXqOtg3n37oUOdaC5wGPdkscHvc4bufd2I mw5RNQfvf69m+/yU5h46Hy5MIKeVcmR0CXbUXUUSOyg6BjHEhJ1qHv+IpYWaF2c+L83q hNWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uVCOwqtK; 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 w11si2296779ejc.221.2021.06.18.02.34.49; Fri, 18 Jun 2021 02:35:12 -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=uVCOwqtK; 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 S231923AbhFRJXQ (ORCPT + 99 others); Fri, 18 Jun 2021 05:23:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:53474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231841AbhFRJXP (ORCPT ); Fri, 18 Jun 2021 05:23:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A3B3613BA; Fri, 18 Jun 2021 09:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624008066; bh=2u8yVPlOkYeJNV+u1aRDZxR+tkmp6yjiZlW6piuN2E4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uVCOwqtKbl5no5WQYecnzyvH+SVo3t0/UhXe9HRF6XBpqFFUYJ0WBgKcNU49kA/53 eE5Ep4PUrCHHvGGEyNHuOeKDeuO/rYvmuW3uHPYbwyJHoSakOxseejz170im+ptFOK FYfnWtJHyLmQxToDCBsZls62cQMWL8CndKSDQleU= Date: Fri, 18 Jun 2021 11:21:04 +0200 From: Greg Kroah-Hartman To: Krzysztof Kozlowski Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Daniel Vetter , Christoph Hellwig , Jessica Yu Subject: Re: [PATCH 5.4 031/184] modules: inherit TAINT_PROPRIETARY_MODULE Message-ID: References: <20210510101950.200777181@linuxfoundation.org> <20210510101951.249384110@linuxfoundation.org> <8edc6f45-6c42-19c7-6f40-6f1a49cc685b@canonical.com> <08a2e600-74cf-dbf8-1ecc-777ff65e06b0@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <08a2e600-74cf-dbf8-1ecc-777ff65e06b0@canonical.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 18, 2021 at 10:59:50AM +0200, Krzysztof Kozlowski wrote: > On 18/06/2021 10:57, Krzysztof Kozlowski wrote: > > On 10/05/2021 12:18, Greg Kroah-Hartman wrote: > >> From: Christoph Hellwig > >> > >> commit 262e6ae7081df304fc625cf368d5c2cbba2bb991 upstream. > >> > >> If a TAINT_PROPRIETARY_MODULE exports symbol, inherit the taint flag > >> for all modules importing these symbols, and don't allow loading > >> symbols from TAINT_PROPRIETARY_MODULE modules if the module previously > >> imported gplonly symbols. Add a anti-circumvention devices so people > >> don't accidentally get themselves into trouble this way. > >> > >> Comment from Greg: > >> "Ah, the proven-to-be-illegal "GPL Condom" defense :)" > > > > Patch got in to stable, so my comments are quite late, but can someone > > explain me - how this is a stable material? What specific, real bug that > > bothers people, is being fixed here? Or maybe it fixes serious issue > > reported by a user of distribution kernel? IOW, how does this match > > stable kernel rules at all? > > > > For sure it breaks some out-of-tree modules already present and used by > > customers of downstream stable kernels. Therefore I wonder what is the > > bug fixed here, so the breakage and annoyance of stable users is justified. > > And for the record I am not talking about this patch only. I am asking > also what serious or real bug is being fixed by: > "modules: mark find_symbol static > find_symbol is only used in module.c." That was part of the patch series, I needed pretty much the whole thing to be able to apply them cleanly. We always try to match what is in Linus's tree exactly so we can correctly track things, one-off backports are almost always broken and wrong. And no one should be ever using find_symbol(), that's just a given. thanks, greg k-h