Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4618150rwj; Tue, 20 Dec 2022 12:42:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZQdtvgM2gM9VhV/5OhZL8krvELJfku/eTyltSCHClalPnIHvZwpYwkBTlQAcxoTzIZhbK X-Received: by 2002:a17:902:6e0f:b0:189:361f:89ac with SMTP id u15-20020a1709026e0f00b00189361f89acmr44014358plk.64.1671568925075; Tue, 20 Dec 2022 12:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671568925; cv=none; d=google.com; s=arc-20160816; b=tYDzkXdEVgzhH/uoudd5Ungk3PPBAbvip0GwyD4IT/Hz0AlzbchCkCdkNOtwsk1JXo U3xcfUkQJUQTeG8zZxeiLG3ZNSzrhYzGsxLGuUdLyIOUXgUlAEh4bttgP2CgBV/vnXvk eUIaWed3BgrqD1yRARM/cRx+wOMKvtY3f3+PUNYCUQjC9NZ5qUzBhNvt9WKAOhjyh+0x DfHJtA2buzR84txB1aizweuQtYLroLCVXF0Ij2igeNi/hhpGAUfH2xNwO7DOUAwCUVw1 0aF24RvQiwVIzAuy7fVLf7I7XT5AHflyKYWy6aWxDrIaFri0capDkF2r4nZ2DwUWweiC w4tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:in-reply-to:date :mime-version; bh=gTGxOoFEAUghGzFyM7fPV9A+UgVOuiHkhe1LVr5m9JQ=; b=rMwhOWmgyPTM+YTuE4pbnba3+b0OOIvNQ/kPcLVsDTdwGLwaC1lABCB+YBohJs5BYo i+keJ3Rb0HhSnHjqNq+ChCkXQdnLK3xRyziFP03NQkIH6MJGjROk4e6cO7bAr1+V9DRu p3KO6TNCE6F64oRpFy3ZSUXhXhkoY+hvjAe9dRtIEx8gvodDHBLTQZwA05H828ObBTS4 E7Vi4Tto3MVSwg5Bp8wEY0ipyiwbdjy0mhJ4dv8Aqs8AiGmZBFpBrXvbV8ihs9L36Dv/ 8HzMzQp0Stb+Xd554q/CuznlqDeBvhHToU3DYIxKszjlu7rUq8ywgtEXWgXs4IYrENdY h1MQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a170902e88600b001893740c58asi10574193plg.393.2022.12.20.12.41.56; Tue, 20 Dec 2022 12:42:05 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234173AbiLTULY (ORCPT + 68 others); Tue, 20 Dec 2022 15:11:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232913AbiLTULW (ORCPT ); Tue, 20 Dec 2022 15:11:22 -0500 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A20701ADAE for ; Tue, 20 Dec 2022 12:11:20 -0800 (PST) Received: by mail-il1-f197.google.com with SMTP id l16-20020a056e02067000b0030325bbd570so8892065ilt.0 for ; Tue, 20 Dec 2022 12:11:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gTGxOoFEAUghGzFyM7fPV9A+UgVOuiHkhe1LVr5m9JQ=; b=Vl26O6psUMU6r4S0fdcSSGSr3ycrE01ZV/fUE61GVieuaKJbvlj+qVEGZLKKcvCtmc HUUugLFjfL5ALIasR4fPjW+ruim7Eqal9QvNzSskksRwflx6b7Dz4XZyFJmrjcA4istN Bes6ZxiY0+olhOg04OvzrjpnpACGRyb1ZF1YtG3KBh0jY1Kqmu/YTu5IJ/uuMXQZnFmn FYWXiTCC34+t6/I9XJ1fNeE8Shk+Zm5k1M926Un1eOViuNs3XsNXKnm5St+5pbrDYRK5 c0Z0gHKO/Nal+1s2v6oWJXIGgVqWWd21tvMO5iIP9odjlFNjkUmk5EALSxzDJ1RkwXJd iS/g== X-Gm-Message-State: ANoB5plnw4XvtdnP++qI0NZWwazrX/Ix2m8LqBdfhvKI+hlr/xqjM4cA HMN+SEMcOtteEJt4mbUiaWA1LznTPHXB94PdYRvshrDAFFWE MIME-Version: 1.0 X-Received: by 2002:a5e:870c:0:b0:6e2:cf0a:4f02 with SMTP id y12-20020a5e870c000000b006e2cf0a4f02mr4185685ioj.167.1671567080024; Tue, 20 Dec 2022 12:11:20 -0800 (PST) Date: Tue, 20 Dec 2022 12:11:20 -0800 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000005f23a05f0480a43@google.com> Subject: Re: [syzbot] KASAN: slab-out-of-bounds Write in copy_array From: syzbot To: 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, 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, yhs@fb.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Hello, syzbot tried to test the proposed patch but the build/boot failed: failed to apply patch: checking file mm/kasan/kasan_test.c Hunk #1 FAILED at 783. 1 out of 1 hunk FAILED checking file mm/slab_common.c Hunk #1 succeeded at 1335 (offset 2 lines). Hunk #2 succeeded at 1407 (offset 2 lines). Hunk #3 succeeded at 1415 with fuzz 1 (offset -12 lines). Hunk #4 succeeded at 1435 (offset -12 lines). Tested on: commit: c35bd4e4 Add linux-next specific files for 20221124 git tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git dashboard link: https://syzkaller.appspot.com/bug?extid=b1e1f7feb407b56d0355 compiler: patch: https://syzkaller.appspot.com/x/patch.diff?x=17af7bf0480000