In the Linux kernel, the following vulnerability has been resolved: fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()… (CVE-2026-74595)
A vulnerability in the Linux kernel's fscrypt component was resolved involving incorrect owner checks during encryption policy setting. The function fscrypt_ioctl_set_policy() used an incorrect mount idmap for owner verification, potentially causing legitimate owners to be denied access and unrelated callers to be wrongly allowed. This issue affects filesystems supporting idmapped mounts such as ext4 and f2fs. The fix involves using the correct mount idmap associated with the file for the owner check.
AI Analysis
Technical Summary
The Linux kernel vulnerability CVE-2026-74595 concerns the fscrypt_ioctl_set_policy() function in the fscrypt subsystem. This function previously called inode_owner_or_capable() with a fixed mount idmap (&nop_mnt_idmap) rather than the idmap of the mount on which the ioctl was issued. Since fscrypt is used by filesystems supporting idmapped mounts (e.g., ext4, f2fs), this caused the caller's filesystem user ID (fsuid) to be compared against the unmapped on-disk owner instead of the mapped owner. Consequently, the actual owner could be incorrectly denied access (-EACCES), and unrelated callers could be incorrectly allowed to set encryption policies. The vulnerability was resolved by changing the code to use file_mnt_idmap(filp), which correctly references the mount idmap of the file involved in the ioctl call.
Potential Impact
This vulnerability could lead to improper access control enforcement in the fscrypt encryption policy setting process on affected filesystems. Legitimate owners might be denied permission to set encryption policies, while unauthorized users might be granted such permissions. This could affect filesystem security and data protection on systems using idmapped mounts. However, there is no indication of known exploits in the wild.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the mount idmap used in the owner check within fscrypt_ioctl_set_policy(). Users should apply the official kernel updates that include this fix. Since the vulnerability has been resolved, applying the updated kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult the Linux kernel vendor advisory or distribution security notices for the exact fixed versions and update instructions.
In the Linux kernel, the following vulnerability has been resolved: fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()… (CVE-2026-74595)
Description
A vulnerability in the Linux kernel's fscrypt component was resolved involving incorrect owner checks during encryption policy setting. The function fscrypt_ioctl_set_policy() used an incorrect mount idmap for owner verification, potentially causing legitimate owners to be denied access and unrelated callers to be wrongly allowed. This issue affects filesystems supporting idmapped mounts such as ext4 and f2fs. The fix involves using the correct mount idmap associated with the file for the owner check.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-74595 concerns the fscrypt_ioctl_set_policy() function in the fscrypt subsystem. This function previously called inode_owner_or_capable() with a fixed mount idmap (&nop_mnt_idmap) rather than the idmap of the mount on which the ioctl was issued. Since fscrypt is used by filesystems supporting idmapped mounts (e.g., ext4, f2fs), this caused the caller's filesystem user ID (fsuid) to be compared against the unmapped on-disk owner instead of the mapped owner. Consequently, the actual owner could be incorrectly denied access (-EACCES), and unrelated callers could be incorrectly allowed to set encryption policies. The vulnerability was resolved by changing the code to use file_mnt_idmap(filp), which correctly references the mount idmap of the file involved in the ioctl call.
Potential Impact
This vulnerability could lead to improper access control enforcement in the fscrypt encryption policy setting process on affected filesystems. Legitimate owners might be denied permission to set encryption policies, while unauthorized users might be granted such permissions. This could affect filesystem security and data protection on systems using idmapped mounts. However, there is no indication of known exploits in the wild.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the mount idmap used in the owner check within fscrypt_ioctl_set_policy(). Users should apply the official kernel updates that include this fix. Since the vulnerability has been resolved, applying the updated kernel version is the recommended remediation. Patch status is not explicitly confirmed in the provided data; users should consult the Linux kernel vendor advisory or distribution security notices for the exact fixed versions and update instructions.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7jrv-8xmf-x8j2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74595"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f3acd9273b499bc8b6
Added to database: 08/22/2026, 22:51:31 UTC
Last enriched: 08/22/2026, 23:10:23 UTC
Last updated: 08/23/2026, 01:49:38 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.