Re: [syzbot] Re: [syzbot] [net?] [s390?] general protection fault in smc_diag_dump_proto
From: syzbot
Date: Mon Aug 12 2024 - 05:29:03 EST
For archival purposes, forwarding an incoming command email to
linux-kernel@xxxxxxxxxxxxxxx.
***
Subject: Re: [syzbot] [net?] [s390?] general protection fault in smc_diag_dump_proto
Author: lizhi.xu@xxxxxxxxxxxxx
out already closed
#syz test: net-next d7e78951a8b8
diff --git a/fs/splice.c b/fs/splice.c
index 60aed8de21f8..67a5965c0793 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1647,7 +1647,7 @@ SYSCALL_DEFINE6(splice, int, fd_in, loff_t __user *, off_in,
error = -EBADF;
in = fdget(fd_in);
if (in.file) {
- out = fdget(fd_out);
+ out = fdget_raw(fd_out);
if (out.file) {
error = __do_splice(in.file, off_in, out.file, off_out,
len, flags);