mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: syzbot <syzbot+1d096d31de6a0491b55e@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Forwarded: [syzbot] [jfs?] [fat?] general protection fault in txEnd
Date: Fri, 27 Mar 2026 18:19:23 -0700	[thread overview]
Message-ID: <69c72c9b.a70a0220.128fd0.000e.GAE@google.com> (raw)
In-Reply-To: <00000000000094982205f0874589@google.com>

For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.

***

Subject: [syzbot] [jfs?] [fat?] general protection fault in txEnd
Author: rafad900@gmail.com

#syz test

diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 60c4a0e0fca5..25b303276b82 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -97,6 +97,10 @@ static int jfs_create(struct mnt_idmap *idmap, struct
inode *dip,
        }

        tid = txBegin(dip->i_sb, 0);
+       if (tid == 0) {
+               jfs_err("jfs_create: unable to create tblk due to read only
filesystem");
+               return -EROFS;
+       }

        mutex_lock_nested(&JFS_IP(dip)->commit_mutex, COMMIT_MUTEX_PARENT);
        mutex_lock_nested(&JFS_IP(ip)->commit_mutex, COMMIT_MUTEX_CHILD);

      parent reply	other threads:[~2026-03-28  1:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 23:37 syzbot
2023-03-30 10:03 ` Aleksandr Nogikh
2026-03-28  1:19 ` syzbot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69c72c9b.a70a0220.128fd0.000e.GAE@google.com \
    --to=syzbot+1d096d31de6a0491b55e@syzkaller.appspotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome