Received: by 10.223.176.5 with SMTP id f5csp1444966wra; Sun, 4 Feb 2018 04:17:41 -0800 (PST) X-Google-Smtp-Source: AH8x225Nde6oI1kbzYaLxI0NKyma+X1V2e7lXPYLrC5C+Eds7OLx0lm+7E5bAoG5x+dAM4BDJUy8 X-Received: by 10.99.156.26 with SMTP id f26mr35754596pge.65.1517746661786; Sun, 04 Feb 2018 04:17:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517746661; cv=none; d=google.com; s=arc-20160816; b=gkRsXPdiQT6DzkZJRyjDKYPLk/Se1xray8FJJGBNvr5axt/Q8II6UEja50Re1A/nyu hEcU9Vahw/pQfCTjB60BESWIyRKzwusjciiZH879Ep273FYTZkq2e77JFgG71yIp5rTw FR4KT4R1+2Bu/DVhmz8LWlxZxiod3nD61oRLX00PYZG6AIn2ZrpuhNwlfbs92rJvVL7I PgFxJQUiJuJxHaf0YskW7x4V2WCE8pm2jEZSJ4ZcUNd5w+YbP5a5q7yGorF/8OhGIPAX E4OwGlEW4ZbDuXIIL2SzNUu/xnj7NE3ztOiI8Xyoxl5mz9aMVQgfPmlWbVNWTmJgUGPc Ei6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=iXjNQYVe6JChKzO9yOWoytR1cqwUQMYS6xsGsNAlbGk=; b=Ys0AVM6Vv8YBPsq1oUJ6yuJNgVgYhyaxolsAu3j6d1G4Mg48vq1MaH4KLiHaH12yT7 LwV84eJu51IAdNuWYqQSz+tt9voxBvE4+cXKkGUQg/f7wRDPkMwqD2m6y7y50tGqMmnP wNaAxU5cPuU38yRvGyUh1miYfJ4ako7yMrMFNKuLONAFLGvqxvo+fwTa+WHNdZNs8O8r P5usRAEYB163q5bfI9WZx4BEdPPMjNyA2C2+8DSD9Q9GCYI9k1WobpsTQo+rq74rTm3O vJFhH9WOARUuc7o54AFmOkP37oufCyjE4cpCcqEuJD+rkVC5fygRV1ckFUDdTQSbLa74 FyXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PpKQUcCs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k75si612974pfg.389.2018.02.04.04.17.27; Sun, 04 Feb 2018 04:17:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PpKQUcCs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751797AbeBDMPl (ORCPT + 99 others); Sun, 4 Feb 2018 07:15:41 -0500 Received: from mail-wr0-f178.google.com ([209.85.128.178]:44009 "EHLO mail-wr0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750796AbeBDMPe (ORCPT ); Sun, 4 Feb 2018 07:15:34 -0500 Received: by mail-wr0-f178.google.com with SMTP id b52so6513292wrd.10; Sun, 04 Feb 2018 04:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=iXjNQYVe6JChKzO9yOWoytR1cqwUQMYS6xsGsNAlbGk=; b=PpKQUcCsDnn3Dj3baFix4JEWk1SX84UALrWkUIbmT8Xi4DgUCyCL1js1JSBbnGv0Om OiA654ZSgCk2lWxOM9K2+oWNTfeGeJA1I3qUkxv7CkIptTn6ziCCZ9lu8IvigvUjPYXG dL5jp7YhOszQXrOFDz4NQgKj9WY+wYhIj3HhPMyl1Ze/9/VbFJt9kfydzk5pxKSAyM+o YoC7o0scFyTwQ7i+FvKGAbOPqGcacXpy4NblzatusH/bz7WeILgBeKYOZYOIv8bO2zFZ onWU+HPBNyqW6vnazhfqK5tg5g5x6RvrSwIjVX7zDha7xhu0CunWvs/rdArf5z9UkLKU v4TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iXjNQYVe6JChKzO9yOWoytR1cqwUQMYS6xsGsNAlbGk=; b=hZAYdfHSAEopcB8BE/xE7ryoz2bzxiIYufYVbFs+mkRP8XKSAvMIDkzuPPYczNnoAj R9P4kL4DFbmC6f/Jfj8GP5bc+GUe2M94l7zRfiyR/fgh8kCWoLRiui3g4y6BFHKdvGn5 Fw32tx/LOg5A+bnnp60z6lOBgfR4vCIf7TvcKFjqKRjjCTkbUfMONJUkmYMHKIQlnHZO bC91H68sru/VE7zG1/rtIdyXwGPna3nKOY549dS0a6Dv9O3Dvo7zAUGFdr8I+sn9skoQ b5UtrWJgFEYVwAa7GAiGGQYWDgFlwgssXU+bgAdMfhki4b7MCxYY0CX9OByOmDHyH/Lr lEUA== X-Gm-Message-State: AKwxytcckPaFEETRYCSmtA0t+4ZeT9NmEf5aSuqi8XHIcj9wj7YNnitM 9Y772oadGejnUb1WljsQSN4= X-Received: by 10.223.151.67 with SMTP id r61mr26780264wrb.133.1517746532794; Sun, 04 Feb 2018 04:15:32 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id u194sm7909581wmd.8.2018.02.04.04.15.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 Feb 2018 04:15:31 -0800 (PST) Date: Sun, 4 Feb 2018 13:15:30 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Alexander Sergeyev Cc: Mario.Limonciello@dell.com, dvhart@infradead.org, andy@infradead.org, linux-kernel@vger.kernel.org, mjg59@srcf.ucam.org, platform-driver-x86@vger.kernel.org Subject: Re: PROBLEM: NULL pointer dereference in dell_set_arguments() in 4.15 Message-ID: <20180204121530.sl3h77mxbwusp2ul@pali> References: <20180203162021.GA4571@localhost.localdomain> <20180204092333.GA2010@localhost.localdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3ra52usstgql7qaq" Content-Disposition: inline In-Reply-To: <20180204092333.GA2010@localhost.localdomain> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3ra52usstgql7qaq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sunday 04 February 2018 12:23:33 Alexander Sergeyev wrote: > Mario, >=20 > > Would you please try https://patchwork.kernel.org/patch/10194287/ > > And see if it cleans up this null pointer dereference? >=20 > Yes, it does. So problem which I spotted is not only theoretical, but already affects users... Pity that I have not looked at that patch which introduced that problem deeply earlier :-( So there is race condition between initializing dell-laptop driver and calling exported function from this driver. But does not we still have same problem at layer between dell-laptop.ko dell-sbios.ko and dell-smbios-*.ko? To make dell_micmute_led_set() work properly we need to ensure that either WMI or SMM driver is already loaded and initialized. > Is there any estimates on when the patch will be merged into mainline? I > want to put something into my distribution bug tracker, but it's unlikely > they will use this patch before its stabilization. It should go in next round of merging into linus tree and after that with proper commit message tags it should included in next stable versions. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --3ra52usstgql7qaq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCWnb5YQAKCRCL8Mk9A+RD UgfNAJ4nMF9y/lKZCSmOnDdLbjaP73dtMgCfcjLWwwprfyt/aho9LIjCsN9PRwk= =jN4r -----END PGP SIGNATURE----- --3ra52usstgql7qaq--