In the Linux kernel, the following vulnerability has been resolved:
io_uring: abort file assignment prior to assigning creds
We need to either restore creds properly if we fail on the file assignment, or just do the file assignment first instead. Let's do the latter as it's simpler, should make no difference here for file assignment.