From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+ec9fab8b7f0386b98a17@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [overlayfs?] WARNING in shmem_unlink
Date: Sat, 16 Aug 2025 13:42:07 +0800 [thread overview]
Message-ID: <20250816054208.4763-1-hdanton@sina.com> (raw)
In-Reply-To: <689ff631.050a0220.e29e5.0033.GAE@google.com>
> Date: Fri, 15 Aug 2025 20:08:33 -0700 [thread overview]
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 0cc53520e68b Merge tag 'probes-fixes-v6.17-rc1' of git://g..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=14a003a2580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=13f39c6a0380a209
> dashboard link: https://syzkaller.appspot.com/bug?extid=ec9fab8b7f0386b98a17
> compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1387bc34580000
#syz test
--- x/fs/overlayfs/super.c
+++ y/fs/overlayfs/super.c
@@ -695,7 +695,7 @@ static int ovl_make_workdir(struct super
tmpfile = ovl_do_tmpfile(ofs, ofs->workdir, S_IFREG | 0);
ofs->tmpfile = !IS_ERR(tmpfile);
if (ofs->tmpfile)
- fput(tmpfile);
+ ;
else
pr_warn("upper fs does not support tmpfile.\n");
@@ -790,6 +790,8 @@ static int ovl_make_workdir(struct super
}
out:
mnt_drop_write(mnt);
+ if (ofs->tmpfile)
+ fput(tmpfile);
return err;
}
--
next prev parent reply other threads:[~2025-08-16 5:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-16 3:08 syzbot
2025-08-16 5:42 ` Hillf Danton [this message]
2025-08-16 6:20 ` syzbot
2025-08-17 19:52 ` Amir Goldstein
2025-08-18 0:33 ` NeilBrown
2025-08-18 9:17 ` Hillf Danton
2025-08-18 9:47 ` syzbot
2025-08-18 11:16 ` Amir Goldstein
2025-08-18 21:35 ` NeilBrown
2025-08-27 18:23 ` Amir Goldstein
2025-08-27 18:48 ` syzbot
2025-08-17 19:52 ` Forwarded: syzbot
[not found] <CAMV7Lq7rBzOwpyRZjjs9UkXFbfgw_YPX_RvN1gx0rwn0+e=V7A@mail.gmail.com>
2025-08-17 19:59 ` [syzbot] [overlayfs?] WARNING in shmem_unlink syzbot
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=20250816054208.4763-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+ec9fab8b7f0386b98a17@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/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
all inboxes | Powered by JetHome®