On Tue, 30 Sep 2025 08:35:59 +0800, Li Chen wrote:
loop_change_fd() and loop_configure() call loop_check_backing_file() to validate the new backing file. If validation fails, the reference acquired by fget() was not dropped, leaking a file reference.
Fix this by calling fput(file) before returning the error.
[...]
Applied, thanks!
[1/1] loop: fix backing file reference leak on validation error commit: 98b7bf54338b797e3a11e8178ce0e806060d8fa3
Best regards,