[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1097140732.33089.1739952516920@app132146.ycg201.service-now.com>
Date: Wed, 19 Feb 2025 00:08:36 -0800 (PST)
From: Red Hat Product Security <secalert@...hat.com>
To: syzkaller@...glegroups.com, liujingfeng@...nxin.com, shaggy@...nel.org,
rkeshri@...hat.com, security@...nel.org,
jfs-discussion@...ts.sourceforge.net, linux-kernel@...r.kernel.org
Subject: Re: FW: GPF and null-ptr-deref caused by uninitialization of jfs
module(INC3342348)
Hello!
INC3389413 (FW: GPF and null-ptr-deref caused by uninitialization of jfs module(INC3342348)) has been updated.
Opened for: liujingfeng@...nxin.com
Followers: security@...nel.org, shaggy@...nel.org, jfs-discussion@...ts.sourceforge.net, linux-kernel@...r.kernel.org, Rohit Keshri, syzkaller@...glegroups.com
A Guest updated your request with the following comments:
Reply from: liujingfeng@...nxin.com [mailto:liujingfeng@...nxin.com]
> On Mon, Feb 10, 2025 at 10:09:54AM +0800, 柳菁峰 wrote:
> > Hello,Here is forward INC3342348 origin message
> >
> > I hope to receive updated response regarding this issue.
>
> We have no lack of syzbot reported issues, what we do have is a lack of people
> fixing them, so patches are always welcome, especially as you already have a
> working reproducer for the problem to test against.
>
> thanks,
>
> greg k-h
Hello,I try to do it.
TxBegin returns 0 because the file system is read-only, and TxBlock [tid=0] is a reserved block, so I tried to perform a read-only file system check in the jfs_create function. This should prevent crashes, but I'm not sure if it affects the original logic. I hope developers can help check this patch.
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index d68a4e6ac345..4b6d85d47c3a 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -77,6 +77,10 @@ static int jfs_create(struct mnt_idmap *idmap, struct inoded,
if (rc)
goto out1;
+ if (isReadOnly(dip)){
+ rc=-EROFS;
+ goto out1;
+ }
/*
* search parent directory for entry/freespace
* (dtSearch() returns parent directory page pinned)
How can I track and update my request?
To respond, reply to this email. You may also create a new email and include the request number (INC3389413) in the subject.
Thank you,
Product Security
Ref:MSG101796497
Content of type "text/html" skipped
Powered by blists - more mailing lists