* Syzbot test for v2: io_uring: fix filename leak in __io_openat_prep()
[not found] <694bcb49.050a0220.35954c.001a.GAE@google.com>
@ 2025-12-25 6:34 ` Prithvi Tambewagh
2025-12-25 7:03 ` [syzbot] [fs?] memory leak in getname_flags syzbot
0 siblings, 1 reply; 2+ messages in thread
From: Prithvi Tambewagh @ 2025-12-25 6:34 UTC (permalink / raw)
To: syzbot+00e61c43eb5e4740438f, axboe, brauner, jack, viro
Cc: io-uring, linux-fsdevel, linux-kernel, syzkaller-bugs,
Prithvi Tambewagh
#syz test git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b927546677c876e26eba308550207c2ddf812a43
Signed-off-by: Prithvi Tambewagh <activprithvi@gmail.com>
---
io_uring/openclose.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/io_uring/openclose.c b/io_uring/openclose.c
index bfeb91b31bba..15dde9bd6ff6 100644
--- a/io_uring/openclose.c
+++ b/io_uring/openclose.c
@@ -73,13 +73,13 @@ static int __io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe
open->filename = NULL;
return ret;
}
+ req->flags |= REQ_F_NEED_CLEANUP;
open->file_slot = READ_ONCE(sqe->file_index);
if (open->file_slot && (open->how.flags & O_CLOEXEC))
return -EINVAL;
open->nofile = rlimit(RLIMIT_NOFILE);
- req->flags |= REQ_F_NEED_CLEANUP;
if (io_openat_force_async(open))
req->flags |= REQ_F_FORCE_ASYNC;
return 0;
base-commit: b927546677c876e26eba308550207c2ddf812a43
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [syzbot] [fs?] memory leak in getname_flags
2025-12-25 6:34 ` Syzbot test for v2: io_uring: fix filename leak in __io_openat_prep() Prithvi Tambewagh
@ 2025-12-25 7:03 ` syzbot
0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2025-12-25 7:03 UTC (permalink / raw)
To: activprithvi, axboe, brauner, io-uring, jack, linux-fsdevel,
linux-kernel, syzkaller-bugs, viro
Hello,
syzbot has tested the proposed patch and the reproducer did not trigger any issue:
Reported-by: syzbot+00e61c43eb5e4740438f@syzkaller.appspotmail.com
Tested-by: syzbot+00e61c43eb5e4740438f@syzkaller.appspotmail.com
Tested on:
commit: b9275466 Merge tag 'dma-mapping-6.19-2025-12-22' of gi..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=17332bb4580000
kernel config: https://syzkaller.appspot.com/x/.config?x=d60836e327fd6756
dashboard link: https://syzkaller.appspot.com/bug?extid=00e61c43eb5e4740438f
compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=1640c8fc580000
Note: testing is done by a robot and is best-effort only.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-25 7:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <694bcb49.050a0220.35954c.001a.GAE@google.com>
2025-12-25 6:34 ` Syzbot test for v2: io_uring: fix filename leak in __io_openat_prep() Prithvi Tambewagh
2025-12-25 7:03 ` [syzbot] [fs?] memory leak in getname_flags syzbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox