From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C61DF42A83 for ; Fri, 27 Dec 2024 10:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735296847; cv=none; b=SX9kFYCYkFid+7BGlwO4deLbg1Sh4au9WJRixeHAZd9FN81HK1OgjApkuf+KkWYsxPmlMHdMRok/n9MSxLrvoxAXsn7nOsgmAoaLEQuHI1b5pusia6Hwai/HpzgLX4WlxQBu/3ynQIt4P9Oho1hTpv2t/QaZv6gdcl50eDLD8DI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735296847; c=relaxed/simple; bh=aTfAi/hCeB+Wz2y0zsljMg7CMntvfxDEeFGIOYIFrKQ=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=pCo2Os6LsPZUBWV4DZWTtIo1Whb1VLBkF4jSfz5519QqXLf8DBT2+WhpFjhVaXktoF29agxOS8CiNaGy+xtv9oxuNswBcdjHfAI5EtCnTtSL06bdQpMvqjCc88HPYWHqcZibNEo68DSCJCTo9RdPtOWZxx6uiQHRM0xYKkdYdHk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.200 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f200.google.com with SMTP id e9e14a558f8ab-3ae31bb8ee3so149042235ab.3 for ; Fri, 27 Dec 2024 02:54:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735296845; x=1735901645; 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=vzh4RlwwybXevderoOXJrGa4lSf4qyKh5taQuEspLto=; b=WE37a1FtWCAwnr+c7s1KAeTotyDggCX6oUoQPNgAWLA8pNAgoxG7qnIhwU8ZWH0oUC fPLkyVY4/QSM8/Ma1E7IVy/Nl/F5M610RMbK5PXiKzIdieEbEDm7hjYQ+QcnwxrUfBzK 4OfTGd3NzHjn9t01JvcsFxg7v72EzuQM61ips4InRtzL0sVui+2Sa4T/I0wW+wvKL1M7 5PMmypyL0gAlv5GgLnq8igHbtxZr2WciXuUKnaxx4so1QNOxjOGSXVIu9DPMPkbZPiVn Gdwb5Zgz10s0XeUltl7UeTEncrFn60B/+IJSidY1SP7u1g949Y3xy/HGRPfoykLZN36S U82g== X-Gm-Message-State: AOJu0Yw3/6UhgP4x5SqzDDmJ/l7GhiC+IKmNXDVVY0zHj42joFKnRIbN 5iPZG45PwFJxMUOlTyKzZluO+z9z9Ja44vYQbd7MDOMiLbyUaYJN+TrEKZd0K9bjOgG1L1yk4YD NnjLdBxmd7tLZI7xVBi1YIBKxJGwYR34FMTXuVslIrcv+/I7Bk4ryrdQ= X-Google-Smtp-Source: AGHT+IEhbDNwZAjmW8L0LeMh5JoRpHoPW7HIMuZMYdomIB0QU5NkIlwN28rZv4r2Ruv7a58zuJbERhaywSEFyvYQ2jYJR7FJ5+Vx Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:20e4:b0:3a7:1f72:ad3c with SMTP id e9e14a558f8ab-3c2d514ff8cmr198484965ab.19.1735296845019; Fri, 27 Dec 2024 02:54:05 -0800 (PST) Date: Fri, 27 Dec 2024 02:54:04 -0800 In-Reply-To: <676c3718.050a0220.2f3838.037f.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <676e874c.050a0220.2f3838.047d.GAE@google.com> Subject: Re: [syzbot] Re: kernel BUG in ocfs2_set_new_buffer_uptodate() From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: Re: kernel BUG in ocfs2_set_new_buffer_uptodate() Author: dmantipov@yandex.ru #syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git d6ef8b40d075c425f548002d2f35ae3f06e9cf96 diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 213206ebdd58..3bfbc166d1fe 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -416,6 +416,9 @@ static struct buffer_head *ocfs2_find_entry_id(const char *name, if (found == 1) return di_bh; + /* Cached by ocfs2_read_blocks() so remove it. */ + ocfs2_remove_from_cache(INODE_CACHE(dir), di_bh); + brelse(di_bh); out: return NULL;