Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1210692rwd; Thu, 15 Jun 2023 07:42:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6toc+uMroRTU9TGv42ShLMcbxNJ/hUBdeG4Fg2H3sOSJ1G4HbFUTV337mF5QsHhDzLEUDY X-Received: by 2002:a17:902:cecf:b0:1a1:956d:2281 with SMTP id d15-20020a170902cecf00b001a1956d2281mr20732753plg.3.1686840171292; Thu, 15 Jun 2023 07:42:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686840171; cv=none; d=google.com; s=arc-20160816; b=f3TxBTjYmjp+SMAdtXLLqRGbRt7TGz+yOTfiboqrz5gTQ1QCrRyTEv1G9JNatieWU1 WvXdMGYX0kY1iPMo4F5wyx5l7Vd64DMjDNc5QfzA7SeWK5K8EtqV2PUnfGVDuuRB+3Gu D5Djzk0HdhzEo6ADfkK38K1xbTwCttt2Aj0ciptLoqR8lxMD7t07PCQFuVZ9WbydHJpQ q6glEDwQAgSQViaVsuv5r6hlR4GIy+2FfHb/AZb82g4myzuk8TxB9cHvMVqeQ6gBJauy hrFA9Fw6ULrirdYx0MTspJqRONqm2MEHMx2FxYjNigowTzAZb0GbWQ62Jt7BXkNz07mq Q8VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=WNUJrv1eNB4SMwqhnEsBfDZoOO86Im2l2qkR71QzBpA=; b=BGErv6aXSMeq4QpwhhwOY/JcTj3NnQjbKYa6AC5Hs7ZQLldS8YAWZB5KZCVSfqyfjE Bs0FAf7nXQGt5g0sxxhfIbqcFl2dZGDxIMS7F+f2xfSe7ifimzqcQmRIZ8QNK/1FyzCj nOXu2ZwpjWtjYBeWiUlnBfPMm+j6Z0bsNpwoGB9CTEn2y0CPezK1HNIOzCyEJv1D7a/C fYMa9kQy7wtrcoXC38c9IPOcsGoR0tHoNz5Jz/4Zhuyic8tL11NPF+YnFC9EEHQSUP7R QmOxXhsDhrVh1mvKII3N/vOqViiM+ej2JYKX9p74p8kNcZB/t4oAz0m/YULy+RUOXnjo Scxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g49m9gmF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lc6-20020a170902fa8600b001b3f35a694esi4622918plb.83.2023.06.15.07.42.15; Thu, 15 Jun 2023 07:42:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=@redhat.com header.s=mimecast20190719 header.b=g49m9gmF; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344932AbjFOOWb (ORCPT + 99 others); Thu, 15 Jun 2023 10:22:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240015AbjFOOWa (ORCPT ); Thu, 15 Jun 2023 10:22:30 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1D45123 for ; Thu, 15 Jun 2023 07:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686838903; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WNUJrv1eNB4SMwqhnEsBfDZoOO86Im2l2qkR71QzBpA=; b=g49m9gmFIbH5ApklcsSxQ8zUnFRCQT13RPaTnsrk9bXc6tz1PrZzeDDl4wYNyjRca5l91r hKpWfORz7HMIroYIb3laX0QJEwqu9TUwyoDqxZ5qgNp3a+FqKzo9W1Yts4HRDpzt3NqCFm 6MWEVgF47fkwOm2QivnAHPcOM3MY1S8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-175-D2E1aklHMlapWqMh_9I3vw-1; Thu, 15 Jun 2023 10:21:35 -0400 X-MC-Unique: D2E1aklHMlapWqMh_9I3vw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 03702806000; Thu, 15 Jun 2023 14:21:35 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.51]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9A8352166B25; Thu, 15 Jun 2023 14:21:33 +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: <1657853.1686757902@warthog.procyon.org.uk> References: <1657853.1686757902@warthog.procyon.org.uk> <000000000000b2585a05fdeb8379@google.com> To: herbert@gondor.apana.org.au Cc: dhowells@redhat.com, syzbot , davem@davemloft.net, kuba@kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [crypto?] KASAN: slab-out-of-bounds Read in extract_iter_to_sg MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <189807.1686838892.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Thu, 15 Jun 2023 15:21:32 +0100 Message-ID: <189808.1686838892@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-crypto@vger.kernel.org David Howells wrote: > @@ -83,26 +83,14 @@ static int hash_sendmsg(struct socket *sock, struct = msghdr *msg, Actually, this patch definitely won't fix this bug since the test is using= an skcipher not a hash. David