From nobody Fri Apr 17 07:44:08 2026 Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (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 58F4417BA2 for ; Mon, 23 Feb 2026 04:31:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.69 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771821090; cv=none; b=n6P4pikuAlVYRCKDgwgy6XkSjk1GQxZEzWQKe22vh7iIx65nvua5Lof0HL9pt8G3X9HrPlVi0QnB40KUp56OaPQpBHnayaldoTrTbARGlnKasNo+ixgn0vNywtlfDfRk2acrYEvEgPfMLAmMkQI8u9pNqmVhzx3WHKrRduBZpdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771821090; c=relaxed/simple; bh=lKoVuzFBumn1Sbhr3bROYE3OqrukkhvWM/Icu4Z/d3k=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=tTS/TlnfmF67nCzgoSC5r8z11lg3btM99z6Ce3lJ6QVpCGzKxNmWLlBu+DR84FrOvn671K+0QvHO4XYP5F53FUFMMrVA7NpYq162kKjzEjsocsd3niz6LN/L5t7+8Atr+TgLjYGhRAK+wpK2fvzOkp/h2H4q4YrAGJwC0K9Zu1c= 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.161.69 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-oo1-f69.google.com with SMTP id 006d021491bc7-679c5fde4c7so30813632eaf.0 for ; Sun, 22 Feb 2026 20:31:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771821088; x=1772425888; 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=+WMTMxSJXMlphutiKXNdB0oUKNzRbQWssincr5izP2A=; b=LqAVon0aPZiH+ATl1Enm7L9TWsLoTp8febhbly2v137+7seMCr5FUcFCtxIfeLUKQV T+F4WWBf2x/epO1ZWfsSHSv8WWdE3o/o8RwvGhXfWcGNV+iQGh5WeBger30j6OWg0jFF k9UDs09iRnmOOV3Xw4MNwGN1pzNwqJ84O3b64bR1YDp4aBGC4B0nJL8d0shipdWEJ3VU CyVn/pJ+7bIFnzLXtoDucofWBzavK+LFH7heAtBLHkyhqIyiJz1YC0npJyO1y8soC9FV ATL0RzzOiwJluuNQtapIRLVbdX8VEM2ixQulFJA1Gwys6uOyeEGvihZvEl5eSslOJs1J wKNg== X-Gm-Message-State: AOJu0Yw+YBX/EhY96+MzSpGtQ+L4XSCO2ihlsWFkaKVXmEe6mRnAT3Dd FmW5mX3hZ7bWzbMaPGCzZjCk+bivnTyffVe0xHWE1ktxc9fAUMVb5yMFroovtexYTalqRHbA9QX vUFbw8eoEtG/dK4cm0/2XMIWlzLOQrE9PGrs74KMO1G/mbt4/QFjRSg5YPxk= 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:6820:1c96:b0:674:911:98fa with SMTP id 006d021491bc7-679c45176b4mr4297175eaf.64.1771821088329; Sun, 22 Feb 2026 20:31:28 -0800 (PST) Date: Sun, 22 Feb 2026 20:31:28 -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: <699bd820.a70a0220.2c38d7.018f.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: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git= 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..54261d7c14fa 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 -EPERM; + } =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