{"api_version":"1","generated_at":"2026-08-23T10:39:14+00:00","cve":"CVE-2026-74595","urls":{"html":"https://cve.report/CVE-2026-74595","api":"https://cve.report/api/cve/CVE-2026-74595.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74595","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74595"},"summary":{"title":"fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-22 16:16:31","updated_at":"2026-08-22 16:16:31"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/6a67c460b12315033268dce597546984fe5739e7","name":"https://git.kernel.org/stable/c/6a67c460b12315033268dce597546984fe5739e7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/33b7e810ce09955aa02f3b632455cf5e7ac990a9","name":"https://git.kernel.org/stable/c/33b7e810ce09955aa02f3b632455cf5e7ac990a9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/98516ba8b817f34e86bdd7a5b7a383cff75c3ddf","name":"https://git.kernel.org/stable/c/98516ba8b817f34e86bdd7a5b7a383cff75c3ddf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cf6c993c0feca7984797e634deba3c80342e199a","name":"https://git.kernel.org/stable/c/cf6c993c0feca7984797e634deba3c80342e199a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/653e888a24c87b8bbeab44d7e558a1c1a3641088","name":"https://git.kernel.org/stable/c/653e888a24c87b8bbeab44d7e558a1c1a3641088","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74595","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74595","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 14f3db5542e62bcf6fe088a09760ac52d55306c5 33b7e810ce09955aa02f3b632455cf5e7ac990a9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 14f3db5542e62bcf6fe088a09760ac52d55306c5 6a67c460b12315033268dce597546984fe5739e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 14f3db5542e62bcf6fe088a09760ac52d55306c5 653e888a24c87b8bbeab44d7e558a1c1a3641088 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 14f3db5542e62bcf6fe088a09760ac52d55306c5 98516ba8b817f34e86bdd7a5b7a383cff75c3ddf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 14f3db5542e62bcf6fe088a09760ac52d55306c5 cf6c993c0feca7984797e634deba3c80342e199a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.152 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.104 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.45 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.9 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/crypto/policy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"33b7e810ce09955aa02f3b632455cf5e7ac990a9","status":"affected","version":"14f3db5542e62bcf6fe088a09760ac52d55306c5","versionType":"git"},{"lessThan":"6a67c460b12315033268dce597546984fe5739e7","status":"affected","version":"14f3db5542e62bcf6fe088a09760ac52d55306c5","versionType":"git"},{"lessThan":"653e888a24c87b8bbeab44d7e558a1c1a3641088","status":"affected","version":"14f3db5542e62bcf6fe088a09760ac52d55306c5","versionType":"git"},{"lessThan":"98516ba8b817f34e86bdd7a5b7a383cff75c3ddf","status":"affected","version":"14f3db5542e62bcf6fe088a09760ac52d55306c5","versionType":"git"},{"lessThan":"cf6c993c0feca7984797e634deba3c80342e199a","status":"affected","version":"14f3db5542e62bcf6fe088a09760ac52d55306c5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/crypto/policy.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.12"},{"lessThan":"5.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.152","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.104","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.45","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.152","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.104","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.45","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.9","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"5.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-08-22T15:31:45.649Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/33b7e810ce09955aa02f3b632455cf5e7ac990a9"},{"url":"https://git.kernel.org/stable/c/6a67c460b12315033268dce597546984fe5739e7"},{"url":"https://git.kernel.org/stable/c/653e888a24c87b8bbeab44d7e558a1c1a3641088"},{"url":"https://git.kernel.org/stable/c/98516ba8b817f34e86bdd7a5b7a383cff75c3ddf"},{"url":"https://git.kernel.org/stable/c/cf6c993c0feca7984797e634deba3c80342e199a"}],"title":"fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74595","datePublished":"2026-08-22T15:31:45.649Z","dateReserved":"2026-08-15T05:44:03.919Z","dateUpdated":"2026-08-22T15:31:45.649Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-22 16:16:31","lastModifiedDate":"2026-08-22 16:16:31","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74595","Ordinal":"1","Title":"fscrypt: use the mount idmap for the owner check in fscrypt_ioct","CVE":"CVE-2026-74595","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74595","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"fscrypt: use the mount idmap for the owner check in fscrypt_ioct"}]}}}