CVE-2021-46923

published 27 Feb 2024 · updated 11 May 2026

fs/mount_setattr: always cleanup mount_kattr

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 012e332286e2bb9f6ac77d195f17e74b2963d663 and Kernel 47b5d0a7532d39e42a938f81e3904268145c341d.

In the Linux kernel, the following vulnerability has been resolved: fs/mount_setattr: always cleanup mount_kattr Make sure that finish_mount_kattr() is called after mount_kattr 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 mount_kattr when an idmapped mount was requested.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, >=9caccd41541a6f7d6279928d9f971f6642c361af <012e332286e2bb9f6ac77d195f17e74b2963d663, >=9caccd41541a6f7d6279928d9f971f6642c361af <47b5d0a7532d39e42a938f81e3904268145c341d012e332286e2bb9f6ac77d195f17e74b2963d663, 47b5d0a7532d39e42a938f81e3904268145c341d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-46923 severity on Zeptric[![CVE-2021-46923](https://zeptric.io/badge/cve/CVE-2021-46923.svg)](https://zeptric.io/cve/CVE-2021-46923)