Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1193589rwd; Wed, 7 Jun 2023 12:26:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6YV1d2cthyn136eeBjpsfJE1+AWwdzZodcotux2HHXEjpS1QQlG9HVTRPyHaR/sVYvr0Mp X-Received: by 2002:a05:6a20:9189:b0:100:ba96:e5e7 with SMTP id v9-20020a056a20918900b00100ba96e5e7mr4874119pzd.18.1686166000851; Wed, 07 Jun 2023 12:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686166000; cv=none; d=google.com; s=arc-20160816; b=pkoX74TcDAgxVa0ipQTPHoTOpKkefsFUDbah2F9W5V0/2H3PgVMeeBS76W6Q82zQ2z jr4+fDVIdtnXRhZHOzazuS44S8RnnEQOUh0hHKgYVnFMSbtUq1yN+QThDEGr3zONw/ug 4vBkdG6vfITKgZ3ggmGjruJ1mQGZ0HSDCeq84hVZfLTC3dTLJqVb6znOS/WQVJoTqZM+ 59S7UsAvTEy6j6BUeqYgMezXxnZoiKR+0NqJ6fL/V53rQTVzXvKBYcZGN4+HxOtEQ07Q mr9gC+c1LNXr65XOYxpSmdMPaApwX1lxZ9g0Q3G/GrWdh7LwOzmatN/PYswW15TBSgWc 3fKA== 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=ULBjZ4jED+QjqT6ZmpN+2GLYYiRnvb+ThTgUyHDTVbs=; b=Nzog9SgpNaHuDaoA6Xyi1umBm8QFpyA0BI/3Biff8t8awnc4nkQnWZd7+wLA5aFQ5O RhutJfWTStFM0fylXLAeAm5s0h23FPIJhtgVyDplHqBzmDoxoQCZH4XD9L1yqNH7flRi y7UfbswgUNCPmMx7MDMYqpjayrB7QmFrr+Rwqlf/oPuduNlxktiBfzMTw2za8z2HmW0L POLz0O3KRtX680Dfk9zJvyHBgT/Zl5uui6S/VOtl4ShJIN2vZeNhz6vlqb74wQwQbVi3 iwcStAm9VA1ZmVkh2zMHjGgyalPS6nXN3mERoD/4SvPzZ+H7xJNgn3hfs3VY48IJdcyS I20Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lBuNueS1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a638c51000000b0052c37cb5116si9300784pgn.435.2023.06.07.12.26.28; Wed, 07 Jun 2023 12:26:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lBuNueS1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231577AbjFGTHP (ORCPT + 99 others); Wed, 7 Jun 2023 15:07:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbjFGTHN (ORCPT ); Wed, 7 Jun 2023 15:07:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C73E8E; Wed, 7 Jun 2023 12:07:13 -0700 (PDT) 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 ACFB463D85; Wed, 7 Jun 2023 19:07:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1F52C433EF; Wed, 7 Jun 2023 19:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686164832; bh=G8DEs9I7UH+XGHugDOSGDS8/fXnM7e5FafIGJcFDcTE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lBuNueS1YZPZOhG8R2S21CP0YB45duJ/rLit1ecL5OOL/6lthveTZJDDRt+YGG0R+ N8tICWPYPZ6aQ+X9HB0bBx73k0pt1Rnnc3Ma4vCoP0/OX825dcG81uf+CIO8IBfK+J ex6P+HiEXbvj0+wYhUVHiDTH6CzdlvODwvoRs5yU= Date: Wed, 7 Jun 2023 21:07:09 +0200 From: Greg KH To: Rishabh Bhatnagar Cc: sfrench@samba.org, stable@vger.kernel.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 5.4 0/2] Backport few dfs related fixes to cifs Message-ID: <2023060750-unpledged-effective-bd95@gregkh> References: <20230607185313.11363-1-risbhat@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230607185313.11363-1-risbhat@amazon.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 07, 2023 at 06:53:11PM +0000, Rishabh Bhatnagar wrote: > Recently we have been seeing kernel panic in cifs_reconnect function > while accessing tgt_list. Looks like tgt_list is not initialized > correctly. There are fixes already present in 5.10 and later trees. > Backporting them to 5.4 > > CIFS VFS: \\172.30.1.14 cifs_reconnect: no target servers for DFS > failover > BUG: unable to handle page fault for address: fffffffffffffff8 > #PF: supervisor read access in kernel mode > #PF: error_code(0x0000) - not-present page > PGD 260e067 P4D 260e067 PUD 2610067 PMD 0 > Oops: 0000 [#1] SMP PTI > RIP: 0010:cifs_reconnect+0x51d/0xef0 [cifs] > RSP: 0018:ffffc90000693da0 EFLAGS: 00010282 > RAX: fffffffffffffff8 RBX: ffff8887fa63b800 RCX: fffffffffffffff8 > Call Trace: > cifs_handle_standard+0x18d/0x1b0 [cifs] > cifs_demultiplex_thread+0xa5c/0xc90 [cifs] > kthread+0x113/0x130 > > *** BLURB HERE *** No blurb? And this says 5.4, yet your patches say 5.10? Totally confused... greg k-h