Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp254283rdg; Tue, 10 Oct 2023 09:17:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHEi5B6LLEkq+Iug8Wkd7Sb/BhjGPUSUH+h13KbXR6DBqTpiXsbC6jOq2EImc7u+BWFO7aa X-Received: by 2002:a05:6a20:d417:b0:15d:4a4d:ecf7 with SMTP id il23-20020a056a20d41700b0015d4a4decf7mr14612170pzb.36.1696954627675; Tue, 10 Oct 2023 09:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696954627; cv=none; d=google.com; s=arc-20160816; b=TSSHMKvicY4DCpTlTNlwJ0JaAM8206La0p6hpN94BncmVI5gj2FP+X/04pA1WaYtCc Ninx+5hFnJNwphd9Dl4KG5kB1yhfbO4OHBWMK3poeyawN5592r5sFRUnxoJtbs4woE0G DNnlu0BDxeu6cjwryyx4AoiQQpYgUaN7aJRtPEji99yd5zgbR3e4ZYCloJpX9ns0okqH vX+m2YTXXO5EIBL0CPkIPtMR36pRfjcpDjYTAzzTgaHaQ76GYlTjZ8agl+A0hWcCbVF9 sqwpLr6NJEphFUCemWIGykreg98dZ/I5ol1xhhbQZMTaVLwgkL2gwOc9qj8P9YrWd8PV GIcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=HJHwQ1jZv4IYFmIvd1PJP3yKcKIO1pqgJrgfL6PPRd8=; fh=cArhJEhpHETd7nB2+5fvKYM9nVJ3CEZCOaX4m4MP9ik=; b=jdHnbDrdfiWy0/n+pgutO/DOxo+RDTgjqZi/tVN1B7WSyH9nZxtZ3H5iAJSl1v/GoX xIWAFGGV5vKukvKs40Ar7gSAtRE6zkik5vsSiH1QQLVb8CAF4g5sBe6cmMKUSDAqmTWW sW0NvG2D+hS0DeOnF1Ks7QMUO0BpWsZbsjKgI6gh/YGGjTdOE8bdj0FAj2z4PEB84CSD 7R8GIoVtztMnh8xU5bZN2JU4fKj9qOw8k/5lkZU/Rva6CR+kxNq4deUIITZolnIcF6Zr gnD/M/25CBCQjc149Q2ZE4J7HF/4JJ0g6htTiE5EOVm/PjabIy+5X5MWNeXNh2aOh95R gHdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HWhwbc5h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id v3-20020a056a00148300b0069347c30c78si10360864pfu.230.2023.10.10.09.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 09:17:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HWhwbc5h; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8E1088087253; Tue, 10 Oct 2023 09:17:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231246AbjJJQQ6 (ORCPT + 99 others); Tue, 10 Oct 2023 12:16:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbjJJQQ4 (ORCPT ); Tue, 10 Oct 2023 12:16:56 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF5D94; Tue, 10 Oct 2023 09:16:55 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09B90C433C8; Tue, 10 Oct 2023 16:16:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696954615; bh=xy0tu/DXQ1C6+rDL2fSFMe7qK4vmfgejr0VdNHO+J8A=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=HWhwbc5hLf9p+N9vKNvSoe9oWeFDLyzL+J05cjC0YMH7ix4tkGnm+/NJcueYWjfww MgMOlVlO3mph671WkFBLiOUn0CQlWdwkjcAh7ZLidsQ/9ljw/k5KD9pdYHh5m6rVz/ qnctC8uN5JqjxgE/3QVRTetSky1/yh4N5/tA0wcLkOBaE2CYprQdoSmS+jDggYvei1 uq4nCIfUrJh288+WsyYwUarBWjhS9TrZCkzkBPWPARWI3/hAhiAjfj3/MFzDlZU2lz dUQQPbQy+H4JadN/e3NsfqhCgXjK27LXvwti7jxmg48RWJGn632i71Mx9MkfAVEEON 2ZD6boC7h34Lw== From: Mark Brown To: Johan Hovold Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Marc Kleine-Budde In-Reply-To: <20231006082104.16707-1-johan+linaro@kernel.org> References: <20231006082104.16707-1-johan+linaro@kernel.org> Subject: Re: [PATCH] regmap: fix NULL deref on lookup Message-Id: <169695461369.46031.9819352584199415131.b4-ty@kernel.org> Date: Tue, 10 Oct 2023 17:16:53 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 10 Oct 2023 09:17:04 -0700 (PDT) X-Spam-Level: ** On Fri, 06 Oct 2023 10:21:04 +0200, Johan Hovold wrote: > Not all regmaps have a name so make sure to check for that to avoid > dereferencing a NULL pointer when dev_get_regmap() is used to lookup a > named regmap. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: fix NULL deref on lookup commit: c6df843348d6b71ea986266c12831cb60c2cf325 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark