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 05A46C636D3 for ; Tue, 7 Feb 2023 10:28:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231319AbjBGK17 (ORCPT ); Tue, 7 Feb 2023 05:27:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231258AbjBGK16 (ORCPT ); Tue, 7 Feb 2023 05:27:58 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9930222A10 for ; Tue, 7 Feb 2023 02:27:56 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id l21-20020a05600c1d1500b003dfe462b7e4so825242wms.0 for ; Tue, 07 Feb 2023 02:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K/a/KL0bMWPgC9CXdCThMrZjlb8QhLXnYKCv4iWo4eY=; b=fiugTAuV3sCHtZpCy7nobQTJAl15kavC6CnHqVNMjy3NLSv2d3Osq+HM3sPpS9jrhh O9wBFiy0GIXgh/YkxT1WIB+UuNT1bPFDjI7WuBs1AeHcybSL+bkg/k/hAL5B3ABTu0Wr 4/LxKU6DtyrHfUIrKTKMFRExFla0p8cchTpwd+F/WfwIZJ7TfL6Wi9G7ZEaZjKZOrRzk nCSE4zQVh/rMPLGB7Jst8Bi9bLOmnUQvjCOHXfdGN0yG79C0/B84SJdiWdgiHk7Nnj9F lo7hXrw/4Z9WDX6nC6qdq1KlsBIgXmP6nxkpvEyY0eOl9dU39dY6v7acuJNF2wzoPgYH smoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K/a/KL0bMWPgC9CXdCThMrZjlb8QhLXnYKCv4iWo4eY=; b=4WclIx8TM00fH4ORyMV+zVYTNVDnEFqKN6O+PIadEkon4a2nbwNjB0BDBYhHWXtPjA QJ6YF5gsJOgpnIH/A3HgFQhmuj2ZAlosNsEPfgfL040g1911VpngjOYpIvPCVFm8k3WT kdSeMicF1Y5Lt1POpWek0QeOb8/Nnpu5bDU8FxdEF9zCQKzwfu/jq7fzZo/ujR/HEY7Y 4vR6GVufmsXaHrxiXRC/D5E/Ich4PIawP3GI0aKEkzfTe2pQmZkYa/atMIazXHfESvF7 dpj2fP8Lyg/LIhWJeF6n7+G1lMkBp6q0LYZghHBj0ZVw2SYW9JynEbEv4h8Xaccm+2CV m6rw== X-Gm-Message-State: AO0yUKXdbbYt76fb6xvrhZQ7JfqBo5l5jxal1yHXWLW/ZOkS4V88x9CB F3uCpnBBW1iRYW6KHk9as3F7gQ9rMN+Q14CkF9Z3IQ== X-Google-Smtp-Source: AK7set8uundn64WctW8w+1nCqgFhNuk8A7jJVnmPWQzU+hczWhZe0Z5JvnFwg5y6ifGJr6fu528b/lyBCyyZJ+4KtRA= X-Received: by 2002:a05:600c:a0c:b0:3da:27f7:b3da with SMTP id z12-20020a05600c0a0c00b003da27f7b3damr977923wmp.176.1675765675152; Tue, 07 Feb 2023 02:27:55 -0800 (PST) MIME-Version: 1.0 References: <000000000000269f9a05f02be9d8@google.com> <000000000000ce7ebf05f40de992@google.com> In-Reply-To: <000000000000ce7ebf05f40de992@google.com> From: Aleksandr Nogikh Date: Tue, 7 Feb 2023 11:27:43 +0100 Message-ID: Subject: Re: [syzbot] KASAN: slab-out-of-bounds Write in copy_verifier_state To: syzbot Cc: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, haoluo@google.com, hawk@kernel.org, john.fastabend@gmail.com, jolsa@kernel.org, keescook@chromium.org, kpsingh@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, martin.lau@linux.dev, nathan@kernel.org, ndesaulniers@google.com, netdev@vger.kernel.org, sdf@google.com, song@kernel.org, syzkaller-bugs@googlegroups.com, trix@redhat.com, v4bel@theori.io, yhs@fb.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 6, 2023 at 9:31 PM syzbot wrote: > > syzbot suspects this issue was fixed by commit: > > commit 45435d8da71f9f3e6860e6e6ea9667b6ec17ec64 > Author: Kees Cook > Date: Fri Dec 23 18:28:44 2022 +0000 > > bpf: Always use maximal size for copy_array() > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14c62f23480000 > start commit: 041fae9c105a Merge tag 'f2fs-for-6.2-rc1' of git://git.ker.. > git tree: upstream > kernel config: https://syzkaller.appspot.com/x/.config?x=e2f3d9d232a3cac5 > dashboard link: https://syzkaller.appspot.com/bug?extid=59af7bf76d795311da8c > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1650d477880000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1305f993880000 > > If the result looks correct, please mark the issue as fixed by replying with: > > #syz fix: bpf: Always use maximal size for copy_array() Seems reasonable to me. #syz fix: bpf: Always use maximal size for copy_array() > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > -- > You received this message because you are subscribed to the Google Groups "syzkaller-bugs" group. > To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-bugs+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-bugs/000000000000ce7ebf05f40de992%40google.com.