Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26350334rwd; Mon, 3 Jul 2023 08:31:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlER5ULgz0wJxLjCeKCMj+3XoXAp1daYj5GbkLKI3LWUxVobFMEx3KWwo7TtYzLzR4s4MSLM X-Received: by 2002:a17:90b:890:b0:262:e6a9:bf1 with SMTP id bj16-20020a17090b089000b00262e6a90bf1mr11974750pjb.1.1688398315047; Mon, 03 Jul 2023 08:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688398315; cv=none; d=google.com; s=arc-20160816; b=By6qVzZ2gfXtQ2HwjEjQpyFTfCW5UUxZfrmT8O9QQiioZA5yNhYtxTbs7LGFEgQqj3 SiOEv19yBisRpoPiIS9QvTp6hdniBcbUyrOseDBZFVZaWacm3lNdAcNZwOdeKyVS1BoU vq5wiYu21JYLy3dcTxHeCrODhRf5btUW10zCLBV1IjBXBTpht8eXqkiIDQ425MLScFDb GfG6G2mJtAKOzhfC7AR79Tv2XE5pRqqwpFuvUWY4tKMl1HQBBgN9QgKSRg9OwM2CHPIh AcfPAa88PAQDmy75pqmzh1Iceff1HIDcfyeencZwgSf9eMt2txFVf1Fm9FpIuZxrTQDF vCJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=1nlFNiWBGjT79s+TDoJWb+KEl6wO2BXh4mDpz1hVVgI=; fh=qvjhhCAEcZith1QXtmReazMg1EMwF7KJslwZzMGVT8Q=; b=tLFp7FM88v2NcEITd5kPFH6ZS8dUcObWBHbzb3j8dzUqcVB/yAH+mSESb+o1yQSYgn oE4YWmqFHz0Svm056Ni5YaHoepJow7FR01ARfzo8zeZsTupEteYAh5JSDKztSbqHhJMr rji37j2gXpT/1WrCPxSCiOlvc+L/aUQ/0LIQ5xEYQ9X0LAg+ZjHqAWgwHDQRst9zvseO k53iB+ijHzHv7X1kleMoY9rl6g7rXymiZZr6hTL3nDy6f9u2UF5itg9KYocjhZl4s1It 9IzWlU4kaEEwY6+Gobt7qGjkRjAG4NqpvTILBFtDxoZPH3xk4Rc41T845L26bqoJM05S ItOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cD0QycFM; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b0055b0f40083csi12443952pgq.639.2023.07.03.08.31.34; Mon, 03 Jul 2023 08:31:55 -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=@gmail.com header.s=20221208 header.b=cD0QycFM; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230063AbjGCPVs (ORCPT + 99 others); Mon, 3 Jul 2023 11:21:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbjGCPVr (ORCPT ); Mon, 3 Jul 2023 11:21:47 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D89C0FD; Mon, 3 Jul 2023 08:21:45 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-57722942374so55785377b3.1; Mon, 03 Jul 2023 08:21:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688397705; x=1690989705; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=1nlFNiWBGjT79s+TDoJWb+KEl6wO2BXh4mDpz1hVVgI=; b=cD0QycFMhoG5IKwO+t0fCr/obn7kNO1vRLruJ/TF6q5RPjPPOoe2z0M5+XJego18zC TfV1NUsOHD40U0oePG5zVkXoD7MnR+WVMyjbGnFsIxqZdehGDhJN8sCPrS6jpF2budPY 8ZqZHl5KhQ8pq4M+C2gUyjNJaVPi/9pjuJM6xHOIXTkQs7R1YmxxMyVygAdlGwYlOpEI 6nesyOQs31WS+YYrL6i4JqZkstM08//QfIU3PrseYV9TKfgP0BzDVo5XsPEpqd+NYSKz ER+xBiIM1Xo3yJN8OoxrPIOf0+/NRKclPndDvC5V2FcGYbztQV93DML2OgbzV4rIexmt wodw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688397705; x=1690989705; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1nlFNiWBGjT79s+TDoJWb+KEl6wO2BXh4mDpz1hVVgI=; b=C4WjBJ3s3C4KIed+VL/B6QhfNGz4ndnAPtMNV4Uj89XDzcIhF9C6RscUkwBzQkdyZs EXppOINOYR9LWPHwERa+aQ4Ip749/bxf63K8FrWo8CtD2kM/OfTihWE3rSpmBk39AmOi LJFgoK8fVzk51R7H30+XTngTniBK4EWzaSwI8t3sbor/j5QnFYV+QA6Z7b/ZPKB7kPb0 rQVcCB+sMjdlW37cIkjrj1rffmJNYC0u3/mpQO1TkFCiTZ5UfhQdUEcBo+JwfB2jcq7K Vcymnm7vKIvxLYUf+Z7kYYwfuSUr5BacOZOyaDwFBV7EvkHYxEoJfrQmsMJdR3800wX8 Nduw== X-Gm-Message-State: ABy/qLZZoaYlIcpM4OAeZOCHvLAfsfrVCqYjwWnvxBq0/Df1etXHnNXH LAtnNZxzUctAou+zbzM/cI4c7kqHalWyltFUwuWuxp14acc= X-Received: by 2002:a25:69c8:0:b0:ba8:6c1f:f5ad with SMTP id e191-20020a2569c8000000b00ba86c1ff5admr10660205ybc.29.1688397704856; Mon, 03 Jul 2023 08:21:44 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?B?T25kcmVqIE1vc27DocSNZWs=?= Date: Mon, 3 Jul 2023 17:21:34 +0200 Message-ID: Subject: Regression bisected to "crypto: af_alg: Convert af_alg_sendpage() to use MSG_SPLICE_PAGES" To: Linux Crypto Mailing List Cc: David Howells , Herbert Xu , Paolo Abeni , netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-crypto@vger.kernel.org Hello, It seems that the commit: commit fb800fa4c1f5aee1238267252e88a7837e645c02 Author: David Howells Date: Tue Jun 6 14:08:55 2023 +0100 crypto: af_alg: Convert af_alg_sendpage() to use MSG_SPLICE_PAGES ...causes a segfault in libkcapi's test suite. A simplified reproducer: git clone https://github.com/smuellerDD/libkcapi/ cd libkcapi autoreconf -i ./configure --enable-kcapi-test make ./bin/kcapi -x 2 -s -c "gcm(aes)" -i aac774c39e399e7d6371ec1d \ -k 38bd9eb2cb29cc42ac38d6cdbe116760 \ -a 5dbb2884f3fe93664613e863c3bd2572855cf808765880ef1fa5787ceef8c793 \ -t 34a21cc3562f0ba141d73242e5a3b666 \ -q d127b39d365d16246d2866b2ebabd201 The last command prints the result and then segfaults in a cleanup free(3) call. Before the mentioned commit it printed the result and completed successfully. I haven't dug any deeper to figure out the root cause. Cheers, Ondrej