Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1614048pxb; Sat, 22 Jan 2022 01:20:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJynR4fcITUz5Cmk4OA2VXXCw/NMSdgOGt+a/3UL718/Lj3wijX7GRt4+J47aHr8whPjhQVZ X-Received: by 2002:a17:90a:f2ce:: with SMTP id gt14mr4432089pjb.160.1642843233366; Sat, 22 Jan 2022 01:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642843233; cv=none; d=google.com; s=arc-20160816; b=q5bnrwBdnhsqsKBA5xFTjWjxqWGg1wBsKMajnay9Q65D7JmVEoFBPa7Zwu8N0g7hFC ogE1guM9gfHaPN9V/h+P9emeboUbnpGO9i0/vO/STiNXVRxHoMg2jQG7Y5GC9YovMEa5 /vJKi5DMhnZfFjBpzNJwpCcPFP7Y1cJFF+uh/AlUfJ6TmOpusFV68O5fMirdZxFGlQ7Z X3Y/YIVPyfCoOdhZ4Ta4L4p5OWPdaLE5c+ki+J8oID4LMST4CB7/gx0mNX9mZ0r5JSdk kqLnHZCJUo6Hzi9BYOHcJ4V0MxEjBhLpRwVr7c7fy08dtn7oyZSxNchQ7vdpOpSaBgsP BkJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iavqU42bj2wSTgmqVt3xxjReKzumqOVjWmleUy0bDaU=; b=nxaxHuhnGYG0YbYv+rm/efvQWycSjInnFERrYHP2HI9JJDupeuV7MCvigZuO2xisz3 8Ox1i7Dc0DBgrfOtcR3CxlK60RJBC2WRnbyar6xR0cCPOqEugz6pW4rbviEhqzsQJKFu OjGQ3bVKlUKaeLQZarfqV5/PcMVFR54AMy3dXof1+GcV3Fzt0TdPalgNoEYCOJcyvorF N7YZTCWOhHAyfL2CQz9YrWCKurmDVVJOCEen1hAYT2jWA5EXcZDxxw3WBMh7J3Id4JeO B85ntsiUfiGRTPWLaPMPexmIuvm+aQp01dMwcFIzG/tDBVK7w0kJzANxU5Hivp0i8Ijl di+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lBuls2wh; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si827949plp.61.2022.01.22.01.20.21; Sat, 22 Jan 2022 01:20:33 -0800 (PST) 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=@linaro.org header.s=google header.b=lBuls2wh; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230007AbiAUVdh (ORCPT + 99 others); Fri, 21 Jan 2022 16:33:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbiAUVdh (ORCPT ); Fri, 21 Jan 2022 16:33:37 -0500 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34C5C06173B; Fri, 21 Jan 2022 13:33:36 -0800 (PST) Received: by mail-io1-xd2a.google.com with SMTP id i82so12314124ioa.8; Fri, 21 Jan 2022 13:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iavqU42bj2wSTgmqVt3xxjReKzumqOVjWmleUy0bDaU=; b=lBuls2whODaDh0IeWokO1lc2qJgP2JLiB3bCnsDp1cbXFhdRiIVQWIti1HZVV4yYr+ OMCvjRPRz1AfCG3RIGuQfU8DiRSzl/ahIHw1ePh6o6bOxXAnr38dT9DesX/xSyTPqyDI 2OWbT+sw8dhSRPCP8AlePg3+HxvkxpeaFrkF0p40JxX3h1SX0qSB/snVuwJulwg5SH3p uRACmPUmIw0MU29qRqblGsC7YgX4QQ0KlyvWe5EQmhCGPLN1WrUAQbvkBYHS2X1Y8/2I N1/jdYEOVwJbFh32pGTgHF3L0Pz49xoXdKm8zLGliqc3YMejygmu9WgLNMUuOYig+kEc I3tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iavqU42bj2wSTgmqVt3xxjReKzumqOVjWmleUy0bDaU=; b=PaETwJJEe69QuHZ2InjDVkpMtuIcUtVaCL+Hay0ugfM8bTEKtvOD8yGyK3T7s/uV+3 SX3GRUv58P4kuxk+OlbevE+BiuwmxwLvMtp0/EqyBhBgZoduNMuetWvDkOufRduyMlmp 3WZ8a8aV4s2+oyV47V1Qrxv1DihXez8SD0aHt74vDgbf/M6aCWtmyIB4nR7ihzO5lNWP 04Jr8vA56uVIRZ46ygDCGzB+4QiDsC872EncIY3FPwKAEPSCtSXJAFccXW0xjCqHbLWg gmh0aGW/LuKwUNWbyxXGmyoMYiVv1QL6Jlj7O1uucJhqvIH+CDcmR022eH8SBpbI74cp wv5g== X-Gm-Message-State: AOAM533aHprcNLJ3mQaF2mmCcWEiKuiGqehqjMAsHLA9nMxpd6A1PkjC VJV09TdSvgNUJsEj65IXVUdQM2YJZP5NkhdbmY0= X-Received: by 2002:a02:a717:: with SMTP id k23mr2857417jam.155.1642800816294; Fri, 21 Jan 2022 13:33:36 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: John Stultz Date: Fri, 21 Jan 2022 13:33:24 -0800 Message-ID: Subject: Re: [Bug][5.17-rc0] Between commits daadb3bd0e8d and 455e73a07f6e, the kernel stops loading on my devices. To: Heikki Krogerus Cc: Mikhail Gavrilov , Linux List Kernel Mailing , rafael.j.wysocki@intel.com, linux-usb@vger.kernel.org, YongQin Liu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 20, 2022 at 3:27 AM Heikki Krogerus wrote: > On Tue, Jan 18, 2022 at 03:12:10PM +0200, Heikki Krogerus wrote: > > I can reproduce this one by simply not creating the component list in > > the code. That function - component_master_add_with_match() - can't > > handle situation where the list is empty. I'll prepare the fix. > > I'm again attaching the proposed fix, just to see if it also gets > corrupted. Can you test does it fix this issue? > You need to apply it on top of the previous one. We've been hitting the null pointer crash from component_master_add_with_match() regression as well on the hikey960 board. The patch you attached resolves the issue. It would be great to see it merged upstream soon! Tested-by: John Stultz thanks -john