Description
In the Linux kernel, the following vulnerability has been resolved:

fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()

fscrypt_ioctl_set_policy() calls inode_owner_or_capable() with
&nop_mnt_idmap before allowing an encryption policy to be set, instead
of the idmap of the mount the ioctl was issued on.

fscrypt is used by filesystems that support idmapped mounts (e.g. ext4,
f2fs), so on such a mount this compares the caller's fsuid against the
unmapped on-disk owner rather than the mapped owner: the actual owner
can be wrongly denied with -EACCES and an unrelated caller wrongly
allowed. Use file_mnt_idmap(filp) instead.
Published: 2026-08-22
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Authorization Bypass
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel, fscrypt_ioctl_set_policy() performed an owner check using &nop_mnt_idmap instead of the mount’s idmap when setting an encryption policy. This caused the kernel to compare the caller’s fsuid against an unmapped on‑disk owner, which can deny a legitimate owner access and allow an unrelated caller to set the policy. Based on the description, it is inferred that an attacker who can issue the fscrypt ioctl on a filesystem with idmapping enabled could change the encryption policy on files they do not own, potentially altering confidentiality or integrity of encrypted data.

Affected Systems

Affected systems include the Linux kernel in any distribution that uses fscrypt on filesystems supporting id‑mapped mounts such as ext4 and f2fs. No specific version range is provided, so any kernel version prior to the release of the upstream patch may be vulnerable.

Risk and Exploitability

The vulnerability requires local access to invoke the fscrypt ioctl on a mounted filesystem that has encryption and idmapping enabled; no publicly available exploits are known, and the CVE is not listed in the CISA KEV catalog. The CVSS score of 7.8 indicates high severity, while the EPSS score of <1% suggests a low probability of exploitation. If exploited, the flaw would allow unauthorized modification of encryption policies, potentially compromising encrypted data within the affected filesystem.

Generated by OpenCVE AI on August 25, 2026 at 06:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the upstream patch which changes &nop_mnt_idmap to file_mnt_idmap in fscrypt_ioctl_set_policy().
  • If a kernel update cannot be performed immediately, restrict the use of fscrypt ioctl to privileged users by configuring SELinux, AppArmor, or similar controls to deny non‑root processes from modifying encryption policies.
  • Audit and monitor for fscrypt set‑policy syscalls on filesystems with idmapping enabled, and investigate any unexpected or unauthorized policy changes.

Generated by OpenCVE AI on August 25, 2026 at 06:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 25 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Mon, 24 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-269

Mon, 24 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-628
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 23 Aug 2026 13:15:00 +0000


Sat, 22 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-269

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy() fscrypt_ioctl_set_policy() calls inode_owner_or_capable() with &nop_mnt_idmap before allowing an encryption policy to be set, instead of the idmap of the mount the ioctl was issued on. fscrypt is used by filesystems that support idmapped mounts (e.g. ext4, f2fs), so on such a mount this compares the caller's fsuid against the unmapped on-disk owner rather than the mapped owner: the actual owner can be wrongly denied with -EACCES and an unrelated caller wrongly allowed. Use file_mnt_idmap(filp) instead.
Title fscrypt: use the mount idmap for the owner check in fscrypt_ioctl_set_policy()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-25T05:40:22.483Z

Reserved: 2026-08-15T05:44:03.919Z

Link: CVE-2026-74595

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:31.817

Modified: 2026-08-25T06:18:35.173

Link: CVE-2026-74595

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-74595 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T06:30:04Z

Weaknesses
  • CWE-628

    Function Call with Incorrectly Specified Arguments