diff --git a/fs/io_uring.c b/fs/io_uring.c index cc3a22d60fb4522e11ba6d65cf2f8c1339efa73b..39a9ff31dbc56cd850f686f949e5df290c10cfd5 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -8845,6 +8845,7 @@ static int __io_sqe_files_scm(struct io_ring_ctx *ctx, int nr, int offset) fput(fpl->fp[i]); } else { kfree_skb(skb); + free_uid(fpl->user); kfree(fpl); }