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 718A4C4167B for ; Mon, 6 Nov 2023 10:02:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229987AbjKFKC1 (ORCPT ); Mon, 6 Nov 2023 05:02:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjKFKCZ (ORCPT ); Mon, 6 Nov 2023 05:02:25 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03ACFDB for ; Mon, 6 Nov 2023 02:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1699264895; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=dPgIyr8eZGTaHHUAuqbeAy3ULtRETSOYafFMSoTIqOE=; b=Vfr2kg8sJoO4PlEywLRLHIGxLnam2KP+yBssHW0f7Y853BH7VzxceflCBPf2QlQUpmSHmu YvEGevutIwV4OLiHjo/gGfBVNJ2WGqJAHONk+GML0O4j0Hb5tXp4+8fNdXPENnYEbp+DBA TVipfhZfLG1V+6K8IDSWPgQu1EndS/w= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-526-UYj-SFJDNK6K_-IvvJ016g-1; Mon, 06 Nov 2023 05:01:19 -0500 X-MC-Unique: UYj-SFJDNK6K_-IvvJ016g-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6011D185A780; Mon, 6 Nov 2023 10:01:19 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 37F56492BE0; Mon, 6 Nov 2023 10:01:18 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <20231022183917.1013135-1-sanpeqf@gmail.com> <20231105193601.GB91123@sol.localdomain> <20231105201516.GC91123@sol.localdomain> To: Damian Tometzki Cc: dhowells@redhat.com, Eric Biggers , Steve French , John Sanpe , CIFS , Namjae Jeon , Paulo Alcantara , LKML Subject: Re: smb cifs: Linux 6.7 pre rc-1 kernel dump in smb2_get_aead_req MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2545099.1699264877.1@warthog.procyon.org.uk> Date: Mon, 06 Nov 2023 10:01:17 +0000 Message-ID: <2545100.1699264877@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Damian Tometzki wrote: > the revert of f1b4cb650b9a0eeba206d8f069fcdc532bfbcd74 solved the issue of > the kernel dump. That almost certainly did not fix the problem - merely hid the wanring. Prior to f1b4cb650b9a0eeba206d8f069fcdc532bfbcd74, ->user_backed is explicitly set if the iov_iter is initialised to a user-backed type, now it's just inferred from the type being 0 or 1 - so I think that the iov_iter has not been initialised somewhere. Somewhere being from SMB2_tcon() and cifs_send_recv() on down. David