Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3633683imm; Tue, 29 May 2018 10:34:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZosxhcnET8s+fGXhP+ZjsVcnMY1tP462VuvoKLDLAxG79eg6zF5zwh+SI2647ygfvAnpZFf X-Received: by 2002:a17:902:2927:: with SMTP id g36-v6mr18246124plb.303.1527615266869; Tue, 29 May 2018 10:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527615266; cv=none; d=google.com; s=arc-20160816; b=j4gr4fwHn5NthFTuOLlbFsxXOb08UvxJY5S89Vh0qH+XrRGMhiK0JwDSQCsdkSbOrs I/7xjIe1zkgQCoVigh3MUIJazhm7JBH4GU0CgawlNgGBS4ViOgVe9VnWPz84cqAB7Jk9 JNiT2u8SHYZFfdVAcMOsFyDR186jYo8ZwHdf2oEYs25C+HBeHnWmc4kvlw8WXU5Q1Kb5 miJRvXSkJTKQ1Fi5MU+uGZboefWn4JvAWZ2DGMDOCpiEtsApY28GtcpJLpkpGUgT6Lih 0oQwfUCbUg5gLA6DlGFlDu9ijBOngsnrAWCQi5frTjN3vl72xY0OT3+UC6okIjkbXDd8 i5PA== 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 :mime-version:dkim-signature:arc-authentication-results; bh=v8UyGO1a0hTAVXFq+YZCHHJeETmjsvCG0+v5UV0CwLU=; b=vw0y1f9aeZU9vJvEguVT/i6BbkGCPCFG7arRk9NAXPCtILTsVDtCkEVih0b0y5j8mX cI6L0tkSn3yL4L5iJuuQ31WkJUCZIIKXl5+EsEAhvPbwy9MjjBh1ZGeiFnItZBTAdUjk 6vG5+OeH1fS3uGQ1u36csHysJ0268Z7Dm/WxhRPIZM9qkRYlNXyeoSqhz79QIB/2Vo83 loCqgyP/Gdc+L3uoZG1FB5BHlVfWKfq3NPOeO1/g0IdQLlh2w3gkwAeIU+qB4xlXOzQH 2gf06vGDiuGQrNMkSZBZUyXpWbWyQrmrq9ur61fdaANM++rrOztnEgGZ7iePk2IUOVlC +ckw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GqDMN4DQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i13-v6si5771933pgp.341.2018.05.29.10.34.12; Tue, 29 May 2018 10:34:26 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=GqDMN4DQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965219AbeE2Rcj (ORCPT + 99 others); Tue, 29 May 2018 13:32:39 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:36139 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965010AbeE2Rch (ORCPT ); Tue, 29 May 2018 13:32:37 -0400 Received: by mail-lf0-f48.google.com with SMTP id u4-v6so137lff.3; Tue, 29 May 2018 10:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=v8UyGO1a0hTAVXFq+YZCHHJeETmjsvCG0+v5UV0CwLU=; b=GqDMN4DQBJYC1NSNhG4JzJ46w6rMxqd7V+v/ZEQ/cI/e652W/MknQcUUgLrJl8CYEY 9ZKezBHR0t3BeEo4tuL2Epwf7k9vOJdG7XWSkmlUvByA3hAa9ltNOxzdWZl2/+5GDJBf SuNJ6puXeJT/B5zJ3JrQfzYa+hoEHwuy/v/76kf93qC6QnwJ9MkL7gGkg+Zz/1xjknPp HhUET38m03xkRqssl4ZOKXlggkf6D6nvuHN3fnSIIS3M4Hj9t43bvb9G2TkbOCelq/Bl bTxSFaRfRi0AGcPr8RGGCdRWdEHrJ0VdfXugDD59iiVohHR3WXE6wOLDP8RrvuXsLmaw yqqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=v8UyGO1a0hTAVXFq+YZCHHJeETmjsvCG0+v5UV0CwLU=; b=Mo2JBZy9t62UeVqQbFr0N/y45akDWWWJHqdKeLoMTff1EsudG/Ps5NkjKTC8gSt+TC 6f6qFGHDwEOJs5Hsdgj4DmYy+ad6mIUWtygarLu/zIMm1ggBKtPurhGOe0U0g6wyvmBM UXA3MvR2A0iBrXIosOCj2AsBiQ3BRIkrV2xpZyAzIteFf3xz/dJ/Yr29ySzs//Hni5Gt 0M0hkZLpIQahvE3vKLIcnRqaCa3RF4T7/HHA0coGlMEMcgsf+pkrcdz/AiuUdZhuFesj QTmNEK894nWqodN6Mbe86qcGpHyUOY6U6mSzBL+mvcYVCMKi4U8kdvgXjAYn1VtXm184 jeFQ== X-Gm-Message-State: ALKqPwfXt5e8INzkBtJPO7IyM+IBT9YJ4HlAmi+CvyTCwDW3WZBUNOc8 d8XOLS+WnycWn42l1xtQE0aa53j6WBTTkvQk5ng= X-Received: by 2002:a19:8f1d:: with SMTP id r29-v6mr4035883lfd.88.1527615155798; Tue, 29 May 2018 10:32:35 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a2e:94d6:0:0:0:0:0 with HTTP; Tue, 29 May 2018 10:32:35 -0700 (PDT) From: shankarapailoor Date: Tue, 29 May 2018 10:32:35 -0700 Message-ID: Subject: BUG in mm/page-writeback.c:2652 To: Chris Mason , jbacik@fb.com, dsterba@suse.com Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org 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 Hi, I am fuzzing linux 4.17-rc4 with BTRFS and I encountered a BUG in mm/page-writeback.c error described below. This bug has occured 3 times in our fuzzing campaign. Here is the full stack trace: https://pastebin.com/QcDi9xA2 Truncated Stack Trace: https://pastebin.com/GWRNmhmC Here is a C reproducer: https://pastebin.com/xTAVB3L2 My linux configs: https://pastebin.com/6J1KMczH It appears that there is a fault injection inside of create_io_em during the slab allocation for the path. After that extent_clear_unlock_delalloc gets called. I don't know if the extent_map start and end are well defined in this case. Regards, Shankara Pailoor