From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D957CC433F5 for ; Mon, 24 Jan 2022 09:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236881AbiAXJ4O (ORCPT ); Mon, 24 Jan 2022 04:56:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234706AbiAXJ4M (ORCPT ); Mon, 24 Jan 2022 04:56:12 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85ABAC06173B for ; Mon, 24 Jan 2022 01:56:11 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 20DDA61251 for ; Mon, 24 Jan 2022 09:56:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03F97C340E1; Mon, 24 Jan 2022 09:56:08 +0000 (UTC) Date: Mon, 24 Jan 2022 09:56:05 +0000 From: Catalin Marinas To: Evgenii Stepanov Cc: Will Deacon , Mark Rutland , Ard Biesheuvel , Robin Murphy , Jisheng Zhang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: extable: fix null deref in load_unaligned_zeropad. Message-ID: References: <20220122023447.1480995-1-eugenis@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220122023447.1480995-1-eugenis@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 21, 2022 at 06:34:47PM -0800, Evgenii Stepanov wrote: > ex_handler_load_unaligned_zeropad extracts the source and data register > numbers from the wrong field of the exception table. Could you please also include the stack dump if you get one from the null pointer dereference? > Fixes: 753b3236 This should be expanded: Fixes: 753b32368705 ("arm64: extable: add load_unaligned_zeropad() handler") Cc: # 5.16.x Thanks. -- Catalin