Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3033102rwd; Wed, 14 Jun 2023 10:15:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ799g+yu0OPU/1Jk3Ibr2BdBuACSLH+4NOSz0APFOi+crca8Sq4Q8lhy8ow/Oh7bBObkqPa X-Received: by 2002:a05:6a20:7350:b0:110:29dc:495e with SMTP id v16-20020a056a20735000b0011029dc495emr2827970pzc.18.1686762924192; Wed, 14 Jun 2023 10:15:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686762924; cv=none; d=google.com; s=arc-20160816; b=RFPuqrxDPNobFn1xaQjPcb1ZivS5NmKfAmBYqAVbGzSBxtAVAGFmOFDc9TINTljy7n evbHfkjfMVhC4IWjQPAiX5ndim+QcF5RqR6s6t6vYbCU3mN0drNquTDwx1mXQIzFLbRO mfK6BD6MWfKI5weYNHq4ol+ocDtijH82BtvZl7JF9ZlvBwYQN44wmEIyHg5ouS6yc2fd mWjBMmHox8m9VMpDioJ1vFL69jWut1D1tQpyhHutpHOV838lqCBoIt7413Zf49guoBpq eDEaM/oTuxgsFCCv0Zg1ySmFg/sJTxA+e1joYIRN72A5KD9joCpb5Szu/f4AGLrf2FiO 4CnA== 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=rl6mgiOo+Ag+ttIGbzoAy2FCy5AX0T0I/OwvxTFasvA=; b=u7MwzOD6YqSCop+I7w1L9a/j3f7gtbIBqpgvCAa35Oyc6wuVRR24EdeQ40otMdVaw5 teLnP3weEKEZFmNIoQfj1YmfzOQHJjRLS++AWTYMcF2CC4or8WNpety9PtzvKJ+uCdRD ZgPrQuSz9xtmv+IBNdTd+DAy6pp06UjNAc49HFD18TLJL1GGedwN9Du5/ebEdgx8F8PU R4tSonwBicdiJb0vluNyeQrMZwkLYfjpFTJP6YCI2gTN4R4dTLXBcsk6bddsOzWB1Mbo klBY9TQf24bV77jd93aiyPFypUUQDRV6HBDk+TIL6d7EBCO2eurX8d0YHhMjlZK70+25 HEOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JbclCWLG; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020aa7940a000000b0064d3cf07fdcsi11188634pfo.88.2023.06.14.10.15.12; Wed, 14 Jun 2023 10:15:24 -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=@redhat.com header.s=mimecast20190719 header.b=JbclCWLG; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231363AbjFNQLB (ORCPT + 99 others); Wed, 14 Jun 2023 12:11:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231209AbjFNQK7 (ORCPT ); Wed, 14 Jun 2023 12:10:59 -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 AC3D61FC8 for ; Wed, 14 Jun 2023 09:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686759011; 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=rl6mgiOo+Ag+ttIGbzoAy2FCy5AX0T0I/OwvxTFasvA=; b=JbclCWLGvgReZhTq2E3LwA+lKwffDJ+QPAzBCXivTkSgXfYyyc2ARQJx1dPwO4QBb8Jx4R V9fEEYQxxXaQFyxCuklHHiMkZnk2VmNLSnDBBHAaEspPJdPeN876mYe+u4UnE9nq5QUWJh 9xCVYgwwGq737G1EKs0fVzAK8hBfg4w= 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-85-hf3k22h9MguxekwrDDaUNQ-1; Wed, 14 Jun 2023 12:10:08 -0400 X-MC-Unique: hf3k22h9MguxekwrDDaUNQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9FD6980879D; Wed, 14 Jun 2023 16:10:07 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 39902C1603B; Wed, 14 Jun 2023 16:10:04 +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: <000000000000a61ffe05fe0c3d08@google.com> References: <000000000000a61ffe05fe0c3d08@google.com> To: syzbot Cc: dhowells@redhat.com, bpf@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] [net?] WARNING in unreserve_psock MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1661017.1686759001.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 14 Jun 2023 17:10:01 +0100 Message-ID: <1661018.1686759001@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 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,URIBL_BLOCKED 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-kernel@vger.kernel.org Here's a reduced testcase. David --- // https://syzkaller.appspot.com/bug?id=3D6ffe7d1ebf1efaddb7ddd04784b9b22a= 8562b8d0 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #define OSERROR(R, S) do { if ((long)(R) =3D=3D -1L) { perror((S)); exit(1= ); } } while(0) int main(void) { struct msghdr msg; int kcmfd, res; kcmfd =3D socket(AF_KCM, SOCK_DGRAM, KCMPROTO_CONNECTED); OSERROR(kcmfd, "socket"); memset(&msg, 0, sizeof(msg)); res =3D sendmsg(kcmfd, &msg, 0); OSERROR(res, "sendmsg"); return 0; }