{"id":"CVE-2026-74595","aliases":["CVE-2026-74595"],"related":[],"kind":"vulnerability","state":"published","title":"fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()\n\nfscrypt_ioctl_set_policy() calls inode_owner_or_capable() with\n&nop_mnt_idmap before allowing an encryption policy to be set, instead\nof the idmap of the mount the ioctl was issued on.\n\nfscrypt is used by filesystems that support idmapped mounts (e.g. ext4,\nf2fs), so on such a mount this compares the caller's fsuid against the\nunmapped on-disk owner rather than the mapped owner: the actual owner\ncan be wrongly denied with -EACCES and an unrelated caller wrongly\nallowed.  Use file_mnt_idmap(filp) instead.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()\n\nfscrypt_ioctl_set_policy() calls inode_owner_or_capable() with\n&nop_mnt_idmap before allowing an encryption policy to be set, instead\nof the idmap of the mount the ioctl was issued on.\n\nfscrypt is used by filesystems that support idmapped mounts (e.g. ext4,\nf2fs), so on such a mount this compares the caller's fsuid against the\nunmapped on-disk owner rather than the mapped owner: the actual owner\ncan be wrongly denied with -EACCES and an unrelated caller wrongly\nallowed.  Use file_mnt_idmap(filp) instead.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nfscrypt: usar el idmap del montaje para la verificación del propietario en fscrypt_ioctl_set_policy()\n\nfscrypt_ioctl_set_policy() llama a inode_owner_or_capable() con &nop_mnt_idmap antes de permitir que se establezca una política de cifrado, en lugar del idmap del montaje en el que se emitió el ioctl.\n\nfscrypt es utilizado por sistemas de archivos que soportan montajes con idmap (p. ej., ext4, f2fs), así, en dicho montaje, esto compara el fsuid del llamador contra el propietario en disco sin mapear en lugar del propietario mapeado: el propietario real puede ser denegado erróneamente con -EACCES y un llamador no relacionado puede ser permitido erróneamente. Usar file_mnt_idmap(filp) en su lugar.","source":"nvd"}],"published":"2026-08-22T15:31:45.649Z","modified":"2026-10-16T20:17:44.917Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"174633a468817a49bd474bcfc9067c84e54efe68","status":"affected"},{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"0baeb730044981f5ec5fb7d62a3763835ea606f6","status":"affected"},{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"33b7e810ce09955aa02f3b632455cf5e7ac990a9","status":"affected"},{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"6a67c460b12315033268dce597546984fe5739e7","status":"affected"},{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"653e888a24c87b8bbeab44d7e558a1c1a3641088","status":"affected"},{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"98516ba8b817f34e86bdd7a5b7a383cff75c3ddf","status":"affected"},{"type":"git","introduced":"14f3db5542e62bcf6fe088a09760ac52d55306c5","fixed":"cf6c993c0feca7984797e634deba3c80342e199a","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.217","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.184","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/174633a468817a49bd474bcfc9067c84e54efe68","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0baeb730044981f5ec5fb7d62a3763835ea606f6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33b7e810ce09955aa02f3b632455cf5e7ac990a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6a67c460b12315033268dce597546984fe5739e7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/653e888a24c87b8bbeab44d7e558a1c1a3641088","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98516ba8b817f34e86bdd7a5b7a383cff75c3ddf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf6c993c0feca7984797e634deba3c80342e199a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:01:44.374Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74595","url":"https://www.cve.org/CVERecord?id=CVE-2026-74595","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:59.849Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74595","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74595","licence":"Public domain","modified":"2026-10-16T20:17:44.917Z"}],"updatedAt":"2026-11-25T22:59:34.888Z","epss":{"score":0.00092,"percentile":0.00534,"date":"2026-12-01T12:00:22.000Z"}}