Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp725324pxb; Wed, 8 Sep 2021 10:48:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8WxFQG5v3dxs9IxTEH1JVII2/hPO+cCV6RkDmsbK1s9aD03/ENrs3RbS+EZK1FHoyqdbF X-Received: by 2002:a02:ab98:: with SMTP id t24mr4841095jan.115.1631123320189; Wed, 08 Sep 2021 10:48:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631123320; cv=none; d=google.com; s=arc-20160816; b=gifFcMKZAJRIkDU93P/uCvcDUq9Rr+6qxvyuBujC3NuE0YHGXUpc/4G8RI2xBqDRVF lkSvefsSVawODzXuxTFvZxVMqX7D0L98enLbfPIJz5pCjvkkFCTIZzs3o/mtnQ2VDE9e yzCbyxISpJGBWKshdr/gyvVidGsuCyDAXC8jNqRKLOxlgFoVW/PPVDv4cFYD5bXmgX3K 48BCUNGCz0fqkqiVCfAfgD4Lel0DvPEs7Ap6p+qdBFA3yjyNKlNjptyDfOqjJB2IaXi3 dBp0t7ehvJH2UtkI9Ad7oGSvveTNvx7v58+Jb4mJiD0xWSk8vl9pS7oEwathTW+cUQUM aWAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:to :from:subject:dkim-signature; bh=R/b0I+ce/m50yXmZCAAUVXsudiTnZHVC+UYIpQAkofU=; b=Xo8bc+LzF1QfiL275F177Zw37aVJEz/Qnhm1r7A9szfvh3Y3ULj/1zk3+4evBaNoWc LNWlapa8LSwd/4KW8JxMR1Z5WH/QYG+qZrKeoSuheiArZXHDttcCvsusbnL3FpSqebMG gG3u9eMtKByy4r7V6Y/8A0d9azf9bvrhSqhGDcWMqCmTeOLBtA6O1MLYEShDw7b3uddd az4rVgdMxyF/9VhithjGyZ7dt7Q3TIHh96/pMIhG4rmX5jQ3PZzKELLUd2UeBcKLqfFJ h8ZdSzzdsJt8Sz8Z7qjero359Ldzf+eQ3e+irDCckS2u3/La4j7iFbKhnilOSEANcfNV CpQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=RqEQ17a1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t7si2889399ilf.11.2021.09.08.10.48.28; Wed, 08 Sep 2021 10:48:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=RqEQ17a1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343745AbhIHRWH (ORCPT + 99 others); Wed, 8 Sep 2021 13:22:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231723AbhIHRWG (ORCPT ); Wed, 8 Sep 2021 13:22:06 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74E93C061575 for ; Wed, 8 Sep 2021 10:20:58 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id b10so4248532ioq.9 for ; Wed, 08 Sep 2021 10:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=R/b0I+ce/m50yXmZCAAUVXsudiTnZHVC+UYIpQAkofU=; b=RqEQ17a1IvDgvMT41ZsUWvOO/WWGTXlRldkOuUAcdbtUH0g7rWkTc8I+1NUs7gFebA Q4dSj3VJvSzussdO/AV8v8qD562aDHkS4aFTEMDy3gwBeupCSJ/jTFN2v4OMOnmW3JdF zIGaGBOwUhanURfvn4xt6BvBar1xZIUlSn89K7oZgtMd1yz0jlSPzpTu8q6hLDQBaf/z L1Tbo1mLmvGQ6LT0hFk7Ofas5e0cwB3isas2/vCHsbBtwpNh7NadXGbm/g2gle6x9d4s IR/Knqd5ifme4vOPPZswEmV2g/GR9AqyvNopIcAQT/Hd04TuKz8fhsWAoLkw3tlrSA2A blLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=R/b0I+ce/m50yXmZCAAUVXsudiTnZHVC+UYIpQAkofU=; b=YUnFIdueCi5BkTp5sq2z7L8WzD/GTiEnaLUFRZ5z6uy4t0lw3qhEMO0/g9HYLy/L6s VoTG63Z0nIqE6wmHNhQAuXe446BdRDoqP3ygQQvhiITCE8nnjViDkNXZgn2lyY0OUeUW lPu56+Zg0cl9iLP4nr4OzGYNr5ZA9CiTHlHeoPxccUU3BgVJtDj9zNoTvgoiOQhGVkdo Zgz9nBH1Lu3ZiZubIphSjHZmmAWTqN+cy/wugKDwi0hxtMmf2BIJ39XCEMq0+k5/9T+J 6zJaeIIN19rLiNxwmFtTnfLOV1fs7/lHbBACJFw7ntB8Y6hFuGI8OTDJobJHOdyp/9Fq m83A== X-Gm-Message-State: AOAM532R1hDchcmaMdYEbWZQU5lda4Fwe31ZCN5jrH5oHWi2qfXed/pA BYq75kiPCccEjki93Vr9R3JbMg== X-Received: by 2002:a6b:8e50:: with SMTP id q77mr822319iod.96.1631121657806; Wed, 08 Sep 2021 10:20:57 -0700 (PDT) Received: from [192.168.1.116] ([66.219.217.159]) by smtp.gmail.com with ESMTPSA id j10sm1308638ilk.84.2021.09.08.10.20.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Sep 2021 10:20:57 -0700 (PDT) Subject: Re: [syzbot] general protection fault in hrtimer_start_range_ns From: Jens Axboe To: Thomas Gleixner , syzbot , linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, io-uring@vger.kernel.org References: <0000000000009eeadd05cb511b60@google.com> <875yvbf23g.ffs@tglx> <8bbede01-4a97-bf22-92ad-c05a562c9799@kernel.dk> Message-ID: <111a312d-ec11-be36-ac74-ef92c8896967@kernel.dk> Date: Wed, 8 Sep 2021 11:20:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <8bbede01-4a97-bf22-92ad-c05a562c9799@kernel.dk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/8/21 11:02 AM, Jens Axboe wrote: > On 9/8/21 10:45 AM, Thomas Gleixner wrote: >> On Mon, Sep 06 2021 at 03:28, syzbot wrote: >>> syzbot found the following issue on: >>> >>> HEAD commit: 835d31d319d9 Merge tag 'media/v5.15-1' of git://git.kernel.. >>> git tree: upstream >>> console output: https://syzkaller.appspot.com/x/log.txt?x=14489886300000 >>> kernel config: https://syzkaller.appspot.com/x/.config?x=d793523866f2daea >>> dashboard link: https://syzkaller.appspot.com/bug?extid=b935db3fe409625cca1b >>> compiler: Debian clang version 11.0.1-2, GNU ld (GNU Binutils for Debian) 2.35.1 >>> >>> Unfortunately, I don't have any reproducer for this issue yet. >>> >>> IMPORTANT: if you fix the issue, please add the following tag to the commit: >>> Reported-by: syzbot+b935db3fe409625cca1b@syzkaller.appspotmail.com >>> >>> general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN >>> KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] >>> CPU: 0 PID: 12936 Comm: iou-sqp-12929 Not tainted 5.14.0-syzkaller #0 >>> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 >>> RIP: 0010:lock_hrtimer_base kernel/time/hrtimer.c:173 [inline] >> >> That's almost certainly deferencing hrtimer->base and as that is NULL >> this looks like a not initialized hrtimer. > > Does certainly look like that, I'll take a look. And agree the next one > looks like the same thing. I think both are fallout from a regression that we had in linked requests, where we'd queue requests that weren't fully prepared. Current Linus -git should not have this problem: These were the two related fixes: io_uring: fix queueing half-created requests io_uring: don't submit half-prepared drain request -- Jens Axboe