Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp726862ybx; Wed, 6 Nov 2019 07:32:47 -0800 (PST) X-Google-Smtp-Source: APXvYqzZanaAyOJre0ftkta4rpiSFlY5q2dWn6tKGqv5ZXG5u/3oPIOw+7NShZA/AEpN/Z4bn763 X-Received: by 2002:a17:906:2552:: with SMTP id j18mr9635647ejb.244.1573054366896; Wed, 06 Nov 2019 07:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573054366; cv=none; d=google.com; s=arc-20160816; b=FOQduOgAFB35Zaac7ijOY8V+nm+MeNZRRVKoX4pjVn7LLi8yOnJqzDoj2tltbGHntO eNwQU0MclaoDlPT9nK8bsLUej3PRnjh1x/4FR0x8Upk8WFZelvx0t6xDpkK5tR9D3vhV RN3aIg4Bs37zgqY2XMzRNRZHFyZhswNHVPJbTLmxwFqgzIG4s41aPiCCQMppw1yAsSzW L5AYHKoNn63LJQXb9XPS6ikBMByOHh1wChJVZ8dkhuZ1c6TnIcxum7mlqwghk4kWl/Ok /2/O66SxyQMLdp9LBAxSBaiAZFyJCNfN0gJc9/5kHVvdIeSeL6MU4QEBaDfEPuHVsyHU 5Adg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=DbAyue93JyznNmIkmVtLZ6UFGX/hYzHCJSClDp//lSU=; b=NOlqxqI94VpeSvy+KWlE9ujFyIvTSbvY3pIuLK/yL0RDhLp/gH+DVLxjcVU8lkx10G i9R5VsVQvJBOrTOWayc8UJpfxI4Qh9a07bKPdWthyZqXylLdke6b2ZWA/84S/LBhHWEu d/D8FUCxD7mgKd7RQGkPOWY3sKf1GJjKwji2lgICYpPOKlvhRL3515LyR0RkR8N+7XN7 rbcH8UDKux9TFxi/CQhzbubhLYx8OjpRtbKIXmWt9O0YFftggvotrcgdc54x1Lxs0fPB CzymaEjQgTDlD5KPgQ8oD8zOk3FgD5xNwjKKmaCO6qkfwicB/8cJ2H8TPQzJuu0SusDj u1Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b="LB3Yx/BI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s40si12542117edd.233.2019.11.06.07.32.22; Wed, 06 Nov 2019 07:32:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b="LB3Yx/BI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731999AbfKFP26 (ORCPT + 99 others); Wed, 6 Nov 2019 10:28:58 -0500 Received: from mail-ot1-f67.google.com ([209.85.210.67]:39806 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731947AbfKFP26 (ORCPT ); Wed, 6 Nov 2019 10:28:58 -0500 Received: by mail-ot1-f67.google.com with SMTP id e17so12629759otk.6 for ; Wed, 06 Nov 2019 07:28:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DbAyue93JyznNmIkmVtLZ6UFGX/hYzHCJSClDp//lSU=; b=LB3Yx/BIrvYNHBhojEUI5CCO9pO+SgV4R6zirmvgFlVakaQAKRibjBYbNVvzoG/bfB csaWoZma1z+qD+QlIIgAA2uI7p8yPXjS5CwnFBh3sBDf9JN05pnOQw8w5NPLzfaLi7Gq mGL6cYrgTYF9CcStKGZZ01c2XmYvB4tYTxqFs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DbAyue93JyznNmIkmVtLZ6UFGX/hYzHCJSClDp//lSU=; b=LCCNEMENgMBY+lYhxuDLzHKzBePpKvBZAuSYZF+zaGHIIPMph2z7vwzfaJFpUzyboj vqlS7nW3dirCY6YhMwKUiNvZEGgYHHIAFGTh4BB8OqQKKH4uzcrG9I2h3fBSBI5ikQUS iLmg7hGUfRTnhEWqb0zmQxO8ASXHHvJhkgWzqlmX+GldqjSw4jfFwS2tbp3virIDPMzw squHtHLSWl7ZQSBy4TRsW447hK6WG8Hc4c/MwlG3gqvEwDhoU2ERmm/SJ9HybB7m9TTw sWoWw4ziNkW8eEK+bJOSF2m4s4qYqki50lTaOll+Lw823M7beTRbiP4wESxl16WqDJ6+ 8NoA== X-Gm-Message-State: APjAAAXtZShFLddnz1cZGgiMWcoA1j3T+o7mZR5Kggq37hLzqsY2ZCt1 HPkS/OPqA4emDnfx/2giz/CySKB7JiVeOS8yxhyi3w== X-Received: by 2002:a05:6830:1649:: with SMTP id h9mr2347792otr.281.1573054137416; Wed, 06 Nov 2019 07:28:57 -0800 (PST) MIME-Version: 1.0 References: <000000000000b2de3a0594d8b4ca@google.com> <00000000000012ff570596af15cc@google.com> In-Reply-To: From: Daniel Vetter Date: Wed, 6 Nov 2019 16:28:46 +0100 Message-ID: Subject: Re: WARNING in drm_mode_createblob_ioctl To: syzbot Cc: Dave Airlie , Andrew Morton , dri-devel , Dmitry Vyukov , Kees Cook , Linux Kernel Mailing List , Maarten Lankhorst , Maxime Ripard , Sean Paul , Stephen Rothwell , syzkaller-bugs , Al Viro Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 6, 2019 at 4:23 PM Daniel Vetter wrote: > > On Wed, Nov 6, 2019 at 4:20 PM syzbot > wrote: > > > > syzbot has bisected this bug to: > > > > commit 9e5a64c71b2f70ba530f8156046dd7dfb8a7a0ba > > Author: Kees Cook > > Date: Mon Nov 4 22:57:23 2019 +0000 > > > > uaccess: disallow > INT_MAX copy sizes > > Ah cool, this explains it. > > fwiw I never managed to get the WARNING in the backtrace to lign up > with any code. No idea what's been going on. Ok I think I have an idea, the above commit isn't in the linux-next I have here. Where is this from? -Daniel > > I'll type a patch to paper over this. > -Daniel > > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=125fe6dce00000 > > start commit: 51309b9d Add linux-next specific files for 20191105 > > git tree: linux-next > > final crash: https://syzkaller.appspot.com/x/report.txt?x=115fe6dce00000 > > console output: https://syzkaller.appspot.com/x/log.txt?x=165fe6dce00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=a9b1a641c1f1fc52 > > dashboard link: https://syzkaller.appspot.com/bug?extid=fb77e97ebf0612ee6914 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1212dc3ae00000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=145f604ae00000 > > > > Reported-by: syzbot+fb77e97ebf0612ee6914@syzkaller.appspotmail.com > > Fixes: 9e5a64c71b2f ("uaccess: disallow > INT_MAX copy sizes") > > > > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > > > -- > Daniel Vetter > Software Engineer, Intel Corporation > +41 (0) 79 365 57 48 - http://blog.ffwll.ch -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch