From nobody Fri Apr 17 07:44:03 2026 Received: from mail-oa1-f70.google.com (mail-oa1-f70.google.com [209.85.160.70]) (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 180AC3EBF1F for ; Mon, 23 Feb 2026 03:38:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.70 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771817897; cv=none; b=qitDivdf93xyvtf9XQR1azwR09UsIXexoRzRvtcZDKbUktsKhE0Zil1Z36jAghm9jzkm/dcId9bYsrF+hZFtuMM7CMbAEvLeqklAYgCEGb5gUIqPR+6d52XFhumwEpD2Tq2wfViVOd9b2r1FvUO2EH1dI5vBUv9y6/LsGfg1J1Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771817897; c=relaxed/simple; bh=maNZodKsNl/f6kci4qzVAyNgX6EpG+WyCR3vests/3k=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Q1rVPbGHATZ1EhxxcJv0i7rc5Xzoz0sWMMOpZn4+DjvyJUxgl3NhzL3hXIPgB9tefWLe3D0WBlKeUkCqY60s9db9GYY7czChLIHQxOj67k6pnVvEp+r8n4/ppZkvEO3jgT92xL6kTKdXP3a3au16Thx42wkfyc2eFt2s4L+utCw= 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.160.70 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-oa1-f70.google.com with SMTP id 586e51a60fabf-40f04a08234so14765542fac.0 for ; Sun, 22 Feb 2026 19:38:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771817895; x=1772422695; 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=wFTm/bdzh+Ig7VSLTEtnlKkoqkMIWVaLKnvKK54m4VM=; b=bYmvdns2j6G2tMyTLl7glFjis3sJvGPVPwv4BAQFKKfbrtAARygR3uNVpla8m8C0qG z7iE9oc9W3zsubl8iS3unxjnVjJ3O0V0SiWYT8O93HC4LUWHXU7rMZQ4Z+LbsLkzm9p1 9tIjYemZH5SHxCAOtojvpFbfAOkmC9kuiX4soGIi7ixlyzJxAOa4XEiRds06pf2LWNuk 81NzkFGAqS3Ga+xxebb58YKyiw4S4Y9nWeZi/ChpUrbMC+TJdSl0obxVaBLrcW9z5m0w xrVW7aC5ijOMBeRVqqs4xVvlvr4moT5uXdjl9megUFYswDUgjaHZlq+kt8QDjRAfg1Dx H3Qg== X-Gm-Message-State: AOJu0YzAp4eyuRo5aySFyrcC3enpNFtfTpqtQtpfxUsoXNYbiKWOdB5X cQgSDMT6ZsePNnpA2tpe9FVWTrBSqkXAQPX2QDYM5vEIk9tXrqJIOHPo5DpbxZv7BYIU/poolqM H3Ijb/a1PrmQS/ty/PXnFUw2DboxvdjZgsorqv7snLrGbuj6ozhq5Jof1D2M= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a4a:edc9:0:b0:662:fda3:5547 with SMTP id 006d021491bc7-679c4278d43mr4119625eaf.23.1771817895044; Sun, 22 Feb 2026 19:38:15 -0800 (PST) Date: Sun, 22 Feb 2026 19:38:15 -0800 In-Reply-To: <66fdfef3.050a0220.9ec68.0031.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <699bcba7.050a0220.340abe.0d35.GAE@google.com> Subject: Forwarded: Syzbot test for v2: ocfs2: clear lock identity upon inode eviction From: syzbot To: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org. *** Subject: Syzbot test for v2: ocfs2: clear lock identity upon inode eviction Author: activprithvi@gmail.com #syz test: upstream c22e26bd0906e9c8325462993f01adb16b8ea2c0 Signed-off-by: Prithvi Tambewagh --- fs/ocfs2/aops.c | 5 +++++ fs/ocfs2/inode.c | 1 + 2 files changed, 6 insertions(+) diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 586e3b74d782..d706ebd95260 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c @@ -2420,6 +2420,11 @@ static ssize_t ocfs2_direct_IO(struct kiocb *iocb, s= truct iov_iter *iter) struct inode *inode =3D file->f_mapping->host; struct ocfs2_super *osb =3D OCFS2_SB(inode->i_sb); get_block_t *get_block; + if (IS_NOQUOTA(inode)) { + mlog(ML_ERROR, "Direct IO is not allowed for Quota inode %lu\n", + inode->i_ino); + return -ENOTSUP; + } =20 /* * Fallback to buffered I/O if we see an inode without diff --git a/fs/ocfs2/inode.c b/fs/ocfs2/inode.c index fcc89856ab95..e5d932914b70 100644 --- a/fs/ocfs2/inode.c +++ b/fs/ocfs2/inode.c @@ -1266,6 +1266,7 @@ static void ocfs2_clear_inode(struct inode *inode) "Clear inode of %llu, alloc_sem is locked\n", (unsigned long long)oi->ip_blkno); up_write(&oi->ip_alloc_sem); + init_rwsem(&oi->ip_alloc_sem); =20 mlog_bug_on_msg(oi->ip_open_count, "Clear inode of %llu has open count %d\n", --=20 2.34.1