CVEvulnerability
CVE-2021-46923
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2024-02-27
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-668
Description
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 configurations
• linux linux kernel (>= 5.12.0 < 5.15.13)
Related
Weakness · CWE (1)
- CWE-668 Exposure of Resource to Wrong Sphere weakness
References
- https://git.kernel.org/stable/c/012e332286e2bb9f6ac77d195f17e74b2963d663 Patch
- https://git.kernel.org/stable/c/47b5d0a7532d39e42a938f81e3904268145c341d Patch
- https://git.kernel.org/stable/c/012e332286e2bb9f6ac77d195f17e74b2963d663 Patch
- https://git.kernel.org/stable/c/47b5d0a7532d39e42a938f81e3904268145c341d Patch