From: syzbot <syzbot+0b7937459742a0a4cffd@syzkaller.appspotmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [udf?] KASAN: slab-use-after-free Read in udf_free_blocks
Date: Sat, 25 Nov 2023 05:10:38 -0800 [thread overview]
Message-ID: <000000000000922bec060af9cbc2@google.com> (raw)
In-Reply-To: <000000000000d40c3c05fdc05cd1@google.com>
For archival purposes, forwarding an incoming command email to
linux-kernel@vger.kernel.org.
***
Subject: [udf?] KASAN: slab-use-after-free Read in udf_free_blocks
Author: eadavis@qq.com
please test uaf in udf_free_blocks
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 123212f53f3e
diff --git a/fs/open.c b/fs/open.c
index 02dc608d40d8..bc2d1db2fcba 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -1441,11 +1441,11 @@ static long do_sys_openat2(int dfd, const char __user *filename,
if (IS_ERR(f)) {
put_unused_fd(fd);
fd = PTR_ERR(f);
+ putname(tmp);
} else {
fd_install(fd, f);
}
}
- putname(tmp);
return fd;
}
next prev parent reply other threads:[~2023-11-25 13:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-10 6:11 [syzbot] [udf?] KASAN: slab-use-after-free Read in udf_free_blocks syzbot
2023-11-25 11:54 ` syzbot
2023-11-25 13:10 ` syzbot [this message]
2024-03-02 15:19 ` syzbot
2024-03-11 9:25 ` Jan Kara
[not found] <tencent_F60445D778976B46CD3364E3732976A3AE05@qq.com>
2023-11-25 13:39 ` 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=000000000000922bec060af9cbc2@google.com \
--to=syzbot+0b7937459742a0a4cffd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.