In the Linux kernel, the following vulnerability has been resolved:
fs/mountsetattr: always cleanup mountkattr
Make sure that finishmountkattr() is called after mountkattr was succesfully built in both the success and failure case to prevent leaking any references we took when we built it. We returned early if path lookup failed thereby risking to leak an additional reference we took when building mountkattr when an idmapped mount was requested.