{"id":"CVE-2021-46923","aliases":["CVE-2021-46923"],"related":[],"kind":"vulnerability","state":"published","title":"fs/mount_setattr: always cleanup mount_kattr","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/mount_setattr: always cleanup mount_kattr\n\nMake sure that finish_mount_kattr() is called after mount_kattr was\nsuccesfully built in both the success and failure case to prevent\nleaking any references we took when we built it.  We returned early if\npath lookup failed thereby risking to leak an additional reference we\ntook when building mount_kattr when an idmapped mount was requested.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/mount_setattr: always cleanup mount_kattr\n\nMake sure that finish_mount_kattr() is called after mount_kattr was\nsuccesfully built in both the success and failure case to prevent\nleaking any references we took when we built it.  We returned early if\npath lookup failed thereby risking to leak an additional reference we\ntook when building mount_kattr when an idmapped mount was requested.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs/mount_setattr: limpiar siempre mount_kattr. Asegúrese de que se llame a finish_mount_kattr() después de que mount_kattr se haya compilado con éxito tanto en el caso de éxito como en el de fracaso para evitar que se filtren las referencias que tomamos cuando lo compilamos. Regresamos temprano si falla la búsqueda de ruta, por lo que corremos el riesgo de filtrar una referencia adicional que tomamos al compilar mount_kattr cuando se solicitó un montaje con idmapped.","source":"nvd"}],"published":"2024-02-27T09:43:54.159Z","modified":"2026-06-17T04:15:51.740Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-668"],"affected":[{"ranges":[{"type":"git","introduced":"9caccd41541a6f7d6279928d9f971f6642c361af","fixed":"47b5d0a7532d39e42a938f81e3904268145c341d","status":"affected"},{"type":"git","introduced":"9caccd41541a6f7d6279928d9f971f6642c361af","fixed":"012e332286e2bb9f6ac77d195f17e74b2963d663","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.13","lastAffected":"5.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12.0","fixed":"5.15.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/47b5d0a7532d39e42a938f81e3904268145c341d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/012e332286e2bb9f6ac77d195f17e74b2963d663","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-05T16:15:38.368Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46923","url":"https://www.cve.org/CVERecord?id=CVE-2021-46923","licence":"CVE Terms of Use","modified":"2026-05-11T13:44:30.800Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46923","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46923","licence":"Public domain","modified":"2026-06-17T04:15:51.740Z"}],"updatedAt":"2026-11-25T22:58:08.566Z","epss":{"score":0.00211,"percentile":0.11953,"date":"2026-12-01T12:00:22.000Z"}}